
OPERATOR & EXPRESSION
Authored by ess5ashida ess5ashida
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
CATEGORIZE QUESTION
1 min • 16 pts
Organize these symbols into the right operators.
Groups:
(a) Relational Operator
,
(b) Logical Operator
,
(c) Arithmetic Operator
,
(d) Increment & Decrement Operator
>
++
<=
--
||
&&
!=
!
2.
DRAG AND DROP QUESTION
30 sec • 1 pt
Choose the correct symbol to get the output TRUE when the below statements are executed.
(3<5) (a) (6>10)
3.
DROPDOWN QUESTION
30 sec • 1 pt
This operator can exchange simple if-else code for a single operator. (a)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the correct compound assignment operator to produce 15 when the statement below is executed. Assume the value of X is 5.
X ______ 3
+=
/=
*=
%=
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Assume the value of p=10, q=5, r=3. Then solve the equation below to find the result.
Result = (p>q) && (r != p)
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Assume the value of p=10, q=5, r=3. Then solve the equation below to find the result.
Result = !(p>q) && (r <= p)
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Assume the value of p=10, q=5, r=3. Then solve the equation below to find the result.
Result = (r * q < p) || (r < p)
TRUE
FALSE
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?