
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
12 questions
2ND QUARTER REVIEW 2
Quiz
•
12th Grade
10 questions
Random functions
Quiz
•
12th Grade
12 questions
UTS Semester 1 Informatika 2024/2025
Quiz
•
8th Grade - University
12 questions
Характеристики зображення та засобів його відтворення
Quiz
•
1st - 12th Grade
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
13 questions
Copyrights and Wrongs Assessment
Quiz
•
9th - 12th Grade
15 questions
REMIDI SUBNETTING IPV4
Quiz
•
12th Grade
10 questions
Komputer Server vs Komputer Client
Quiz
•
12th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade