
Pemrograman C++ Dasar
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Easy
Yan Gymnastiar
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu variabel dalam C++?
Variabel dalam C++ adalah tempat penyimpanan data yang memiliki nama dan tipe tertentu.
Variabel dalam C++ adalah jenis data yang tidak dapat diubah.
Variabel dalam C++ adalah alat untuk mengukur waktu eksekusi program.
Variabel dalam C++ adalah fungsi yang mengembalikan nilai.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sebutkan jenis-jenis variabel data di C++!
int, float, double, char, string
list
boolean
array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara melakukan input data di C++?
Gunakan cin dan operator ekstraksi (<<) untuk input data di C++.
Gunakan cin dan operator ekstraksi (>>) untuk input data di C++.
Gunakan scanf dan operator ekstraksi (>>) untuk input data di C++.
Gunakan printf untuk input data di C++.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jelaskan fungsi dari 'cout' dalam C++!
Fungsi 'cout' berfungsi untuk mengubah format data dalam program.
Fungsi 'cout' adalah untuk menyimpan data ke dalam file.
Fungsi 'cout' dalam C++ adalah untuk menampilkan output ke konsol.
Fungsi 'cout' digunakan untuk menghapus output dari konsol.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu 'if' dalam C++?
'if' adalah fungsi untuk mengurutkan array
'if' digunakan untuk mendeklarasikan variabel
'if' dalam C++ adalah pernyataan kontrol untuk mengeksekusi kode berdasarkan kondisi.
'if' adalah tipe data dalam C++
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menggunakan 'if else' dalam C++?
Gunakan 'if (kondisi) { // kode } elseif { // kode }' untuk menggunakan 'if else'.
Gunakan 'if (kondisi) { // kode } else { // kode }' untuk menggunakan 'if else' dalam C++.
Gunakan 'if (kondisi) // kode; else // kode;' tanpa kurung kurawal.
Gunakan 'if (kondisi) { // kode }' tanpa else.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika kondisi 'if' tidak terpenuhi?
Blok kode 'if' selalu dijalankan.
Blok kode 'if' dijalankan hanya jika kondisi salah.
Kondisi 'if' akan selalu terpenuhi.
Blok kode 'if' tidak dijalankan.
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?
Similar Resources on Wayground
10 questions
JavaScript Variables & Hoisting Quiz
Quiz
•
Professional Development
12 questions
TEST AOC
Quiz
•
Professional Development
10 questions
2025-01 Python Belgrade QUIZ
Quiz
•
Professional Development
12 questions
SOAL TIK
Quiz
•
Professional Development
10 questions
[FE] Ice Breaking - Mastering CSS
Quiz
•
Professional Development
14 questions
Ficha Iniciação à Linguagem C#
Quiz
•
Professional Development
8 questions
Modelo Educativo Online
Quiz
•
Professional Development
10 questions
Iman dan IPTEK
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
