answersLogoWhite

0


Best Answer

That is correct. Any processor worth it's salt will, when evaluating an expression like "1 and 0 and 1 and 1 and 0" will get as far as the first zero and "realize" that full expression will result in false regardless of the rest.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In evaluating a logical expression of the boolean expression 1 and and boolean expression 2 both the boolean expression are not always evaluted?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How many bytes does an Boolean take in a c program?

There is no boolean in C, we usually use int/short/char to store logical values.


Which data type stores only one of two values?

In Java, such a data type is called boolean. In other programming languages it may be known by different names, including variations of "boolean" such as "bool", and "logical".


What is the Java logical operators that has the highest order of preference?

"The following" doesn't make sense if you don't include a list. You can find a list of Java operators, including their precendence, at http://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html. Or search for [java operator precedence] for additional places that explain this topic.


What is a Boolean or logical data type is used to store?

A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:Does the checkbox have a check mark?Is the person underage?Does a certain file exist on disk?etc.A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:Does the checkbox have a check mark?Is the person underage?Does a certain file exist on disk?etc.A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:Does the checkbox have a check mark?Is the person underage?Does a certain file exist on disk?etc.A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:Does the checkbox have a check mark?Is the person underage?Does a certain file exist on disk?etc.


What is Boolean means in Visual BASIC?

Boolean refers to values that can only be True or False. If you are setting up a boolean variable, only True or False can be stored in it. This is a standard element of programming languages for situations involving options for True/False, Yes/No etc. When you see something in a program like "Do you want to continue (Yes/No)?", the reply given is stored as a boolean value. They can be referred to as logical values. The term boolean comes from the mathematician George Boole, after whom they are named.

Related questions

In evaluating a logical expression of type Boolean expression1 Boolean expression2 Both the Boolean expressions are not always evaluated True False?

FALSE.... cuz in && operator the compiler chk both of the expression if any of the expression is false then answer will be false.. for true result both of d expression must be true... by warrior2pnk


What are the advantages of boolean minimization?

Boolean minimization is advantageous because it helps reduce the complexity of logical expressions. By simplifying Boolean expressions, it improves the efficiency of digital circuits, reduces the number of gates required, and minimizes power consumption. Additionally, Boolean minimization makes it easier to understand and analyze the behavior of logical systems.


What are logical functions?

A logical or boolean function is one that works with logical or boolean values - values that can only be either true, or false.


What logical operator is used to reverse the boolean operator?

NOT


Define Boolean Algebra?

Boolean algebra is a division of mathematics that deals with operations on logical values and incorporates binary variables.


Difference between relational and logical operators?

Logical operators don't Compare values they combine Boolean values and produce a Boolean result. Examples of logical operators are && (and), , (or), ! (not). If you have two Boolean values and you combined them with the && operator the result will be (TRUE) only if both values were (TRUE). Relational operators compare two values and produce a Boolean result. Most of the time we use logical operators to combine the results of two or more comparison expressions that use relational operators.


What is the boolean algebra?

It is a system of logical calculus on which logic axioms are based on.


How many bytes does an Boolean take in a c program?

There is no boolean in C, we usually use int/short/char to store logical values.


When working with predefined formulas in excel what category contains the boolean functions?

They are under the category of Logical Functions.


What is a boolen algebra?

Boolean algebra is a mathematical structure that deals with binary variables and logic operations. It is used to represent and manipulate logical expressions and truth values. Boolean algebra is especially important in computer science and digital logic design, where it is used for constructing circuits, Boolean functions, and making logical decisions.


What is an arithmetic IF in FORTRAN programming?

Unlike a logical IF where the control expression is Boolean and has two branches depending on whether the expression evaluates true or false, the control expression of an arithmetic IF is a numeric expression (such as x+y) and has three branches depending on whether that expression evaluates negative, zero or positive. In languages that do not provide native support for arithmetic IF (such as C++), we can implement arithmetic IF using logical IF as follows, where z holds the result of the arithmetic expression (such as z=x+y): if (z<0) { // negative path } else if (z==0) { // zero path } else { // positive path }


What term best describes a one bit value in a computer?

bit, boolean, LOGICAL, bool