
LATIHAN SOAL DEV C++
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Medium
DEWI SARI
Used 12+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan compiler dalam konteks pemrograman C++?
Program yang menghubungkan berbagai file kode C++.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah di antara berikut ini yang bukan merupakan tipe data dasar dalam C++?
int
float
string
char
double
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pernyataan manakah yang benar tentang operator ++ dalam C++?
Hanya dapat digunakan untuk menambah nilai variabel dengan 1.
Dapat digunakan sebelum atau sesudah variabel.
Selalu menghasilkan nilai integer.
Hanya dapat digunakan dengan tipe data integer.
Semua pernyataan di atas benar.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari keyword return dalam sebuah fungsi C++?
Mengembalikan nilai dari fungsi ke pemanggilnya.
Keluar dari fungsi.
Mencetak nilai ke layar.
Meminta input dari pengguna.
Mendefinisikan sebuah fungsi baru.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah di antara berikut ini yang merupakan cara yang benar untuk mendeklarasikan sebuah array berukuran 10 elemen dengan tipe data integer?
int array[10];
int array(10);
array[10] = int;
int 10[array];
array = int[10];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah di antara berikut ini yang bukan merupakan bagian dari struktur dasar sebuah program C++?
Header file
Fungsi utama (main function)
Variabel
Objek
Komentar
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tujuan dari menggunakan komentar dalam kode C++?
Untuk membuat kode lebih efisien.
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
Already have an account?
Similar Resources on Wayground
20 questions
Kelas 8 - Halaman 10 (UH Bab 1)
Quiz
•
8th Grade - University
15 questions
KEAMANAN DATA
Quiz
•
9th - 12th Grade
20 questions
Kuis Ms Word 1
Quiz
•
7th Grade - University
20 questions
Quiz Roblox Studio 2
Quiz
•
4th Grade - University
20 questions
PENGAYAAN ULANGAN HARIAN PYTHOON
Quiz
•
10th Grade
20 questions
Sumatif_Informatika Gasal TP. 2024/2025
Quiz
•
10th Grade
10 questions
Jaringan Komputer dan Internet Kelas X
Quiz
•
10th Grade
20 questions
ELEMEN INFORMATIKA
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
