
Uji Pemahaman Bahasa C Dasar

Quiz
•
Computers
•
11th Grade
•
Hard
Khairullah Khairullah
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tipe data yang digunakan untuk menyimpan bilangan bulat di C?
double
float
char
int
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari ekspresi 5 / 2 di C?
3
1
2.5
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendeklarasikan variabel bertipe float di C?
int myVariable;
float myVariable;
double myVariable;
char myVariable;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan struktur kontrol dalam bahasa C?
Struktur kontrol adalah mekanisme yang mengatur alur eksekusi program.
Struktur kontrol adalah bagian dari sintaksis bahasa C.
Struktur kontrol adalah jenis data dalam bahasa C.
Struktur kontrol digunakan untuk mendeklarasikan variabel.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa perbedaan antara pernyataan if dan switch?
Pernyataan 'if' hanya digunakan dalam loop.
Pernyataan 'if' untuk kondisi boolean, 'switch' untuk memilih dari beberapa nilai.
'Switch' tidak dapat menangani kondisi boolean.
Pernyataan 'if' dan 'switch' memiliki fungsi yang sama.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menulis loop for di C?
for (int i = 0; i < n; i--) { // kode }
for (i = 0; i < n; i++) { // kode }
for (int i = 1; i <= n; i++) { // kode }
for (int i = 0; i < n; i++) { // kode }
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari program berikut: printf("%d", 10 + 5);?
20
10
15
5
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Array

Quiz
•
10th - 12th Grade
15 questions
Array

Quiz
•
11th Grade
20 questions
Fase F - Array

Quiz
•
11th Grade
20 questions
Java, part I

Quiz
•
11th Grade - University
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
10 questions
PROGRAMACION

Quiz
•
9th Grade - University
20 questions
APCS A - Array 6.1,6.2,6.3,6.

Quiz
•
9th - 12th Grade
15 questions
Area and Arrays

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade