ulangan pertama

Quiz
•
Other
•
10th Grade
•
Medium
Informasi Smansaka
Used 18+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Variabel pada kode program tersebut adalah....
double
void
alas, tinggi, luas
luas=(alas*tinggi)/2
int main()
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Pernyataan yang benar tentang program tersebut adalah ....
Program tersebut menggunakan masukan dengan tipe data bilangan rill
printf() digunakan untuk membaca masukkan data " Masukkan tahun "
scanf digunakan untuk menampilkan keluaran data "tahun"
tanda \n artinya untuk membuat komentar
stdio.h berisi definisi dari fungsi-fungsi untuk standar input dan output
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Penggunaan %d pada program tersebut dimaksudkan untuk ....
menampilkan bilangan desimal hasil dari proses perhitungan
menampilkan karakter hasil perhitungan
menampilkan bilangan pecahan
membuat tabs
menampilkan teks (string)
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Kode program mengembalikan fungsi ditunjukkan oleh kode pada baris ke-....
2
5
7
9
18
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Kode program memanggil fungsi ditunjukkan oleh kode pada baris ke-....
2
5
9
15
16
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Terdapat beberapa aturan penulisan variabel dalam bahasa C yaitu sebagai berikut, kecuali ....
Nama variabel tidak boleh didahului dengan simbol dan angka
Nama variabel tidak boleh menggunakan kata kunci yang sudah ada pada bahasa C
Nama variabel bersifat case sensitive, artinya huruf besar dan kecil dibedakan. contoh: berat dan Berat adalah dua variabel yang berbeda
Disarankan menggunakan underscore untuk nama variabel yang terdiri dari dua suku kata. contoh: berat_badan
Nama variabel menggunakan tanda operator
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Pernyataan yang benar tentang kondisi PERULANGAN adalah ...
deklarasi perulangan menggunakan fungsi if, switch-break
membandingan dua atau lebih sebuah kondisi
subprogram yang bisa digunakan kembali, baik di dalam program itu sendiri maupun di program yang lain
fungsi while digunakan jika jumlah perulangan belum diketahui
variabel yang menyimpan nilai untuk diproses di dalam fungsi
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
HAND TOOLS

Quiz
•
10th Grade
25 questions
Kaidah Kebahasaan Teks Laporan Hasil Observasi

Quiz
•
10th Grade
25 questions
Pembahasan Teks Laporan Percobaan

Quiz
•
9th Grade - University
25 questions
Review Prakarya kls X

Quiz
•
10th Grade
30 questions
Pengolahan dan Pengawetan

Quiz
•
10th Grade
25 questions
Penilaian Harian PKWU Kelas 12

Quiz
•
9th - 12th Grade
25 questions
SAS Seni Rupa Kelas VI SMT 1

Quiz
•
6th Grade - University
25 questions
SAS GANJIL-OLIM KEBUMIAN-X6-PAKET 6

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry

Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade