Search Header Logo

Latihan Soal

Authored by Ida Utami

Computers

11th Grade

Used 4+ times

Latihan Soal
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

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");

cin>>"Hello Word";

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara membuat komentar di C++?

/*Ini komentar

# 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?

Input

Cout

Getch

Cin

Output

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

string

txt

int

float

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dibawah ini adalah cara yang tepat untuk deklarasi variabel bilangan dengan tipe integer di C++!

$bilangan;

int bilangan;

bilangan int;

var bilangan;

string bilangan;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tipe data yang digunakan untuk menghasilkan nilai TRUE dan FALSE adalah?

Integer

Float

Double

Boolean

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?