
Preetest Pemrograman Bahasa C
Authored by deka susanti
Computers
11th Grade
Used 51+ 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 itu variabel dalam bahasa C?
Variabel adalah tipe data dalam bahasa C
Variabel adalah fungsi dalam bahasa C
Lokasi memori yang digunakan untuk menyimpan nilai yang dapat berubah selama program berjalan.
Variabel adalah operator dalam bahasa C
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikan contoh penggunaan variabel dalam bahasa C.
int x = 5;
double w = 2.718;
char z = 'A';
float y = 3.14;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendeklarasikan variabel dalam bahasa C?
int num;
num = 5;
string num;
float num;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
saat sebuah program bahasa c, tertulis printf("saya bisa !");
maka yang tercetak adalah...
saya bisa
saya bisa!
Saya Bisa
saya bisa !
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jelaskan perbedaan antara if, else if, dan else dalam bahasa C.
Else digunakan untuk kondisi tambahan
If digunakan untuk kondisi ganda
If digunakan untuk kondisi tunggal, else if digunakan untuk kondisi tambahan, dan else digunakan sebagai kondisi default.
Else if digunakan untuk kondisi default
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menggunakan loop while dalam bahasa C?
Tidak perlu deklarasi variabel loop sebelum menggunakan while dan blok kode didalamnya
Gunakan while loop tanpa kondisi untuk menjalankan blok kode
Gunakan for loop dengan kondisi yang sama seperti while dan blok kode didalamnya
Deklarasikan variabel loop, lalu gunakan while dengan kondisi yang harus terpenuhi untuk menjalankan blok kode di dalamnya.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa kegunaan dari statement switch dalam bahasa C?
Untuk memilih salah satu dari beberapa opsi yang berbeda berdasarkan nilai ekspresi tertentu.
Untuk menghentikan eksekusi program berdasarkan perintah
Untuk menambahkan nilai variabel berdasarkan nilai ekspresi tertentu
Untuk mengurangi performa program berdasarkan nilai ekspresi tertentu
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
python-BTxâu
Quiz
•
9th - 12th Grade
15 questions
Asesmen Diagnostik Non Kognitif (Gaya Belajar)
Quiz
•
11th - 12th Grade
12 questions
Quiz Jaringan Nirkabel
Quiz
•
5th Grade - University
10 questions
Asesmen Diagnostik Sistem Komputer
Quiz
•
10th Grade - University
10 questions
ASESMENT DIAGNOSTIK
Quiz
•
9th - 12th Grade
10 questions
BAB 1 INFORMATIKA
Quiz
•
9th - 12th Grade
10 questions
Découverte de l'intelligence artificielle
Quiz
•
1st Grade - University
11 questions
C#. Знакомство с ООП и WindowsForms
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
10 questions
Evaluating Piecewise Functions Practice
Quiz
•
11th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade