FOP - CHAPTER 3

FOP - CHAPTER 3

University

10 Qs

quiz-placeholder

Similar activities

Quiz 2

Quiz 2

University

11 Qs

STRUKTUR DATA (QUIZ FINAL)

STRUKTUR DATA (QUIZ FINAL)

University

15 Qs

Estructuras de control c++

Estructuras de control c++

University

8 Qs

cpp01_hello_cpp

cpp01_hello_cpp

6th Grade - University

10 Qs

PHP - Syntax & Output

PHP - Syntax & Output

University

15 Qs

PARCIAL 2 DE ALGORITMOS

PARCIAL 2 DE ALGORITMOS

University

7 Qs

C++程式

C++程式

11th Grade - University

11 Qs

CPP/C

CPP/C

University

10 Qs

FOP - CHAPTER 3

FOP - CHAPTER 3

Assessment

Quiz

Computers

University

Easy

Created by

Marliana (AS)

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the CORRECT components of a C++ program:

Comment & Preprocessor Directive

Input & Output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This component must be placed between { and } which is the body of the program.

Program building block

Executable statements

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of \n?

newline

new file

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

__________ is used to accept or read data entered by user to be stored into computer memory and to be processed in the program.

cout<<

cin>>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

__________ is used to display output messages, results of computation and result of function calls on computer screen.

cin>>

cout<<

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to display HELLO WORLD using C++ statement?

cin>>HELLO WORLD;

cout<<"HELLO WORLD";

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to accept number1 in C++ statement?

cin>>number1;

cout<<"Number 1 ";

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?