
Quiz ALPRO PASCA UTS 2

Quiz
•
Other
•
University
•
Medium
dike bayu
Used 18+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
1. Apa output dari program berikut?
for(int i = 0; i < 5; i++) {
printf("%d ", i);
}
0 1 2 3 4
1 2 3 4 5
0 1 2 3 4 5
5 4 3 2 1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Berapa kali perulangan di bawah ini akan dieksekusi?
int count = 0; while (count < 3) { count++; }
0
2
3
4
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Apa output dari program berikut?
for(int i = 1; i <= 3; i++) { for(int j = 1; j <= 2; j++) { printf("%d %d ", i, j); } }
1 1 2 2 3 3
1 2 3 1 2 3
1 1 1 2 2 2 3 3 3
1 2 1 2 1 2 3 3
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Apa hasil dari program berikut?
int x = 5; do { printf("%d ", x); x--; } while (x > 0);
5 4 3 2 1
1 2 3 4 5
5
1
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Berapa kali perulangan di bawah ini akan dieksekusi?
int y = 10; while (y < 5) { y += 2; }
0
1
5
Tidak ada eksekusi perulangan
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Berapakah jumlah elemen dalam array berikut?
int numbers[] = {4, 7, 2, 9, 5};
5
4
6
3
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Apa output dari program berikut?
int data[] = {3, 6, 2, 8, 1}; printf("%d", data[2] + data[4]);
3
9
7
10
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
tin học văn phòng phen MS EXCEL

Quiz
•
University
6 questions
Đề 07 - Ao chình Quizizz

Quiz
•
University
10 questions
Java quiz 3 summer internship

Quiz
•
University
10 questions
Dart Sets Quiz

Quiz
•
University
10 questions
A & R Week 7 Industry session assessment

Quiz
•
University
15 questions
Wind

Quiz
•
University
5 questions
C Arithmetic Operators

Quiz
•
University
12 questions
C++ Programming Language

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University