Search Header Logo

CS1101-Operators and Variables

Authored by Karen Tan

Computers

University

Used 3+ times

CS1101-Operators and Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?