
Soal Dasar Bahasa C kelas XI
Authored by Parida Iriyanti
Information Technology (IT)
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
10 questions
Pengenalan Perangkat Lunak Kelas 7
Quiz
•
7th Grade - University
11 questions
Структурированный тип данных массив
Quiz
•
10th Grade - University
10 questions
7 класс программирование
Quiz
•
7th Grade - University
10 questions
Postest Sorting
Quiz
•
10th Grade
10 questions
EVALUASI STRUKTUR DATA
Quiz
•
10th Grade
14 questions
CPU Components Quiz
Quiz
•
10th Grade - University
12 questions
Quiz_Perteknologian
Quiz
•
10th Grade
10 questions
QUIZ TIK Kelas X SMK
Quiz
•
10th Grade
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade