
Soal-soal C++
Authored by Ika Diyah
Computers
11th Grade
Used 22+ 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
1 min • 10 pts
Apa output dari program di samping?
a% b = 3
a % b = 1
a % b = 0
a % b = 2
a% b = 4
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Apa nilai dari arr[2] setelah kode berikut dijalankan?
2
4
6
8
10
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Apa yang akan diprin oleh fungsi berikut ?
Tidak ada output
Halo, dunia!
Error: fungsi tidak didefinisikan dengan benar
Dunia, halo!
Hallo
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Pengaksesan larik biasanya dibuat dengan menggunakan perulangan. Perulangan dalam pemrograman disebut juga dengan istilah …….
Repeated
Looping
Alternate
String
Vector
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Pustakan dalam Bahasa pemrograman C yang digunakan untuk mengakses fungsi penggabungan string dan pencarian substring adalah ……
<stdio.h>
<vector>
<cstdlib>
<iostream>
<string.h>
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa fungsi dari operator 'new' dalam C++?
Mendelete sebuah objek
Mengalokasikan ruang memori untuk objek baru
Menginisialisasi sebuah objek
Menghapus sebuah objek
Memindahkan sebuah objek
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa fungsi dari pernyataan 'cin' dalam C++?
Menampilkan output ke layar
Mengambil input dari pengguna
Mendeklarasikan variabel
Menghapus variabel dari memori
Menghitung panjang string
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
LATIHAN DASAR-DASAR MS. OFFICE WORD
Quiz
•
9th - 12th Grade
11 questions
X-11
Quiz
•
11th Grade
10 questions
Struktur Kawalan Pilihan Bersarang
Quiz
•
4th - 12th Grade
10 questions
SOAL ULANGAN MYOB PERUSAHAAN DAGANG
Quiz
•
11th Grade
10 questions
Latihan Class Library
Quiz
•
9th - 12th Grade
15 questions
PH 1 INFORMATIKA XI
Quiz
•
11th Grade
14 questions
Konsep K3 Fiber Optik
Quiz
•
11th Grade
10 questions
Embeded System
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade