
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
13 questions
Quiz Briefing of Outcome-based Education (OBE) OCT 2020
Quiz
•
University
10 questions
CURRENT AFFAIRS
Quiz
•
12th Grade - Professi...
15 questions
FEELINGS AND VALUES
Quiz
•
University
15 questions
Eng1.1.ME. Review for Exam 1
Quiz
•
University
15 questions
Error Correction Test
Quiz
•
University
10 questions
Quantifiers
Quiz
•
University
10 questions
PENILAIAN KINERJA (PERFORMANCE APPRAISAL)
Quiz
•
University
10 questions
Hr session 3
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
