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
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz Pelatihan Pengenalan Bahasa Pemrograman C Part 1

Quiz
•
12th Grade - University
20 questions
quiz dasar python

Quiz
•
1st Grade - University
25 questions
Kuis 1 - PKS 2

Quiz
•
University
20 questions
Looping & Functions C++

Quiz
•
University
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
18 questions
C++ Procedurale Best of

Quiz
•
University
15 questions
Quiz Ke 6 alprog if-09

Quiz
•
University
17 questions
QUIZ PF ON TOPIC 1 & 2

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