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

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
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 Quizizz
10 questions
Arrays

Quiz
•
10th - 12th Grade
12 questions
Arrays Intro

Quiz
•
9th - 12th Grade
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
10 questions
Kuis Array 1

Quiz
•
11th Grade
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
20 questions
ULANGAN HARIAN-2 INFORMATIKA ARRAY

Quiz
•
11th Grade
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
15 questions
Latihan UPS2

Quiz
•
5th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade