Programming C++

Programming C++

3rd - 5th Grade

10 Qs

quiz-placeholder

Similar activities

Python One Mark

Python One Mark

KG - 10th Grade

10 Qs

Stuff Meme

Stuff Meme

KG - University

10 Qs

Test IQ

Test IQ

5th Grade

15 Qs

Understanding Windows

Understanding Windows

3rd Grade

10 Qs

六年级历史单元一

六年级历史单元一

1st Grade - University

8 Qs

¿Cuánto sabes sobre NFTs?

¿Cuánto sabes sobre NFTs?

KG - Professional Development

10 Qs

BM - PEMAHAMAN Thp 2 Set 4

BM - PEMAHAMAN Thp 2 Set 4

4th - 6th Grade

10 Qs

ICT - FORM 4

ICT - FORM 4

KG - University

10 Qs

Programming C++

Programming C++

Assessment

Quiz

Computers, Instructional Technology, Education

3rd - 5th Grade

Medium

Created by

Jayshree Varrsha

Used 124+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?