Perhatikan kode program pada gambar! Variabel yang terdapat dalam kode program tersebut adalah ....
Latihan Pemrograman

Quiz
•
Computers
•
12th Grade
•
Hard
Jumiyati Jumiyati
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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";
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
TIK KELAS IX

Quiz
•
12th Grade
10 questions
Basics in C++

Quiz
•
7th - 12th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
10 questions
QUIZ TIK - KELAS 12

Quiz
•
12th Grade
18 questions
PH kelas 10 Bab 1

Quiz
•
9th - 12th Grade
10 questions
Post Test C++

Quiz
•
9th - 12th Grade
20 questions
Linguaggio C++

Quiz
•
10th - 12th Grade
20 questions
Thao tác tệp trong C++

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University