Programming C++

Programming C++

3rd - 5th Grade

10 Qs

quiz-placeholder

Similar activities

DIGITAL FOOTPRINT & IDENTITY

DIGITAL FOOTPRINT & IDENTITY

3rd - 5th Grade

13 Qs

Google Forms

Google Forms

5th - 6th Grade

13 Qs

Logical Reasoning !!!

Logical Reasoning !!!

5th Grade

12 Qs

Python Basics

Python Basics

KG - University

15 Qs

Quiz Komputer Ms.Word grade 4

Quiz Komputer Ms.Word grade 4

4th Grade

15 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Term2/Grade3 internet

Term2/Grade3 internet

3rd Grade

13 Qs

Social media marketing

Social media marketing

1st - 10th Grade

14 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?