
Quiz Array Dimensi Satu dan Dua
Quiz
•
Information Technology (IT)
•
University
•
Easy
Arum Citra Dewi A
Used 52+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Apa bentuk pendeklarasian array dimensi dua?
Type_data nama_var[jumlah_elemen1][jumlah_elemen2][jumlah_elemen3];
Type_data nama_var[jumlah_elemen1][jumlah_elemen2];
Type_data nama_var[jumlah_elemen];
Type_data nama_var[jumlah];
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Int data1[4][5] = {{1,2,3,4,5}, {6,7,8,9,10}, {11,12,13,14,15}, {16,17,18,19,20}};
Berapa jumlah elemen pada contoh array dimensi dua yang dideklarasikan sebagai int data1[4][5]?
5
9
4
20
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Int data1[4][5] = {{1,2,3,4,5}, {6,7,8,9,10}, {11,12,13,14,15}, {16,17,18,19,20}};
Apa output dari perintah printf("%d",data1[1][3]); pada contoh program?
6
10
8
9
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Int data1[4][5] = {{1,2,3,4,5}, {6,7,8,9,10}, {11,12,13,14,15}, {16,17,18,19,20}};
Apa yang ditampilkan oleh perintah printf("%d",data1[0][4]);?
5
2
4
3
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Bagaimana cara menginisialisasi array dimensi dua?
int data1[4][5] = {{1,2,3,4,5}, {6,7,8,9,10}};
int data1[4][5] = {1,2,3,4,5};
int data1[4][5] = {{1,2,3,4,5}, {6,7,8,9,10}, {11,12,13,14,15}, {16,17,18,19,20}};
int data1[4][5] = {{1,2,3,4,5}, {6,7,8,9}};
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Apa yang akan terjadi jika kita mencoba mengakses data1[4][0]; pada array yang dideklarasikan dengan int data1[4][5]?
Nilai default 0
Akses gagal
Akses berhasil
Nilai acak
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Apa bentuk pendeklarasian array dimensi tiga?
Type_data nama_var[jml_elemen1][jml_elemen2][jml_elemen3];
Type_data nama_var[jml_elemen1][jml_elemen2];
Type_data nama_var[jml_elemen];
Type_data nama_var[jml_elemen1][jml_elemen2][jml_elemen3][jml_elemen4];
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Ôn tập HKI Công nghệ - Khối 4
Quiz
•
4th Grade - University
12 questions
Java_Quiz_Part_2
Quiz
•
University
15 questions
Getting Familiar with GIT and GITHUB
Quiz
•
University
15 questions
Mastering Python Control Flow
Quiz
•
University
15 questions
Python_MCQ_2
Quiz
•
University
15 questions
Quiz sobre Hardware e Software
Quiz
•
2nd Grade - University
10 questions
Python_Quiz_1
Quiz
•
University
12 questions
CLC Lesson 4&5 Quiz
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
