OPERATOR & EXPRESSION

OPERATOR & EXPRESSION

University

10 Qs

quiz-placeholder

Similar activities

DAA quiz2

DAA quiz2

University

15 Qs

OPERATORS

OPERATORS

University

10 Qs

Cuestionario Arboles Binarios

Cuestionario Arboles Binarios

University

12 Qs

Kalkulus

Kalkulus

University

11 Qs

Computer Network Test

Computer Network Test

University - Professional Development

11 Qs

Logique Test

Logique Test

University

10 Qs

ETS Computational Mathematics

ETS Computational Mathematics

University

11 Qs

Logique Booléene

Logique Booléene

University

12 Qs

OPERATOR & EXPRESSION

OPERATOR & EXPRESSION

Assessment

Quiz

Computers

University

Easy

Created by

ess5ashida ess5ashida

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

CLASSIFICATION 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)  

Conditional operator
Relational Operator
Logical Operator

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?