
Dasar-dasar Pemrograman C++
Quiz
โข
Computers
โข
University
โข
Practice Problem
โข
Hard
Febriyanti Darnis
FREE Resource
Enhance your content in a minute
57 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What is meant by a constant in C++?
A value that can be changed while the program runs.
A fixed value that cannot be changed after being declared.
A function that returns a value.
A variable stored in memory.
2.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
How to declare an integer variable in C++?
int variable;
float variable;
string variable;
char variable.
3.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What data type is used to store a single character in C++?
int
double
char
string
4.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
Which statement is used to start a conditional block in C++?
switch
if
for
while
5.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What is a constant in C++?
A variable whose value can be changed
A variable that cannot be changed
A function that returns a fixed value
A logical operator
6.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
How to declare a constant in C++?
int const a = 10;
const int a = 10;
#define a 10
All answers are correct
7.
MULTIPLE CHOICE QUESTION
30 sec โข 1 pt
What is a variable in C++?
A place to store data whose value can change
A place to store data whose value cannot change
A mathematical operator
A fixed value
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
60 questions
Cuestionario Java & SpringBoot
Quiz
โข
University
56 questions
EY + GRC + Auditing + IT + Cybersecurity Quiz
Quiz
โข
University
60 questions
Network Application Communications
Quiz
โข
University
60 questions
Python Baseline Test (PCAP I)
Quiz
โข
9th Grade - Professio...
55 questions
SAINS KOMPUTER TINGKATAN 4
Quiz
โข
12th Grade - University
53 questions
UTS Struktur Data
Quiz
โข
University
60 questions
FDS_MIDTERM
Quiz
โข
University
54 questions
Python ัะตัั
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
54 questions
Analyzing Line Graphs & Tables
Quiz
โข
4th 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
