Search Header Logo

Programming C++

Authored by Jayshree Varrsha

Computers, Instructional Technology, Education

3rd - 5th Grade

Used 129+ times

Programming 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

1 min • 1 pt

What is the correct value to return to the operating system upon the successful completion of a program?

A. -1

B. 1

C. 0

D. Program do not return a value.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

A.start()

B.system()

C.main()

D.program()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

A. { }

B. -> and <-

C. BEGIN and END

D. (and)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What punctuation ends most lines of C++ code?

A. .

B. ;

C. :

D. '

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a correct comment?

A. */ Comments */

B. ** Comments **

C./* Comments */

D. { Comment }

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following are false about Comments used in C++?

A. Used to documents programs

B. Improve the readability and understanding of programmer

C. Causes action to be performed when the program is executed

D. None of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a correct variable type?

A. float

B. real

C. int

D. double

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?