OPERATOR & EXPRESSION

OPERATOR & EXPRESSION

University

10 Qs

quiz-placeholder

Similar activities

Quis

Quis

1st Grade - Professional Development

10 Qs

Latihan 2 Logika & Algoritma

Latihan 2 Logika & Algoritma

University

10 Qs

Phase 01 test

Phase 01 test

University

12 Qs

Tipe Data

Tipe Data

University

10 Qs

Computer Keyboard Quiz

Computer Keyboard Quiz

University

15 Qs

Briefing Operator Java

Briefing Operator Java

University

10 Qs

CS 2050 recitation 5 Sets

CS 2050 recitation 5 Sets

University

11 Qs

OOP Quiz1

OOP Quiz1

University

10 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?