
Pemrograman
Quiz
•
Computers, Other
•
11th Grade
•
Medium
Nur Asmainah
Used 23+ times
FREE Resource
Enhance your content
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Tipe data yang tepat untuk menyimpan bilangan bulat dalam C++ adalah:
float
char
string
double
int
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Apa yang menjadi perbedaan antara "cout" dan "cin" dalam bahasa pemrograman C++?
"cout" untuk input, "cin" untuk output
"cout" digunakan untuk mencetak, "cin" untuk melakukan perhitungan
"cout" digunakan untuk mengambil input, "cin" untuk menampilkan output
"cout" untuk menampilkan output, "cin" untuk mengambil input
Tidak ada perbedaan, keduanya memiliki fungsi yang sama
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Pernyataan "int x = 5;" dalam C++ mengindikasikan:
x adalah variabel yang tidak bisa diubah
x adalah variabel yang nilainya tidak boleh lebih besar dari 5
x adalah variabel yang nilainya bisa diubah
x adalah variabel dengan nilai awal 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Apa fungsi dari pernyataan "cin" dalam C++?
Untuk memberikan output pada layar
Untuk melakukan perhitungan matematika
Untuk menentukan kondisi dalam percabangan
Untuk mendapatkan input dari pengguna
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Tipe data yang tepat untuk menyimpan bilangan pecahan (desimal) dalam C++ adalah:
int
char
string
bool
float
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Untuk menyimpan sebuah nilai teks dalam C++, tipe data yang digunakan adalah:
int
float
string
char
bool
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Program sederhana untuk menampilkan pesan "Selamat Pagi!" ke layar menggunakan pernyataan "cout" dalam C++ adalah:
print("Selamat Pagi!");
cout << "Selamat Pagi!";
output("Selamat Pagi!");
cout >> "Selamat Pagi!";
console.log("Selamat Pagi!");
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Тест Python 2023
Quiz
•
9th - 12th Grade
25 questions
Pemrograman Web dan Perangkat Bergerak XI-RPL 1
Quiz
•
11th Grade
25 questions
KISI - KISI UTS 2023 KLS XI INFORMATIKA BAB 1-2
Quiz
•
11th Grade
25 questions
Remidial PSAS 2023
Quiz
•
11th Grade
25 questions
MySQL
Quiz
•
11th Grade
26 questions
Test Periudha I
Quiz
•
10th - 12th Grade
35 questions
GUIA NO 4 FINAL JUEGO DINAMICO
Quiz
•
9th - 12th Grade
27 questions
C++ Chapter 11-15 Quiz
Quiz
•
11th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade