Search Header Logo

Quiz Pemrograman C

Authored by Wahyu Yudistira

Computers

12th Grade

Used 2+ times

Quiz Pemrograman C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dimaksud dengan fungsi main() dalam program C?

Fungsi untuk menampilkan output

Fungsi untuk mendefinisikan variabel

Fungsi utama yang menandai awal eksekusi program

Fungsi untuk menangani kesalahan

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa tipe data yang digunakan untuk menyimpan nilai numerik desimal di C?

int

char

float

double

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari kode berikut ini?

printf("Hello, World!");

Hello, World

Hello World

hello, world

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Simbol mana yang digunakan untuk menandai akhir sebuah statement di C?

. (titik)

: (titik dua)

; (titik koma)

, (koma)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa kegunaan dari fungsi printf()?

Membaca input dari user

Menulis data ke file

Menampilkan output ke layar

Mendeklarasikan variabel

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pernyataan apa yang digunakan untuk mendeklarasikan konstanta di C?

const

constant

var

define

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa keyword yang digunakan untuk mendefinisikan tipe data bilangan bulat?

float

int

double

char

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?