
TOPIC 2: BASIC PROGRAM ELEMENTS
Quiz
•
Education
•
University
•
Practice Problem
•
Medium
Used 28+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ldentify a statement that tells the compiler to merge the codes contained in an
iostream file with current source code file.
#include iostream
#include <iostream>;
#include <iostream>
#include (iostream)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify a VALID identifier.
Total Sum
1Total Sum
Total%Sum
Total_Sum
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name the type of variable that can be used from any part of including within functions.
local variable
global variable
scope variable
universal variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the CORRECT syntax to declare a constant.
constant char GRADE= A;
constant char GRADE = 'A':
const char GRADE = A;
const char GRADE ='A';
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select a syntax that allows a user to input the value of CGPA.
cin >> CGPA;
cin<< "CGPA";
cout <<" Please enter your CGPA";
cout>>" Please enter your CGPA";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If variable is used to store value of payment, the suitable data type for the variable is
int
char
float
string
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the operator that compares between two variables.
==
=
++
--
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?
Similar Resources on Wayground
10 questions
Quiz IAS 16
Quiz
•
University
10 questions
VCS quiz 1
Quiz
•
University
13 questions
CA 05
Quiz
•
3rd Grade - University
15 questions
QUIZ 3 : TOPIC 11 [INCOMPLETE RECORDS & SINGLE ENTRY]
Quiz
•
1st Grade - University
10 questions
epithelium
Quiz
•
University
15 questions
Primary or secondary sources RES120
Quiz
•
University
15 questions
Healthy Food
Quiz
•
KG - Professional Dev...
10 questions
Service Marketing
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
