CS1101-Operators and Variables

CS1101-Operators and Variables

University

15 Qs

quiz-placeholder

Similar activities

Stack & Queue

Stack & Queue

University

16 Qs

Python Basics

Python Basics

University

15 Qs

Operators in C

Operators in C

University

12 Qs

Basics of C

Basics of C

University

10 Qs

ITE 260 LEC

ITE 260 LEC

University

18 Qs

C Programming Basics - 003

C Programming Basics - 003

University

10 Qs

Java

Java

University

12 Qs

PSP Week 4

PSP Week 4

University

15 Qs

CS1101-Operators and Variables

CS1101-Operators and Variables

Assessment

Quiz

Computers

University

Medium

Created by

Karen Tan

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the result of the following statements?
5*5-4/4

21

23

25

24

22

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Choose the correct operator to make the expression correct:

1 ___ 1 (returns TRUE)

&

&&

|

||

!

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Choose the correct operator to make the expression correct:

1 ___ 0 (returns TRUE)

&&

||

&

!

|

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Choose the correct operator to make the expression correct:

9 ___ 7 (returns TRUE)

!=

>

<=

>=

==

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Choose the correct operator to make the expression correct:

D=9
D___ = 8

++

+=

--

==

-=

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Choose the correct operator to make the expression correct:

8 ___ 4 (returns TRUE)

<=

>

!=

==

===

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the result of the following statements?
3*2-4-2

1

2

0

4

3

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?