Search Header Logo

C++ Exercise (4/8/2021)

Authored by Fatihah Bistamam

Instructional Technology

University

Used 1+ times

C++ Exercise (4/8/2021)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The process of creating a new variable without value

declaration

instantiation

naming

assigning

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does <= mean?

less than

less than or equal to

greater than

greater than or equal to

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

start()

system()

main()

program()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

{ }

BEGIN and END

( and )

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment?

*/ Comments */

/* Comment */

** Comment **

{ Comment }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command moves the shown text to the next line?

\t

\r

\s

\n

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

y = 3;

x = 5 * y;

3

5

0

15

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?