Search Header Logo

Midterm 12C SU

Authored by Dina Sharawy

Computers, Other, Education

12th Grade

Used 7+ times

Midterm 12C SU
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

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

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?