Search Header Logo

Algo dan Pemograman

Authored by Fadhli Ranuharja

Computers

1st - 5th Grade

Used 12+ times

Algo dan Pemograman
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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 • 5 pts

Bagaimana cara membuat komentar di C++ ?

/* Ini komentar

# Ini komentar

// Ini komentar

< Ini komentar >

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

:

,

::

;

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

cint

cout

cin

getch

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

Benar

Salah

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Hasil dari eksekusi program berikut adalah ?

Program int main() { cout<<"Hi everybody"; return 0; }

"Hi everybody"

Hi everybody"

Hi everybody

"Hi everybody

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Yang manakah yang BUKAN operator logocal dalam bahasa C++ ?

&

&&

||

!

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?