
FOP - CHAPTER 3
Authored by Marliana (AS)
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 ";
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?