answersLogoWhite

0

They are very similar,but when we do logic operators there are still some differences.In c or c plus plus ,logic true can be expressed as'true' or '0',but in java,true is just 'true'.If you gave a zero,it will treat it as type of integer ,and so as false.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

Which arithmetic operator have highest precedence?

In all popular high-level programming languages, the order in which operators are interpreted ("operator precedence") is vital to ensuring that all compilers execute instructions in precisely the same manner, as the "order of operations" rule is vital in mathematics. In the case of C and C++, arithmetic operators are executed prior to logic operators. For a detailed description of operator precedence, see the related links below.


The control unit and the arithmetic logic unit are located in the?

CPU


What are the various operators available in c language?

There are eight types of operators which are used in C language.These are- 1.Arithmetic operator 2.Assignment operator 3.Relational operator 4.Increment/Decrement operator 5.Bitwise operator 6.Logical operator 7.Conditional operator 8.Additional operator 1.Arithmetic operator:Arithmetic operators are mathmetical operator.These are addition,Subtraction,Multiplication and divison. 2.Assignment operator:Assignment operators are used to store the result of an expression to a variable.


Describe the role of arithmetic and logic unit and control unit in a computer system?

Does the Mathematical calculations in the computer.


What is logical errors in vb?

Logical errors in Visual Basic (VB) occur when the code runs without crashing, but produces incorrect or unintended results. These errors stem from flaws in the program's logic, such as using the wrong operators, incorrect conditional statements, or faulty algorithms. Unlike syntax errors, which prevent the code from compiling, logical errors can be more challenging to identify and debug, often requiring careful testing and analysis of the program's flow and output.

Related Questions

ALU stand for?

Arithmetic logic unit


What performs arithmetic and logic calculations?

There is a special part of the CPU that performs Arithmetic and Logical calculations. Its called Arithmetic Logic Unit ( ALU ).


Performs logical and arithmetic processes?

logic unit


What are the functions of arithmetic logic unit?

The Arithmetic Logic Unit as suggested by the name carries out the arithmetic calculations of the computer.


The unit that performs the arithmetic and logical operations within the processor?

The unit that performs the arithmetic and logical operations within the processor is called the Arithmetic Logic Unit (ALU).


Performs the logical and arithmetic process in a computer?

i think i the logic unit


What is the section of the CPU that performs arithmetic involving integers and logical operations?

The ALU (Arithmetic/Logic Unit)


What is a Arithmetic logical unit?

The Arithmetic Logic Unit (ALU) is the heart of a CPU. This is what allows the computer to add, subtract, and to perform basic logical operations.


Which part of CPU perform logical function?

ALU-Arithmetic and logic unit.


What is the full form ALU?

In computing, an arithmetic logic unit ( ALU) is a digital circuit that performs arithmetic and logical operations.


What to arithmetic logic units do in GPUs?

alu is for the logical and arithmetical operations in the system unit.


Can you explain the usage of the XOR symbol in Boolean logic and how it differs from other logical operators?

The XOR symbol in Boolean logic represents the exclusive OR operation, which is true only when one of the inputs is true, but not both. This differs from other logical operators like AND and OR, which have different truth conditions.