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
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
BAB 3 : KOD ARAHAN

Quiz
•
7th - 12th Grade
21 questions
Sains Komputer Tingkatan 4 : Struktur data & Modular

Quiz
•
9th - 12th Grade
20 questions
ASK T2-MENGESAN DAN MEMBAIKI RALAT DALAM SEGMEN KOD

Quiz
•
8th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
PEMBOLEHUBAH,PEMALAR DAN JENIS DATA

Quiz
•
7th - 12th Grade
20 questions
SKT4-1.3: PEMBOLEH UBAH, PEMALAR DAN JENIS DATA

Quiz
•
10th - 11th Grade
20 questions
ASK Form 2 : Persekitaran Kod Arahan

Quiz
•
1st - 5th Grade
20 questions
Asas Sains Komputer T2

Quiz
•
2nd - 3rd Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade