Search Header Logo

MPP - Soal Pemrograman C++

Authored by Mulyono Mulyono

Other

11th Grade

Used 7+ times

MPP - Soal Pemrograman C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 3 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

1 min • 3 pts

Bagaimana cara membuat komentar di C++ ?

/* Ini komentar

# Ini komentar

// Ini komentar

< Ini komentar >

3.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

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

:

;

]

}

4.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

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

cout

cin

getch

input

5.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

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

1 min • 3 pts

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

Benar

Salah

7.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?