
C++ Basics
Authored by pallavi narang
Computers
University
CCSS covered
Used 12K+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the only function that all C++ programs must contain?
start()
system()
main()
program()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command in C++ moves the text to the next line?
\t
\n
\r
\s
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C++ was developed by?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the extension of C++ programs?
.c
.css
.cpp
.jsp
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which syntax is correct in printing an output in a C++ program?
print<<"Good Day!";
cout<<"Good Day!";
printf<<"Good Day!";
cout<<"Good"<<"Day!";
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Insertion operator (<<) is used with?
cin
cout
both of the above
main
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which operators are used in C++?
==
+=
**
++
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?