
C++ Output - Week 5 #1 CS 172 York College
Authored by Mr. Martin
Computers
12th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is used to output information in C++?
printf
cin
cout
scanf
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What class does the object cout belong to?
ostream
stringstream
ifstream
istream
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the operator used for output in C++?
<<
<>
>>=
>>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does cout do in C++?
It is used to declare variables in C++.
It is used to read input from the console.
It is used to perform mathematical calculations in C++.
It is used to display output on the console.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the object cout print information to?
standard input stream
standard error stream
standard log stream
standard output stream
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The operator << is called the what ?
insertion operator
the outward operator
less than oporator
shift left operator
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
endl means ‘end line’ and is used to start a what?
new line
comment
calculation
new answer
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?