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

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

12th Grade

14 Qs

quiz-placeholder

Similar activities

Podstawy programowania I C++

Podstawy programowania I C++

1st - 12th Grade

16 Qs

C++ Struktura projektu obiektowego

C++ Struktura projektu obiektowego

10th - 12th Grade

10 Qs

Python Reflect

Python Reflect

8th Grade - University

13 Qs

loop while/do while

loop while/do while

7th - 12th Grade

10 Qs

ПР_X_CPP

ПР_X_CPP

9th - 12th Grade

11 Qs

C++ References

C++ References

6th - 12th Grade

12 Qs

ASK T2 3.1.3

ASK T2 3.1.3

10th - 12th Grade

14 Qs

Post Test C++

Post Test C++

9th - 12th Grade

10 Qs

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

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

Assessment

Quiz

Computers

12th Grade

Easy

Created by

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

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?