
Pemrograman Dasar C++
Authored by Amri Yahya
Computers
10th Grade
Used 51+ times

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 • 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”);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara membuat komentar di C++ ?
/* 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?
cout
cin
getch
input
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
30 sec • 1 pt
Konstanta akan menampung nilai yang TIDAK dapat diubah-ubah selama program dijalankan. Pernyataan ini bernilai?
Benar
Salah
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?