UH INFORMATIKA KELAS XI BAB 2

Quiz
•
Computers
•
11th Grade
•
Hard
Kamal Putra
Used 10+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Apa hasil dari fungsi berikut jika dipanggil `f(3)`?
1
2
3
4
5
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Berapakah hasil dari `factorial(5)` jika fungsi `factorial` didefinisikan sebagai berikut?
24
60
120
150
200
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Algoritma greedy biasanya digunakan untuk menyelesaikan masalah...
berbasis pengambilan keputusan yang selalu optimal
berbasis pendekatan brute-force
yang hanya memiliki satu solusi tunggal
yang memiliki banyak solusi optimal
yang hanya bisa dipecahkan dengan rekursi
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Berapakah output dari program berikut?
3
5
7
9
Error
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Bagaimana cara menambahkan nilai ke akhir array di C++ jika ukuran array tetap?
`arr[size + 1] = value;`
`arr.push(value);`
`arr[size - 1] = value;`
`Tidak bisa menambah nilai ke array tetap.`
`arr[size++] = value;`
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Fungsi rekursif membutuhkan sebuah...
Loop
Kondisi dasar
Parameter tambahan
Variabel global
Operator modulo
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Salah satu contoh klasik dari algoritma greedy adalah...
Pencarian biner
Penyusunan urutan faktorial
Penyelesaian masalah knapsack
Algoritma DFS
Penyusunan matriks
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Uji Pemahaman Berpikir Komputasi

Quiz
•
11th Grade
16 questions
Quiz Algoritma dan Pemrograman

Quiz
•
11th Grade
15 questions
Dasar Algoritma dan Pemrograman

Quiz
•
7th Grade - University
20 questions
Ujian kelas 5 SD Semester 1

Quiz
•
5th Grade - University
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
20 questions
Strategi Algoritmik dan Pemrograman

Quiz
•
11th Grade
20 questions
_8erpikir komputasion4l

Quiz
•
11th Grade
20 questions
Permainan Strategi Algoritmik dan Pemrograman Kelas XI

Quiz
•
11th Grade
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
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade