OPERATOR & EXPRESSION

OPERATOR & EXPRESSION

University

10 Qs

quiz-placeholder

Similar activities

Computer Keyboard Quiz

Computer Keyboard Quiz

University

15 Qs

Digital Electronics Weekend Assignment 5

Digital Electronics Weekend Assignment 5

University - Professional Development

10 Qs

DS-U2-QUIZ2

DS-U2-QUIZ2

University

12 Qs

Data Structure Quiz 1

Data Structure Quiz 1

University

9 Qs

Latihan 2 Logika & Algoritma

Latihan 2 Logika & Algoritma

University

10 Qs

APCS Printing and objects

APCS Printing and objects

9th Grade - University

10 Qs

Python Quiz

Python Quiz

3rd Grade - Professional Development

11 Qs

Aljabar  Boolean ( Logika)

Aljabar Boolean ( Logika)

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?