Search Header Logo

Pemrograman Dasar C++

Authored by Amri Yahya

Computers

10th Grade

Used 57+ times

Pemrograman Dasar C++
AI

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

Berikut Sintak yang benar untuk menghasilkan output ‘Hello World’ di C++ ?

cout<<“Hello World”;

print<<“Hello World”;

echo “Hello World”;

System.out.print(“Hello World”);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara membuat komentar di C++ ?

/* Ini komentar

# Ini komentar

// Ini komentar

< Ini komentar >

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Setiap perintah di dalam C++ selalu diakhiri dengan tanda?

:

;

}

]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perintah untuk menginput suatu nilai dari keyboard untuk di proses di dalam program adalah?

cout

cin

getch

input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suatu tempat yang berfungsi untuk menampung data atau nilai yang dapat berubah-ubah selama program berjalan disebut?

konstanta

variabel

define

function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Konstanta akan menampung nilai yang TIDAK dapat diubah-ubah selama program dijalankan. Pernyataan ini bernilai?

Benar

Salah

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tipe data apa yang digunakan untuk menyimpan variabel dengan nilai teks?

string

String

txt

TXT

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?