
C++ Output - Week 5 #1 CS 172 York College

Quiz
•
Computers
•
12th Grade
•
Easy
Mr. Martin
Used 11+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Functions in C++

Quiz
•
9th - 12th Grade
10 questions
PYTHON(LIBRARIES)

Quiz
•
12th Grade
10 questions
Quiz Blok Variables dan Operator

Quiz
•
10th - 12th Grade
10 questions
Introduction to C++ 2024/25

Quiz
•
12th Grade
15 questions
Latihan Pemrograman

Quiz
•
12th Grade
10 questions
Quiz C++ Grade 10

Quiz
•
9th - 12th Grade
15 questions
QUIZ PEMROGRAMAN DASAR

Quiz
•
9th - 12th Grade
10 questions
Programming with C++

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade