ldentify a statement that tells the compiler to merge the codes contained in an
iostream file with current source code file.
TOPIC 2: BASIC PROGRAM ELEMENTS
Quiz
•
Education
•
University
•
Medium
Used 25+ times
FREE Resource
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.
==
=
++
--
15 questions
Halatuju Selepas SPM
Quiz
•
12th Grade - University
11 questions
Python - Class
Quiz
•
12th Grade - University
10 questions
funciones en c++
Quiz
•
University
10 questions
IF
Quiz
•
University
10 questions
Pop Quiz #2 Topic 2
Quiz
•
University
10 questions
PHP BASIC
Quiz
•
University
10 questions
sample quiz
Quiz
•
University
11 questions
S1 DATA SCIENCE QUIZ
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade