Midterm 12C SU

Midterm 12C SU

12th Grade

19 Qs

quiz-placeholder

Similar activities

SC C++ Quiz 2

SC C++ Quiz 2

7th - 12th Grade

15 Qs

C++ Ripetizione

C++ Ripetizione

9th - 12th Grade

20 Qs

INTRO TO C++

INTRO TO C++

12th Grade - University

20 Qs

Flow of Control in C++ ( Conditional statements)

Flow of Control in C++ ( Conditional statements)

9th Grade - University

17 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

C++ - Loops and Random Numbers

C++ - Loops and Random Numbers

9th - 12th Grade

14 Qs

Operators

Operators

12th Grade

20 Qs

PH kelas 10 Bab 1

PH kelas 10 Bab 1

9th - 12th Grade

18 Qs

Midterm 12C SU

Midterm 12C SU

Assessment

Quiz

Computers, Other, Education

12th Grade

Medium

Created by

Dina Sharawy

Used 7+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The process of creating a new variable without value
declaration
naming
instantiation
assigning

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does <= mean?

less than

greater than

less than or equal to

greater than or equal to

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command moves the shown text to the next line?
\t
\n
\r
\s

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

... point variables store decimal numbers (3.5, -5,123, 4.0, etc). 
Float
Integer
Logical
Character

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate the following expressions to true or false


5 >= (1+6)-4

True

False

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

If originally x=2,y=0, and z=1, what is the value of x, y, and z after executing the following code?


if (x>y)


y=x;

else

z=x;

x=2 y=2 z=1

x=0 y=2 z=0

x=2 y=1 z=1

x=2 y=0 z=1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which code snippet is the correct condition in if statement written?

Media Image
Media Image
Media Image
Media Image

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?