Quiz Pemrograman C++

Quiz Pemrograman C++

10th Grade

30 Qs

quiz-placeholder

Similar activities

Asesmen Formatif

Asesmen Formatif

10th Grade

25 Qs

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

25 Qs

Assessment Tengah Semester Ganjil

Assessment Tengah Semester Ganjil

8th Grade - University

35 Qs

Struktur data dan validitas Sumber Data

Struktur data dan validitas Sumber Data

10th Grade

25 Qs

LATIHAN SOAL TENTANG CANVA

LATIHAN SOAL TENTANG CANVA

8th Grade - University

25 Qs

Latihan soal PTS kelas X

Latihan soal PTS kelas X

10th Grade

25 Qs

Internet dan Google Workspace

Internet dan Google Workspace

4th Grade - University

25 Qs

Algoritma, Flowchart, Pseudocode

Algoritma, Flowchart, Pseudocode

9th - 12th Grade

25 Qs

Quiz Pemrograman C++

Quiz Pemrograman C++

Assessment

Quiz

Information Technology (IT)

10th Grade

Practice Problem

Medium

Created by

Brama Prabowo

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa ekstensi file standar untuk program C++?

.c

.cpp

.java

.py

.cs

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fungsi utama yang wajib ada pada program C++ adalah?

void()

run()

main()

start()

begin()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Baris `#include ` berfungsi untuk?

Menyimpan variabel

Mengimpor library input-output

Membuat fungsi

Menampilkan hasil

Menjalankan program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pernyataan yang digunakan untuk mengakhiri sebuah perintah di C++ adalah?

, (koma)

: (titik dua)

; (titik koma)

. (titik)

! (seru)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Perhatikan kode berikut:
```cpp
#include <iostream>
using namespace std;
int main(){
 cout << "Halo";
 return 0;
}
```
Apa output dari program tersebut?

Error

Halo

hello

Kosong

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara menuliskan komentar satu baris di C++?

<!-- -->

/* ... */

// ...

## ...

** ...

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fungsi `cout` digunakan untuk?

Menghapus variabel

Menyimpan data

Menampilkan output

Menginput data

Membuat fungsi

Create a free account and access millions of resources

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?