
Dasar-dasar Pemrograman C++

Quiz
•
Computers
•
University
•
Hard
Febriyanti Darnis
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
62 questions
SAINS KOMPUTER TING 4 - 1.2 ALGORITMA

Quiz
•
12th Grade - University
60 questions
JavaScript -MIDTERM EXAM

Quiz
•
University
62 questions
C++ Basics Quiz

Quiz
•
University
57 questions
Infinity - inkling 2k23

Quiz
•
University
55 questions
Dom.Mod.Prelim Exam OOP Java Programming

Quiz
•
University
59 questions
Python CH1-3 Review

Quiz
•
8th Grade - Professio...
61 questions
Baldwin University College (OSU ACCRA)

Quiz
•
University
54 questions
Unit 2 Final Quizz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade