1. String [] NamaBulan = {"Januari", "Februari", "Mac", "April", "Mei", "Jun"};
Apakah saiz tatasusunan NamaBulan ?
Sains Komputer t4: Tatasusunan & Subaturcara
Quiz
•
Computers, Science
•
1st - 10th Grade
•
Medium
NAZIRAH Moe
Used 20+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. String [] NamaBulan = {"Januari", "Februari", "Mac", "April", "Mei", "Jun"};
Apakah saiz tatasusunan NamaBulan ?
5
6
7
4
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2. String [] NamaPelajar = {"Fera", "Johan", "Lestari"};
Manakah antara berikut merupakan kod Java yang betul untuk mencetak elemen "Johan".
System.out.print (NamaPelajar[1]);
System.out.print (NamaPelajar[2]);
System.out.print (NamaPelajar[0]);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. int [] MarkahUjian = {77, 88, 99};
System.out.print (MarkahUjian[1]);
Apakah nilai yang akan dicetak oleh kod yang berwarna hijau tersebut?
Tiada
77
88
99
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. int [] UmurPelajar = {16, 17, 18, 19};
System.out.print (UmurPelajar[4]);
Apakah nilai yang akan dicetak oleh kod yang berwarna hijau tersebut?
17
19
18
tiada
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
double [] TinggiPelajar = {1.65, 1.54, 1.30};
System.out.print (TinggiPelajar[2]);
Apakah nilai yang akan dicetak oleh kod yang berwarna hijau tersebut?
1.54
1.65
1.30
Tiada
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. String [] HaiwanPeliharaan = {"Kucing", "Burung", "Iguana", "Hamster"};
Manakah antara berikut merupakan kod yang salah dan tidak dapat digunakan ?
System.out.print (HaiwanPeliharaan[0]);
System.out.print (HaiwanPeliharaan[2]);
System.out.print (HaiwanPeliharaan[1]);
System.out.print (HaiwanPeliharaan[4]);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. String [] Nama = {"Ali", "Abu", "Ahmad"};
Apakah jenis data bagi tatasusunan berikut ?
String
char
boolean
int
20 questions
quiz dasar python
Quiz
•
1st Grade - University
20 questions
SKT4-1.3: PEMBOLEH UBAH, PEMALAR DAN JENIS DATA
Quiz
•
10th - 11th Grade
21 questions
BİLGİSAYAR BİLİMİ QUİZ
Quiz
•
9th Grade
20 questions
Python spr
Quiz
•
1st - 5th Grade
20 questions
ASK Form 2 : Persekitaran Kod Arahan
Quiz
•
1st - 5th Grade
20 questions
ASK TING 3 BAB 4 : KOD ARAHAN
Quiz
•
9th Grade
25 questions
SAINS KOMPUTER TINGKATAN 4 - 1.6 STRUKTUR DATA DAN MODULAR
Quiz
•
7th - 12th Grade
20 questions
ASK T2 - Kod Arahan (Python)
Quiz
•
7th Grade - University
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade