Search Header Logo

PENDIDIKAN TEKNIK INFORMATIKA

Authored by DAVINA ARAMITA

Information Technology (IT)

University

PENDIDIKAN TEKNIK INFORMATIKA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa fungsi utama variabel dalam pemrograman C++?

Menyimpan data sementara

Menjalankan program

Menampilkan output ke layar

Membuat koneksi internet

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tipe data apa yang digunakan untuk menyimpan angka desimal?

int

float

char

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa keluaran datri program berikut ini ?

cout << "Hello, World!" << endl;

cout << "Hello, World!"

Error

Tidak ada keluaran

Hello, World!

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa fungsi dari main() dalam program C++?

Untuk mendefinisikan variabel

Sebagai titik awal eksekusi program

Untuk menampilkan output

Untuk menyimpan data

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah yang merupakan komentar di C++?

#komentar

/*komentar

//komentar

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara mendeklarasikan variabel integer?

float x;

char x;

int x;

bool x;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari program berikut?

int x = 5, y = 10;

cout << x + y << endl;

15

5

10

Error

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?