
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
60 questions
Tema 2 Lenguajes de Interfaz

Quiz
•
University
62 questions
ÔN TẬP Giữa Kỳ Môn Tin Học 8

Quiz
•
7th Grade - University
55 questions
Javascript - Beginner Practice

Quiz
•
12th Grade - Professi...
56 questions
56 сурак

Quiz
•
University
57 questions
TIN 11CD- ÔN TẬP CUỐI HK1

Quiz
•
University
57 questions
Maratón CESBA nivel 1

Quiz
•
University
62 questions
Trắc nghiệm nhập môn OOP

Quiz
•
University
60 questions
THDC

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University