Latihan Pemrograman
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Jumiyati Jumiyati
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode program pada gambar! Variabel yang terdapat dalam kode program tersebut adalah ....
r
jari-jari
cin
cout
3.14
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode program pada gambar! Instruksi output yang digunakan pada kode program tersebut adalah....
cout
cin
return
int
main
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode program pada gambar! Instruksi input yang digunakan pada kode program tersebut adalah....
cin
cout
return
int
main
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode pada gambar! Baris kode :
cout << "Input jari-jari lingkaran: ";
Jika diubah menggunakan instruksi printf akan menjadi....
printf("Input jari-jari lingkaran: ") ;
printf("Input jari-jari lingkaran: ", r) ;
printf("Input jari-jari lingkaran: /n") ;
printf("Input jari-jari lingkaran: ")
printf(Input jari-jari lingkaran: ) ;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode pada gambar! Baris kode :
cin >> r;
Jika diubah menggunakan instruksi scanf akan menjadi....
scanf("%f", &r) ;
scanf(%f, &r) ;
scanf("%f", &r)
scanf("%f", r) ;
scanf("%f", r)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode pada gambar! Kode program :
printf("Harga barang adalah: %d", harga) ;
Jika diubah dengan instruksi cout akan menjadi....
cout << "Harga barang adalah : " << harga;
cout << Harga barang adalah : << harga;
cout << "Harga barang adalah : " << harga
cout << "Harga barang adalah : " , harga;
cout << "Harga barang adalah : ";
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Perhatikan kode pada gambar! Kode program :
scanf("%d", &harga) ;
Jika diubah dengan instruksi cin akan menjadi....
cin >> harga;
cin >> "harga";
cin >> "%d", harga;
cin << harga;
cin << "harga";
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
20 questions
DBI LO
Quiz
•
7th - 12th Grade
16 questions
LA3.C3: Variables
Quiz
•
9th Grade - University
12 questions
Web II: CSS Positioning
Quiz
•
9th - 12th Grade
10 questions
Ke-Al Azhar 8 an
Quiz
•
7th Grade - University
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
20 questions
Pemrograman Dasar 3
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
