
C++ Quiz 4
Authored by Mohammad Harry Khomas Saputra
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tipe data yang digunakan untuk menyimpan bilangan bulat di C++?
float
double
int
char
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari ekspresi berikut? int x = 5 + 3 * 2;
10
16
11
26
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari ekspresi berikut? 12 % 5
2
3
4
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mana dari berikut ini adalah operator penugasan di C++?
+
=
*
==
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan dicetak oleh program berikut? int x = 5; if (x > 3) { cout << "x lebih besar dari 3"; } else { cout << "x tidak lebih besar dari 3"; }
x lebih besar dari 3
x tidak lebih besar dari 3
Tidak ada yang dicetak
x sama dengan 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari program berikut? int nilai = 75; if (nilai >= 90) { cout << "A"; } else if (nilai >= 80) { cout << "B"; } else if (nilai >= 70) { cout << "C"; } else { cout << "D"; }
A
B
C
D
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berapa kali perulangan berikut akan dijalankan? for (int i = 0; i < 5; i++) { // kode }
4
5
6
7
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
15 questions
Algoritma dan Pemrograman Bab 1
Quiz
•
University
15 questions
Human Computer Interaction (HCI)
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
20 questions
Câu hỏi về máy tính
Quiz
•
8th Grade - University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
19 questions
Quiz sobre Estructuras Selectivas en Java
Quiz
•
12th Grade - University
15 questions
Monday Week#2
Quiz
•
University
20 questions
quizz tkinter
Quiz
•
11th Grade - 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