
Programming C++
Authored by Jayshree Varrsha
Computers, Instructional Technology, Education
3rd - 5th Grade
Used 129+ times

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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?