Apa tipe data yang digunakan untuk menyimpan bilangan bulat di C++?
C++ Quiz 4

Quiz
•
Computers
•
University
•
Medium
Mohammad Harry Khomas Saputra
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Quiz Bahasa C

Quiz
•
10th Grade - University
15 questions
Qûîz

Quiz
•
University
20 questions
QUIS ALPRO 1

Quiz
•
12th Grade - University
17 questions
Flow of Control in C++ ( Conditional statements)

Quiz
•
9th Grade - University
20 questions
Quiz Pemrograman Lanjut 2022/2023

Quiz
•
University
20 questions
C++ Quiz

Quiz
•
University
20 questions
INTRO TO C++

Quiz
•
12th Grade - University
17 questions
Minggu V - PKS 2 - Pemrograman C++

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade