Search Header Logo

C++Q1

Authored by Mr. Villa

Instructional Technology

University

Used 1+ times

C++Q1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The standard library header file that contains definitions of the standard input and output streams in C++.

ostream

istream

iostream

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Refers to the rules that dictate how statements and expressions are formed using combinations of symbols, keywords and other elements.

Code

Syntax

Keyword

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

There must be only one function in a C++ program.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The scope resolution operator that allows look-ups for objects by name within a namespace.

; ;

: :

{ }

[ ]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

stream insertion operator

<<

>>

6.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

The stream manipulator std::endl does two things:

inserts the end-of-line character

flushes the stream buffer

insert an object into stream object

extract the data from the object

7.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

The _ _ _ _ _ _ _ _ _ notifies the compiler that a statement has ended.

(a)  

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?