XI LAT. SOAL 2 PSAS INF XI F

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
Insan Mulyana
Used 2+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menjelaskan apa yang dimaksud dengan array.
Dalam C++, bagaimana cara mendeklarasikan array dengan ukuran 5?
Answer explanation
2.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menjelaskan cara array menyimpan sebuah nilai.
Apa yang terjadi jika Anda mencoba mengakses indeks yang lebih besar dari ukuran array?
Answer explanation
3.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menjelaskan bagaimana cara memberikan dan mengakses nilai sebuah array.
Untuk memberikan nilai 10 pada elemen kedua array arr[5] yang sudah dideklarasikan, pernyataan yang benar adalah...?
Answer explanation
4.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menjelaskan apa yang dimaksud dengan array multidimensi.
Bagaimana cara mendeklarasikan array dua dimensi di C++ dengan ukuran 3x3?
Answer explanation
5.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menggunakan array satu dimensi dalam sebuah program.
Dani ingin menghitung rata-rata dari elemen array arr[] = {2, 4, 6, 8, 10};
kode yang benar untuk menghitung rata-rata adalah...?
sum = 0; for(int i=0; i<5; i++) sum += arr[i]; avg = sum / 5;
avg = sum / 6; for(int i=0; i<5; i++) sum += arr[i];
sum = 0; for(int i=1; i<=5; i++) sum += arr[i];
sum = 0; for(int i=0; i<6; i++) sum += arr[i];
rata_rata = (2 + 4 + 6 + 8 + 10) / 5;sum = 0; avg = sum / 5;
Answer explanation
6.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menggunakan array multidimensi dalam sebuah program.
Dalam array dua dimensi int arr[2][2] = {{1, 2}, {3, 4}};, bagaimana cara mengakses elemen 4?
Answer explanation
7.
MULTIPLE CHOICE QUESTION
2 mins • 20 pts
TP. Menggunakan array dalam sebuah perulangan di dalam program.
Bagaimana cara menggunakan perulangan for untuk mencari nilai terbesar dalam array int arr[] = {3, 1, 4, 1, 5};?
Answer explanation
Create a free account and access millions of resources
Similar Resources on Wayground
53 questions
Quiz Informatika Semester Genap

Quiz
•
10th Grade
50 questions
Informatika X

Quiz
•
10th Grade
49 questions
Latihan Soal USP Kompetensi Keahlian RPL

Quiz
•
12th Grade
50 questions
Asesmen Diagnostik Kelas 12 RPL 4

Quiz
•
12th Grade
45 questions
XII Infor TP 3 Strategi Algoritmik Fase F

Quiz
•
12th Grade
50 questions
Ujian Informatika Kelas 10

Quiz
•
10th Grade - University
50 questions
informatika/SIMDIG XI (ASAS 2425)

Quiz
•
11th Grade - University
50 questions
Indikator Soal Informatika

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade