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
15 questions
KUIS

Quiz
•
10th Grade - University
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
10 questions
Asesmen awal

Quiz
•
10th Grade
10 questions
Mesin Pencari

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

Quiz
•
10th Grade
7 questions
Algorithms & Programming

Quiz
•
6th Grade - University
15 questions
Pemrograman Visual dan Scratch

Quiz
•
7th Grade - University
8 questions
GO! Quizz Zeriusz Day 9

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University