Search Header Logo

Quiz C++

Authored by Rizanawati Zana

Computers

1st - 5th Grade

Used 11+ times

Quiz C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

system()

main()

start()

program()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment?

** Comment **

/* Comment */

*/ Comments */

{ Comment }

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of creating a new variable without value

instantiation

assigning

naming

declaration

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command moves the shown text to the next line?

\t

\r

\n

\s

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After running the following code, determine the value of each of the following arithmetic expressions :


x=10, y =7, z=2;

x + 2 * y – z;

82

14

22

12

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Evaluate the following expressions to true or false

!((-4.2<3.0) && (10<20))

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

<=

=

==

>=

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

Already have an account?