
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
59 questions
Python CH1-3 Review

Quiz
•
8th Grade - Professio...
60 questions
Ayazhan - a60

Quiz
•
University
55 questions
COMBINATIONAL DIGITAL CIRCUITS

Quiz
•
University
58 questions
Base de Datos KAI

Quiz
•
University
56 questions
Introducción a la computación semestre Ene-Junio 2024

Quiz
•
University
60 questions
java Test5

Quiz
•
University
60 questions
Practice Test

Quiz
•
University
60 questions
AIL303m

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University