compiler - header - stream

compiler - header - stream

University

9 Qs

quiz-placeholder

Similar activities

Pengaturcaraan Laman Web

Pengaturcaraan Laman Web

University

12 Qs

HTML Quiz

HTML Quiz

KG - University

10 Qs

Evaluación Aplicaciones Web

Evaluación Aplicaciones Web

University - Professional Development

11 Qs

Web Designing Quiz-2

Web Designing Quiz-2

University

10 Qs

cpp01_hello_cpp

cpp01_hello_cpp

6th Grade - University

10 Qs

Programación C

Programación C

University

10 Qs

C++ Test

C++ Test

University - Professional Development

4 Qs

Praktikum Algo Pertemuan Akhir Part 2

Praktikum Algo Pertemuan Akhir Part 2

University

5 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