Boolean Expressions Reading assignment

  1. Operators are the terms in how different values need to work with each other
    2.+,-,*,/,%, <
  2. ||, &&, ==
1 Like
  1. What are operators?
    A function that allows you to manipulate values.
  2. What binary operators do you know?
    +, -, *, /, and %.
  3. What logical operators do you know?
    ‘and’ &&, ‘or’ ||, and ‘not’ !
1 Like

What are operators?
An operator is a symbol that tells the compiler or interpreter to perform specific mathematical, relational or logical operation and produce final result.
What binary operators do you know?

  • = Adds two operands
  • = Subtracts second operand from the first
  • = Multiplies both operands
    / = Divides numerator by de-numerator
    % = This gives remainder of an integer division

What logical operators do you know?
&&= and operator
II = or operator
I = not operator

1 Like
  1. Operators perform operations on operands

  2. Some binary operators + - * / < > <= >= % == !=

  3. Some logical operators && || !

1 Like
  1. Operators are the symbols which are used to assign values, compare values and perform arithmetic operations in a program.

  2. Binary operators I know;
    == equal
    != not equal
    < less than
    > more than
    >= more or equal to
    <= less than or equal to
    + plus
    - minus
    ***** multiply
    / divide

  3. The logical operators I know are;
    II or
    && and
    ! not

2 Likes

1. What are operators?

  • (+, x) are called operators.

2. What binary operators do you know?

  • +, -, x, /, %, <, >, =, 
etc

3. What logical operators do you know?

  • and, or, not ( &, II, !)
1 Like
  1. Operators help your code to execute operations
  2. Binary operators are (+, -, *, /, %)
  3. logical operators are (||, &&, !)
1 Like

1/. What are operators.?

Operators are used to perform operations on variables and values, Java divides the operators into the following groups; Arithmetic operators.; Assignment operators.; Comparison operators.; Logical operators
.; Bitwise operators
e.g;
=, +=, -=, *=, /=, %=, &=, ^= , >>=, <<=, ++=

2/. A full list of binary operators, that i now know
!

  • //Add
  • //Subtract
    / //Divided by
  • //Multiple
    % //Modulus
    < //Less than

//Greater than
& //AND
| //OR
^ //XOR
~ //Invert each bits
<< //Move all bits onto the left

//Move all bits onto the right

//Move all bits onto the right and fill left end with 0

3/.What logical operators do you know.?

&&, ||, !,

Operator Description Example;

&& and (x < 10 && y > 1) is true
or (x == 5 y == 5) is false [Try it »
! not !(x == y) is true

1 Like
  1. What are operators?
    symbol that tells the compiler to perform a certain mathematical or logical manipulation. we use it to manipulate data & variables. we have Arithmetic operators, Relational operators & Logical operators.

  2. What binary operators do you know?
    Arithmetic operators (+,-,/,*,%) and relational operators (>,<,=>,=<,==,!=)

  3. What logical operators do you know?
    logical operators (and && , or || , not !)

1 Like
  1. Operators are objects utilized to compare or analyze values.
  2. <, >, +, - , %, *
  3. &&, !=, ===
1 Like
  • What are operators?
    Operators are like +, -, /, * which operates an action of some sort on two values to create an expression
  • What binary operators do you know?
==  EQUAL
!=   NOT EQUAL 
<    LESS THAN
>    GREATER THAN
<=  LESS THAN OR EQUAL TO
>=  GREATER THAN OR EQUAL TO
&&  AND
||     OR
+    PLUS
 -     MINUS
*     MULTIPLY
/     DIVIDE
  • What logical operators do you know?
    && AND
    || OR
    ! NOT
1 Like
  1. Operators calculate data and produce a result
  2. Boolean greater than >=, not equal to !=, equal too ==,
  3. And &&, or ||, not !
1 Like
  1. What are operators?

Operators are used to perform manipulations on variables and values

  1. What binary operators do you know?

Arithmetic (+, -, /, *, %)
Relational (<, >, =>, =<, ==, !=)

  1. What logical operators do you know?

&& = AND
|| = OR
! = NOT

2 Likes
  1. Operators are used for mathematical computation, comparison and extraction of data.
  2. +, -, *, /, %
  3. ||, &&, !
2 Likes

Homework: Boolean Expressions

  1. Operators are actions for values
  2. +, -, *, /, %
  3. <, >, <=, >=, ==, !=, ===, &&, ||
2 Likes
  1. Operators are logical conditions that have capability to manipulate values.

  2. Arithmetic, relational, logic operators.

  3. && || == !=

1 Like
  1. Operators (objects) are actions that are applied to values like numbers and strings (text). They perform arithmetic calculations, concatenate and compare values. They can be +, -, *, /, among others like ==. !==. &&
  2. Binary operators are: <, >, <=, >=, ==, !=
  3. Logical operators are: &&, ||, !
1 Like
  1. Operators are used to perform an action on values.
  2. +, -, *, %
  3. && ||
1 Like
  1. Operators are elements of the language which act on values. It’s like the verb in a sentence, which relates the subject and object in a meaningful way.
  2. Addition, subtraction, multiplication and division are all binary operators. They work on two values at a time.
  3. Logical operators include OR ||, AND &&, and NOT !.
1 Like

Can anyone here clarify for me what is being said in the screen shot I attached to this message? what are “primitive values created from literals”? And what exactly is meant by “booleans can be objects”? I have a loose understanding of what an object is from the “javascript is easy” lecture, but I cant wrap my head around how a boolean can “be” an object and what that even means. Is that something that will become more clear further down the line?

1 Like