Search Header Logo

Quiz C++ Grade 10

Authored by Elis Yuniasari

Computers

9th - 12th Grade

Used 1+ times

Quiz C++ Grade 10
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 • 10 pts

Apa Sintaks untuk menuliskan output dalam C++ ?

cout << "Hello World"

Print<<"Hello World"

output << "Hello World"

show<<"Hello World"

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Bagaimana cara menulis komentar dalam C++ ?

#ini komentar

<!ini komentar>

//ini komentar

<ini komentar>

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Cara membuat variabel di C++ ?

let umur = 15;

var umur = 15;

int umur = 15;

$umur = 15;

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Bagaimana cara membuat program meminta input untuk user ?

input(umur);

System.input();

inp(umur);

cin>>umur;

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

contoh file header yang benar adalah ...

iostream

cstdlib

#include<cstdlib>

cmath

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

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

:

;

}

)

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Berikut adalah file header yang berfungsi untuk menangani input/output di C++?

#include < stream >

#include < conio.h>

#include < iostream >

#include < iostring >

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?