
Soal Dasar Bahasa C kelas XI

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Parida Iriyanti
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tipe data yang digunakan untuk menyimpan nilai bilangan bulat di C?
float
double
char
int
void
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah operator yang digunakan untuk membandingkan dua nilai dalam C?
=
==
!=
>
<
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi standar untuk mencetak output ke layar di bahasa C adalah?
print()
printf()
cout
println()
scanf()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sintaks mana yang benar untuk mendeklarasikan sebuah array integer berisi 5 elemen di C?
int arr[5];
int arr = {5};
arr[5] = int;
int array(5);
int arr(5);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut? c Copy code int x = 5; printf("%d", x++);
6
4
5
Error
Tidak ada output
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang merupakan pernyataan benar tentang for loop di C?
for loop selalu memiliki satu syarat
for loop tidak dapat digunakan dengan array
for loop digunakan untuk perulangan dengan batas tertentu
for loop hanya bisa berjalan sekali
for loop tidak bisa menggunakan variabel integer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan terjadi jika sebuah program C dijalankan tanpa menyertakan file header #include
Program tetap berjalan normal
Program akan menampilkan error saat kompilasi
Tidak ada output dari program
Program berjalan, tapi tanpa error
Program langsung crash
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Uji Pemahaman Berpikir Komputasioal

Quiz
•
8th Grade - University
10 questions
Sequencing Blockly - 2

Quiz
•
7th Grade - University
10 questions
Asesmen awal

Quiz
•
10th Grade
15 questions
LATIHAN SOAL DEV C++

Quiz
•
10th Grade
6 questions
Мультимедиа в HTML

Quiz
•
10th Grade
10 questions
Soal Koding & Kecerdasan Artifisial untuk SMA/SMK

Quiz
•
9th - 12th Grade
9 questions
Dasar Koding dan Kecerdasan Artifisial

Quiz
•
10th Grade
15 questions
Bài 27

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry

Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade