
Quiz Bahasa Pemrograman C input dan print
Authored by Yarlis Andrianis
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Tipe data yang digunakan untuk menyimpan bilangan bulat dalam C adalah?
float
char
int
double
2.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Bagaimana cara menampilkan nilai integer menggunakan `printf`?
`printf("%d", nilai);`
`printf("nilai");`
`printf("%i", nilai);`
`printf("Nilai: %d", nilai);`
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Sintaks mana yang benar untuk mengambil input integer dari pengguna?
`scanf("%d", &angka);`
`scanf("%i", angka);`
`scanf("angka", &angka);`
`scanf("%d", angka);`
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa fungsi dari `scanf` dalam bahasa pemrograman C?
Menampilkan output ke layar
Mengambil input dari pengguna
Menghitung nilai
Menghentikan program
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang akan terjadi jika kita menggunakan `scanf` tanpa tanda `&` pada variabel integer?
Program akan berjalan normal
Nilai tidak akan disimpan
Program akan error
Nilai akan disimpan dengan benar
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa hasil dari operasi aritmatika berikut: 8 div 2 + 3?
7
6
5
4
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang akan ditampilkan oleh pernyataan berikut: `printf("%d", 4 + 5 * 2);`?
14
10
13
9
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
16 questions
EMTECH GAS 11 Q4 M3
Quiz
•
11th Grade - University
15 questions
construct 3 Digi
Quiz
•
12th Grade
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
15 questions
Program Implementation
Quiz
•
10th - 12th Grade
10 questions
Địa lý
Quiz
•
10th - 12th Grade
10 questions
TLJ - Jenis PBX (SMKN 1 Ketapang)
Quiz
•
12th Grade
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
10 questions
Kiểm tra học kỳ 1 lớp 2
Quiz
•
2nd Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade