
Loop C++

Quiz
•
Computers
•
University
•
Medium
Mohammad Harry Khomas Saputra
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa tujuan utama dari penggunaan loop dalam pemrograman?
Mengubah tipe data
Menambahkan komentar
Menjalankan kondisi
Mengulangi instruksi
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Looping yang digunakan untuk melakukan pengulangan selama kondisi terpenuhi adalah...
For loop
While loop
Do-while loop
Nested loop
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa output dari kode berikut?
for (int i = 3; i < 5; i++) {
cout << i << " ,";
}
i,i,i,i
1 ,2, 3, 4, 5
3, 4
i,i,i,i,i
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Array adalah struktur data yang digunakan untuk menyimpan...
Data dengan tipe data yang berbeda-beda
Data dengan tipe data yang sama
Hanya data numerik
Data dalam urutan acak
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Uncounted loop adalah pengulangan yang...
Memiliki jumlah iterasi yang telah ditentukan sebelumnya
Tidak memiliki jumlah iterasi yang telah ditentukan sebelumnya
Selalu berjalan selama kondisi terpenuhi
Digunakan hanya untuk string
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Pengulangan yang terdapat dalam sebuah pengulangan disebut...
Infinite loop
Nested loop
Uncounted loop
Counted loop
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Berapa nilai dari nilai[i] dalam array int nilai[5] = {10, 20, 30, 40, 50};
jika i = 2?
10
20
30
40
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
KUIS MODUL 3 SIL 2022 - Data Flow Diagram (DFD)

Quiz
•
University
20 questions
Quiz No. 3 - JS Loops

Quiz
•
University
20 questions
PRA UAS - Dasar Dasar Pemrograman 2023

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
10 questions
Post-Test Algoritma dan Pemrograman

Quiz
•
10th Grade - University
20 questions
kuis pertama

Quiz
•
University
10 questions
CSC126_Chapter4_Part1

Quiz
•
University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade