
QUIZ PF ON TOPIC 1 & 2
Authored by Neelam Amelia Mohamad Rejeni
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
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the CORRECT identifier.
song
main
Zen Q
#program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the C++ command that used to insert the input.
cout
cin
endl
include
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the CORRECT variables.
i. for
ii. _else
iii. priceList
iv. 12_street
I,II and IV
I , II and III
II and III
I, III and IV
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the function of <iostream>.
To produce an input and output
To produce a function
To make the code function
To combine with clrscr( ) for clear screen
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the CORRECT punctuation to signal the beginning of the code block.
[
{
<
(
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the non-execute syntax used in C++ programming.
cout<<”Programming is fun”;
#include<iostream>
using namespace std;
//main( )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete the program in Figure 1 with C++ statements.
X = int main( ), Y= <iostream>
X = void main( ), Y= <iostream>
X = iostream( ), Y= void main( )
X = <iostream>, Y= int main( )
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?