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
BASIC C PROGRAMMING QUIZ

Quiz
•
University
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
15 questions
Java

Quiz
•
University
15 questions
Basic Java Quiz

Quiz
•
University
15 questions
Большое Повторение C#

Quiz
•
5th Grade - University
21 questions
SAINS KOMPUTER TINGKATAN 4 (BAB1)

Quiz
•
KG - University
15 questions
Qûîz

Quiz
•
University
25 questions
GNIDOC ROUND 1

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