How is the OR (||) logical operator used?
PLS HURRY

Answers

Answer 1

Answer:

The answer is below

Explanation:

A logical operator is a symbol or word used to connect two or more expressions such that the value of the compound expression produced depends only on that of the original expressions and on the meaning of the operator. Common logical operators include AND, OR, and NOT.


Related Questions

Which line of code converts 3 to 3.0?

int(3)

type(3)

float(3)

single(3)

Answers

Answer:

float

Explanation:

what is the most popular monitor​

Answers

Probably a television or a radio I guess

does anyone know what's wrong with this code

Answers

hmmm- I don’t see anything right now, I’m at the end of a semester in Computer technology.

You are working on a ticketing system. A ticket costs $10. The office is running a discount campaign: each group of 5 people is getting a discount, which is determined by the age of the youngest person in the group. You need to create a program that takes the ages of all 5 people as input and outputs the total price of the tickets. Sample input: 55 28 15 38 63 sample output: 42.5 the youngest age is 15, so the group gets a 15% discount from the total price, which is $50 - 15% = $42.5

Answers

Answer:

Explanation:

The following program is written in Java. It takes 5 inputs of int values for the ages of each member in the group. Then it loops through all of the ages and chooses the youngest age. Finally, it applies that age as a discount to the final price which would be $50, outputting the final discounted price. The output for the test case provided can be seen in the attached picture below in red.

import java.util.Scanner;

class Brainly

{

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       int[] person = new int[5];

       System.out.println("Enter age of individual 1: ");

       person[0] = in.nextInt();

       System.out.println("Enter age of individual 2: ");

       person[1] = in.nextInt();

       System.out.println("Enter age of individual 3: ");

       person[2] = in.nextInt();

       System.out.println("Enter age of individual 4: ");

       person[3] = in.nextInt();

       System.out.println("Enter age of individual 5: ");

       person[4] = in.nextInt();

       int youngest = person[0];

       for (int x = 0; x < person.length; x++) {

           if (person[x] < youngest) {

               youngest = person[x];

           }

       }

       double discount = 1 - (((double)youngest) / 100);

       double output = 50 * discount;

       System.out.println("Total Price: " + output + " the youngest is " + youngest);

   }

}

You are adding a new rack to your data center, which will house two new blade servers and a new switch. The new servers will be used for file storage and a database server. The only space you have available in the data center is on the opposite side of the room from your existing rack, which already houses several servers, a switch, and a router. You plan to configure a trunk port on each switch and connect them with a cross-over UTP plenum cable that will run through the suspended tile ceiling of the data center. To provide power for the new devices, you had an electrician install several new 20-amp wall outlets near the new rack. Each device in the rack will be plugged directly into one of these new wall outlets. What is wrong with this configuration

Answers

Answer: • You should implement a UPS between the wall outlet and the network devices.

• You should implement redundant power supplies for the network devices.

Explanation:

Based in the information given in the question, the options that explain things wrong in the configuration is that:

• You should implement a UPS between the wall outlet and the network devices.

• You should implement redundant power supplies for the network devices.

technically a coding question utilizing python how would one calculate a square root

Answers

Answer:

import math

math.sqrt( x )

Explanation:

The basic code that can be written to calculate the square root of a number is as follows

import math

math.sqrt( x )

windows operating system memory management??​

Answers

Memory management is the functionality of an operating system which handles or manages primary memory and moves processes back and forth between main memory and disk during execution. Memory management keeps track of each and every memory location, regardless of either it is allocated to some process or it is free.Answer:

1. Which of the following commands allows the user to move objects around a basepoint?
Rotate
Fillet
Stretch
Extend

Answers

Answer:

Rotate

Explanation:

It seems that we are talking about AutoCAD software in this question. Normally to move an object you would use the Move command which allows you to move the object normally. However, since in the question we are talking about moving the object "around" a basepoint this would be the Rotate command. This is simply because it simply allows you to select the basepoint and move the object only in a 360 degrees rotation around the basepoint itself, where the basepoint acts as the center point.

What would be the result after the following code is executed? int[] numbers = {40, 3, 5, 7, 8, 12, 10}; int value = numbers[0]; for (int i = 1; i < numbers.length; i++) { if (numbers[i] < value) value = numbers[i]; } The value variable will contain the highest value in the numbers array. The value variable will contain the sum of all the values in the numbers array. The value variable will contain the average of all the values in the numbers array. The value variable will contain the lowest value in the numbers array.

Answers

Answer:

The value variable will contain the lowest value in the numbers array.

Explanation:

Given

The given code segment

Required

The result of the code when executed

The illustration of the code is to determine the smallest of the array.

This is shown below

First, the value variable is initialized to the first index element

int value = numbers[0];

This iterates through the elements of the array starting from the second

 for (int i = 1; i < numbers.length; i++) {

This checks if current element is less than value.

     if (numbers[i] < value)

If yes, value is set to numbers[i]; which is smaller than value

value = numbers[i];

Hence, the end result will save the smallest in value

Why is special code needed for <?

Answers

The guy above is right!!!

Your program has a loop where a user guesses a letter.

Your program compares the guess to each letter in the word.

Finish the code.

for n in range(lenWord):
if _______ == letter:
blanks = blanks[:n] + letter + blanks[n+1:]


correct[n]


correct


correct(n)

Answers

Answer:

its correct[n]

Explanation:

for n in range(lenWord):

if correct[n] == letter:

blanks = blanks[:n] + letter + blanks[n+1:]

A loop in a computer program is an teaching that repeats until a specified condition is reached.

In a loop structure, the loop asks a question. If the answer needs action, it is executed. The same question is asked  again until no other action is required.

What are loops used for in programming?

A Loop is employed to repeat a specific block of code a over and over. There are two main types of loops, for loops and while loops.

What are the 3 types of loops in programming?

In Java, there are three kinds of loops which are – the for loop, the while loop, and the do-while loop. All these three loop constructs of Java executes a set of replicated statements as long as a specified condition stays true.

To learn more about A loop, refer

https://brainly.com/question/26568485

#SPJ2

what is faster C++ or go lang

Answers

Answer:

C++

Explanation:

select the correct answer
which sentence correctly describes a low-level language?
A. programs are written in source code
B. programs are written in hexadecimal or binary code
C. programs are translated to machine code by a complier
D. programs can be easily written and debugged

Answers

A  low-level language are known to be programs that can be easily written and debugged.

What are program written in a low level language?

A low-level programming language is known to be a kind of  programming language that helps one to have some amount or no abstraction from a computer's instruction defined architecture.

They are known as commands or functions in the language map that are said to be structurally almost the same to processor's instructions. They are easy to write and also debug.

Learn more about  low level language from

https://brainly.com/question/23275071

In database software, which option is the most appropriate menu choice or command to use if you want to change the format of the date
from January 1, 2020 to 01/01/2020?
Print Preview
Mail Merge
New Record
Add/Modify Fields

Answers

Answer:

I think it's d

Explanation:

             

What is fish processing?

Answers

Fish processing involves preparing fish and seafood for delivery to consumers. Once fish is harvested, it must undergo several steps before it’s ready to be sold in the market. The process includes gutting, filleting and packaging of the product. Fish is a highly perishable food, so it must be carefully handled from the moment it’s caught until it’s sealed in packaging material

Which one of the following is not a preset Auto Fill option?
A. dates
B. Months
C. Colors
D. Days

Answers

Answer:

Colors is not a preset Auto Fill option.

Answer:

C. Colors

Explanation:

Hope this helps :)

Match the network topology to its description. 1. bus data is certain to reach its destination 2. mesh no danger of data collision with this topology 3. ring limited expansion capability 4. star nodes are connected to a central hub

Answers

Answer:

3,1,2

Explanation:

What is climate and how is it formed? What can cause climate change.

Answers

Answer: Climate is the weather and conditions over time (at least a year).

The things that start climate change are burning fossil fuels and tearing down forests to start construction.

Answer:

climate can be defined as weather.

Kevin is scanning old images from his college library. He might use these scanned images in the college magazine. He might also use them on the college website. What is the best practice for Kevin to follow when scanning the images?
A.
scan the images with 72 DPI
B.
scan only the images that are ideal for a website
C.
scan the images with 150 DPI
D.
scan the images with 600 DPI
E.
scan the images that are ideal for a magazine

Answers

Answer: D. Scan the images with 600 DPI

Explanation:

Answer: D. Scan the images with 600 DPI

Explanation: Correct for Plato/Edmentum

Determina la cilindrada total Vt en un motor de 4 cilindres de 83,6 mm de diàmetre per 91 mm de cursa.

Answers

Answer:

La cilindrada total del motor es de 1997,025 centímetros cúbicos.

Explanation:

Para determinar la cilindrada total Vt en un motor de 4 cilindros de 83,6 mm de diámetro por 91 mm de carrera se debe realizar el siguiente cálculo, sabiendo que para calcular la cilindrada de un motor se debe utilizar la fórmula ((Pi x Diámetro^2)/4) x Carrera x Número de cilindros = X:

((3.14 x 83.6^2)/4) x 91 x 4 = X

((3.14 x 6,988.96)/4) x 364 = X

(21,945.3344 / 4) x 364 = X

5,486.3336 x 364 = X

1,997,025.4304 = X

1 milímetro cúbico = 0.001 centímetro cúbico

1,997,025.4304 milímetros cúbicos = 1997.0254304000005 centímetros cúbicos

Por lo tanto, la cilindrada total del motor es de 1997,025 centímetros cúbicos.

what's wrong with this python code i don't know what's wrong with both of them

Answers

Answer:

Keep it in the format

first one:

def swapping_stars():

   line_str = ""

   for line in range(6, 8):

       for char in range(0, 6):

           if line % 2 == char % 2:

               line_str = line_str + "*"

           else:

               line_str = line_str + "-"

           print(str(line_str))

swapping_stars()

second one:

if you want it to go:

23456

def print_numbers(list):

   for i in range(1, len(list)):

       print(str(list[i]))

num_list = [1, 2, 3, 4, 5, 6]

print_numbers(num_list)

if you want it to go

123456

def print_numbers(list):

   doneONE = False

   for i in range(1, len(list)):

       if not doneONE:

           print(str(list[i] - 1))

           doneONE = True

       print(str(list[i]))

num_list = [1, 2, 3, 4, 5, 6]

print_numbers(num_list)

Explanation:

which feature of project management includes monetary compensation for the employees

Answers

Answer:

Extrinsic compensation

Explanation:

The feature of project management that includes monetary compensation for employees is the Extrinsic compensation.

Extrinsic compensation is reward ( tangible ) given to workers/employees by the management of a project for the speedy completion of a task or for the completion of a specific task . It can in the form of monetary compensation or non-monetary compensation.

example of Non-monetary compensation includes certificate of honor, medical insurance .

example of monetary compensation includes : work Bonuses , salaries

what os the full form of cpu​

Answers

Answer:

central processing unit

Central processing unit

I’ll mark brainliest if correct

Select the correct answer.
Derek works in the software quality assurance department. Which tools or process should Derek use to monitor and measure changes?

A.software engineering process

B.software quality metrics

C. SQA audits

D.reviews

Answers

Answer:

A.

Explanation:

Have a Nice Day

Answer:

answer: software quality metrics

Need answer ASAP!!!!!

Select the correct answer.
What stage of software development incorporates planning to help make changes in the project plan based on reviews?
OA.project startup
OB. proposal stage
OC. periodic checks
OD. product delivery

Answers

Answer:

Option C

Explanation:

Periodic check are similar to period inspection done by a team comprising of software developers who check the flow and output of the core during the different stages of software development.  

The team also do the auditing to check whether the work products meet the different client requirement and thus revise the project plans.

Hence, option C is correct

what are the outputs of these please help

Answers

Answer:

monkey know monkey not tell

Explanation:

Answer:

it will ask for a number.

if that number < or = to 0

then

it will add three to that number.

if that is not true

and that number > 0 and that number < 5

than

it will add one to that number.

if none of those are true

than

it will subtract 5 to that number.

Explanation:

Which of these is a discipline?

software manager

customer service specialist

help desk technician

software engineering

Answers

Answer:

Option D

Explanation:

Discipline here refers to any educational course in which a person studies.

software manager , customer service specialist  and help desk technician are basically the job designations and not discipline in which one can pursue study.

However, software engineering is a discipline as one can educate himself/herself in this discipline and become a software engineer.

Hence, option D is correct

subscribe to twomad or you are cringe for the rest of your life kid

Answers

Answer:

What if I don't want to?..........

(50 POINTS) A folder has been shared with other users and set to read-only. What does this mean for users?
Users can only read the name of the shared folder.
Users cannot add new folders or files.
Users can read and edit files.
Users can add new files but not new folders.

Answers

i believe it would be “users cannot add new folders or files” i think they can only read what’s in the folder.

Answer:

B

Explanation:

Write Java code that creates an array of n integers myArray, by taking n integers from the user with duplications, and do the following:
1- Print the elements of myArray,
2- Calculate the sum and the mean of myArray elements,
3- Copy the values of myArray to an array list named myArrayList, the array list must contain the elements of myArray without duplication,
4- Calculate the sum and the mean of myArrayList elem

Answers

Answer:

this should be what you need

Explanation:

import java.util.*;

public class ABC{

 public static void main(String[] args) {

   int n;

   //create scanner object

   Scanner sc = new Scanner(System.in);

   //ask for size of array

   System.out.print("Enter the size of array (n): ");

   //read the input

   n = sc.nextInt();

   //create an array of n length

   int [] myArray = new int[n];

   //ask user for array elements

   System.out.printf("Enter %d integers: ", n);

   //read array elements

   for(int i =0 ;i <5; i++)

     myArray[i] = sc.nextInt();

   

   //print the elements if myArray

   System.out.print("1 - The values of myArray are: [");

   for(int i =0 ; i < n; i++){

     System.out.print(myArray[i]);

     if(i < n-1)

       System.out.print(", ");

   }

   System.out.print("]\n");

   //calculate mean and sum of myArray elements

   int sum = 0;

   double mean = 0;

   for(int i = 0; i < n; i++)

     sum += myArray[i];

   

   mean = (sum*1.0)/n;

   //print the sum and mean of myArray

   System.out.printf("2 - The sum is: %d. The mean is: %.1f\n", sum, mean);

     

   //create an arraylist

   ArrayList<Integer> myArrayList = new ArrayList<Integer>();

   //copy the value of myArray to an arraylist without duplicates

   for(int i = 0; i < n; i++){

     if(!myArrayList.contains(myArray[i]))

       myArrayList.add(myArray[i]);

   }

   sum = 0; mean = 0;

   //display the values of myArrayList

   System.out.print("3 - The values of myArrayList are: [");

   for(int i =0 ; i < myArrayList.size(); i++){

     System.out.print(myArrayList.get(i));

     if(i < myArrayList.size()-1)

       System.out.print(", ");

   }

   System.out.print("]\n");

   //calculate sum and mean of myArrayList elements

   for(int i = 0; i < myArrayList.size(); i++)

     sum += myArrayList.get(i);

   mean = (sum*1.0)/myArrayList.size();

   //print the sum and mean of myArrayList

   System.out.printf("4 - The sum is: %d. The mean is: %.2f\n", sum, mean);

 }

}

Other Questions
Solve for x, rounding to the nearest hundredth.98: 10588HELP YA SISTER OUT PLS!!!! Which statement best describes covalent bonding?A. two nonmetal atoms share electrons between themB. many atoms give up electrons that can move among the atomsC. two metal atoms share electrons between them D. a metal atom transfers electrons to a nonmetal atom Which statement is true about the factorization of 30x2 + 40xy + 51y2?O The polynomial can be rewritten after factoring as 10(3x2 + 4xy + 5y2).O The polynomial can be rewritten as the product of a trinomial and xy.The greatest common factor of the polynomial is 51x?y2.The greatest common factor of the terms is 1. Henry takes out a $20,250 student loan to pay for college tuition this year. The interest rate he pays is 6% for 15 years. How much interest will he owe? Thom Georges wants to open a store where he sells nothing but antique architectural features that he can salvage from old houses being torn down to make way for progress. He has an eye for the kind of doors, windows, mantels, and so forth that decorators want, but he does not have all the funding he needs to get started. He has invited his parents to invest $40,000 in the enterprise. He has told them that if they do invest, they would have liabilities in the firm equal to but no greater than their investment. Georges is trying to get them to form a _____ with him. What is the volume of this triangular right prism ? Whats the correct answer please Please answer quickly. I need help bad The equation y-3=-2(x+1) represents a line. Which best describes the line?A. slope: 4, passes through (1, -2)B. slope: -2, passes through (-1,3)C. slope 2, passes through (-3, 1)D. slope 4. passes through (2, -1) Need help!! please/Thank you Differentiate between: Species diversity and ecosystem diversity Finally over, how days did the Battle of Gettysburg last?4 days3 days1 day2 days What do you think might happen in your community if nobody chose to perform volunteer activity for the community? What activities would be curtailed? How would it affect the people in your town? "My father and mother ate too much at our family reunion."SimpleCompoundComplex"Fiona became interested in long-distance running several years ago; in fact, she ranin the New York Marathon last year."SimpleCompoundComplex What feature means the Earth wire will take current away from the case reducing the chance of accidental electrocution?A:A high resistanceB:A fuse connected to itC:A very low resistanceD:Stops the flow of the current Parties to an administrative hearing may subpoena witnesses if they choose not to testify willingly.TrueFalse Will give brainliest... Why does a population not level off during the same year it reaches zero population growth? Reread the paragraphs on pages 1 and 2. click or tap the two underlined sentences on these pages that best support the inference that salim disagrees with khalils ideas about what to serve the new families A car with a mass of 1580 kg moves with a kinetic energy of 711,000 J. What is the car's speed? can you please help me? How does the court decide which cases to hear?