Soal-soal C++

Quiz
•
Computers
•
11th Grade
•
Hard
Ika Diyah
Used 17+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Tipe Data dalam Pemrograman

Quiz
•
11th Grade
13 questions
String Manipulation

Quiz
•
9th - 11th Grade
7 questions
Pretest Karakter dan String

Quiz
•
11th Grade
10 questions
Soal Desain Grafis

Quiz
•
9th - 12th Grade
10 questions
Quiz Pemrograman Dasar Python

Quiz
•
9th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
Comp Sci Unit 2 #4

Quiz
•
11th Grade
15 questions
ULANGAN HARIAN 3.11

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade