Kuis 2

Quiz
•
Computers
•
University
•
Hard
Ika yun
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Struktur dasar program dalam bahasa C terdiri dari?
Library, Main Function, Body
Variable, Main Function, Print
Header, Main Function, Looping
Header, Body, Footer
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Tipe data apa yang digunakan untuk menyimpan nilai numerik dengan desimal dalam bahasa C?
int
float
char
double
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Bagaimana cara mendeklarasikan variabel integer dalam bahasa C?
integer x;
int x;
x int;
int(x);
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Manakah dari berikut ini yang merupakan loop di pemrograman C?
if
for
switch
goto
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Apa yang dilakukan perintah scanf dalam C?
Mengambil input dari user
Menampilkan data ke user
Menyimpan data ke file
Mengubah tipe data
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Manakah perintah yang digunakan untuk mendeklarasikan konstanta dalam bahasa C?
#define
const
let
static
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Apa output dari program berikut?
int x = 10;
if(x < 10)
printf("Less than 10");
else
printf("Equal or greater than 10");
Less than 10
Equal or greater than 10
Error
Tidak ada output
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Round_1 (B)| Coding Combat 2.0

Quiz
•
University
30 questions
Coding Club_SNSCE Quiz (28-04-2023)

Quiz
•
University
30 questions
C Quiz 2

Quiz
•
University
40 questions
Java Programming

Quiz
•
University
30 questions
Basics of C

Quiz
•
University
40 questions
Data Structures and Algorithms Quiz

Quiz
•
University
30 questions
C-Programming

Quiz
•
University
30 questions
BUG@MASTER

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade