Perhatikan penggalan code program dibawah
#include <stdio.h>
int main (
{
int a,b,c
scanf(“%d, %d, %d, &a,&b,&c);
bagian yang tidak lengkap dari penggalan program diatas adalah
Ulangan Harian Bersama
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Putri Wulandari
Used 4+ times
FREE Resource
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
Perhatikan penggalan code program dibawah
#include <stdio.h>
int main (
{
int a,b,c
scanf(“%d, %d, %d, &a,&b,&c);
bagian yang tidak lengkap dari penggalan program diatas adalah
; “ }
( } ;
) ; “
“ % }
< # )
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Fungsi Rekursi salah satunya antara lain :
Mengelompokkan masalah menjadi besar
Membuat faktorial dan barisan bilangan
Mendekomposisi permasalahan besar dalam bentuk permasalahan yang lebih kecil agar mudah diselesaikan
Menunjukkan dasar/nilai dari fungsi sebuah barisan
Mendefinisikan dua nilai pertama dari barisan
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Barisan ini dimulai dengan nilai 1 untuk nilai berikutnya dihitung dengan cara menjumlahkan 2 nilai sebelumnya pada barisan tersebut {ai=1,1,…………. , barisanatau deret ke 7 dari deret bilangan diatas adalah
4
3
26
13
8
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Berapa nilai deret ke 4 untuk perhitungan deret angka 1,2,3,4,5 dengan Basis : jika n =1 maka 1 dan Rekursi : n + deret (n-1) dimana n adalah angka deret
10
3
1
6
28
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Algoritma yang digunakan untuk menyelesaikan masalah-masalah optimasi salah satunya adalah :
Algoritma bruteforce
Algoritma greedy
Algoritma rekursi
Algoritma dan pemerograman
Algoritma dinamis
6.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Berapa langkah minimum/tersingkat untuk n = 25 jika menggunakan serangkaian langkah berikut :
- n = n-1
- n = n/2
- n = n/3
Untuk mengubah bilangan (n) menjadi 1
6 langkah
5 langkah
4 langkah
7 langkah
9 langkah
7.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Hasil keluaran dari code program dibawah adalah :
0
1
2
3
4
5
6
3 4 5 6 7 8
10
9
8
7
6
5
4
0,6.9.0
0
1
2
3
4
5
6
7
8
9
40 questions
Ujian Tengah Semester Informatika
Quiz
•
10th Grade - University
40 questions
PSTS
Quiz
•
11th Grade
35 questions
LATIHAN SAS GANJIL 2024/2025
Quiz
•
9th - 12th Grade
41 questions
Scratch
Quiz
•
12th Grade
34 questions
Latihan Soal Informatika Kelas IX
Quiz
•
9th Grade
34 questions
Quiz Berpikir Komputasional
Quiz
•
11th Grade
40 questions
Strategi Algoritma dan Pemrograman
Quiz
•
11th Grade
33 questions
Simulasi Latihan Soal PSAS 2024
Quiz
•
11th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade