Apa tipe data yang digunakan untuk menyimpan nilai bilangan bulat di C?

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
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 Quizizz
10 questions
Uji Pengetahuan Algoritma dan Pemrograman

Quiz
•
10th Grade
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
15 questions
Uji Pemahaman Analisis Data

Quiz
•
10th Grade
10 questions
Asesmen awal

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

Quiz
•
10th Grade
15 questions
Pengulangan dalam Pemrograman

Quiz
•
10th Grade
15 questions
IT/CS Review Quizzizz

Quiz
•
6th Grade - University
12 questions
Review loops

Quiz
•
8th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade