
alpro materi if
Authored by Peserta 07386
Instructional Technology
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Manakah jenis pengkondisian dalam C++ yang memungkinkan banyak pilihan kondisi?
if
if else
while
swich case
do while
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Manakah dari operator berikut yang digunakan untuk membandingkan dua nilai agar bernilai sama?
!=
==
=
>=
<=
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Struktur percabangan manakah yang cocok digunakan untuk kondisi nilai siswa seperti “sangat baik”, “baik”, dan “cukup”?
if
if else
nested if
if else if
switch case
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa yang terjadi jika kondisi pada perintah if bernilai false?
Program akan berhenti
Aksi di dalam blok if tetap dijalankan
Program akan menampilkan error
Kondisi akan diulang
Blok if tidak dijalankan
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa kesalahan dari kode di atas?
Tidak bisa membandingkan integer
Harus menggunakan == untuk perbandingan
cout tidak dikenali
Tanda kurung tidak diperlukan
Tipe data salah
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa fungsi utama dari pernyataan if dalam bahasa C++?
Menampilkan output jika kondisi sesuai
Menyimpan data
Menjalankan kode jika kondisi terpenuhi
Menentukan tipe data
Mengurutkan angka jika kondisi benar
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Manakah kode yang benar untuk menampilkan “Lulus” jika nilai > 75 di dalam compler online Programiz?
if nilai > 75 { cout << "Lulus"; }
if (nilai > 75) cout << "Lulus";
if nilai = 75 then Lulus;
cout << "Lulus" if nilai > 75;
if nilai == 75: cout "Lulus"
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
Python Functions and Method
Quiz
•
10th - 12th Grade
10 questions
bài kiểu xâu
Quiz
•
KG - 11th Grade
14 questions
Cấu trúc rẽ nhánh
Quiz
•
11th Grade
15 questions
Welding Module 6: FCAW
Quiz
•
9th - 12th Grade
15 questions
Teens and Driving
Quiz
•
8th Grade - Professio...
15 questions
AUTOCAD
Quiz
•
11th - 12th Grade
10 questions
JavasCript
Quiz
•
1st Grade - University
10 questions
MÁY THU THANH
Quiz
•
9th - 12th Grade
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Instructional Technology
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
15 questions
ACT Reading Practice
Quiz
•
11th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade