compiler - header - stream

compiler - header - stream

University

9 Qs

quiz-placeholder

Similar activities

Day 4 Activity

Day 4 Activity

University

10 Qs

Ulangan Harian Pemrograman Dasar X

Ulangan Harian Pemrograman Dasar X

University

10 Qs

WEB DESIGN

WEB DESIGN

University

12 Qs

HTML Basics

HTML Basics

University

12 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

CSNP-04103 Chapter 2 - Components & Data Types

CSNP-04103 Chapter 2 - Components & Data Types

University

10 Qs

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

compiler - header - stream

compiler - header - stream

Assessment

Quiz

Computers

University

Medium

Created by

Quy Ta Dinh

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which stream class is to only write on files?

ofstream

ifstream

iostream

fstream

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to insert the data into file?

>>

<<

<

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which member function is used to determine whether the stream object is currently associated with a file?

is_open

buf

sstring

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a compiler?

system program that converts instructions to machine language

system program that converts machine language to high-level language

system program that writes instructions to perform

None of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which flag specify the output of g++?

-a

-o

-c

-w

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax of including a user defined header files in C++?

#include [userdefined]

#include “userdefined”

#include <userdefined.h>

#include <userdefined>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the header file must be included to use stringstream?

<iostream>

<string>

<sstring>

<sstream>

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following header file does not exist?

<iostream>

<string>

<sstring>

<sstream>

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The cin, cout are ___

library functions

  1. structs

  1. pointers

  1. objects