FOP - CHAPTER 3

FOP - CHAPTER 3

University

10 Qs

quiz-placeholder

Similar activities

FOP - CHAPTER 6

FOP - CHAPTER 6

University

10 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

C++ Chapter 2

C++ Chapter 2

University

7 Qs

Ice Breaker

Ice Breaker

University

10 Qs

Alabi, Kolade, CSCI-2380-01P, POST

Alabi, Kolade, CSCI-2380-01P, POST

University

10 Qs

C++ Array Quick Review

C++ Array Quick Review

University

10 Qs

Sintaxis en C

Sintaxis en C

University

15 Qs

Nested Statement

Nested Statement

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?