C++ Exercise (4/8/2021)

C++ Exercise (4/8/2021)

Assessment

Assessment

Created by

Fatihah Bistamam

Instructional Technology

University

1 plays

Medium

Student preview

quiz-placeholder

12 questions

Show all answers

1.

MULTIPLE CHOICE

1 min • 1 pt

The process of creating a new variable without value

2.

MULTIPLE CHOICE

1 min • 1 pt

What does <= mean?

3.

MULTIPLE CHOICE

1 min • 1 pt

What is the only function all C++ programs must contain?

4.

MULTIPLE CHOICE

30 sec • 1 pt

What punctuation is used to signal the beginning and end of code blocks?

5.

MULTIPLE CHOICE

30 sec • 1 pt

Which of the following is a correct comment?

6.

MULTIPLE CHOICE

30 sec • 1 pt

Which command moves the shown text to the next line?

7.

MULTIPLE CHOICE

1 min • 1 pt

After running the following code, what will be the value of x?

y = 3;

x = 5 * y;

8.

MULTIPLE CHOICE

1 min • 1 pt

What is the output of this program?

Program

int main()

{

cout<<"Hi everybody";

return 0;

}

9.

MULTIPLE CHOICE

30 sec • 1 pt

... variables store whole numbers (-4, 3, 51, etc).

10.

MULTIPLE CHOICE

30 sec • 1 pt

Which of the following is NOT a logical operator in C++ language?

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?