ASK T3-STRUKTUR KOD ARAHAN

Quiz
•
Computers
•
9th Grade
•
Hard
Cikgu Zunie
Used 614+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Antara berikut, pernyataan yang manakah betul mengenai persamaan function dan procedure
ditulis oleh pengguna
memulangkan satu nilai
terbahagi kepada dua jenis
mempunyai nama khusus yang eksplisit
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
berikut menunjukkan sintaks pentakrifan suatu user-defined function.
Antara berikut, manakah kegunaan bagi pernyataan return?
mentakrifkan function
pemboleh ubah untuk menerima argument
memulangkan nilai yang dihasilkan function
menerima data yang dihantar semasa dipanggil
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Antara berikut, manakah yang betul mengenai parameter
mentakrifkan procedure
arahan untuk melaksanakan satu tugas
memulangkan nilai atau output yang dihasilkan
pemboleh ubah yang menerima nilai yang dihantar kepada function semasa dipanggil
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
sum, max, min dan index merupakan library bagi user-defined function.
Betul
Salah
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
sum, max, min dan index merupakan library bagi user-defined function.
Mempunyai pernyataan return
Kod sumber tidak boleh dilihat
Mempunyai badan function (set arahan)
Mempunyai nama (bahagian pengepala)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah yang berikut merupakan persamaan antara built-in function dan user-defined function?
Perlu ada argumen
mempunyai perkataan return
Kod sumber yang boleh dilihat
Mempunyai nama yang unik dan tidak boleh diubah
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Apakah output bagi kod aturcara berikut?
a=(1,2,3,4,5)
x=sum(a)
print(x)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Agents of Tech

Quiz
•
7th - 12th Grade
15 questions
ASK T2 - Bab 3 - Persekitaran Kod Arahan

Quiz
•
8th - 9th Grade
20 questions
ASK T3 : 1.1 Pembangunan Aturcara

Quiz
•
1st - 12th Grade
10 questions
ASK TINGKATAN 1 BAB 2 (Operasi tambah dan tolak)

Quiz
•
9th - 12th Grade
20 questions
Asas Sains Komputer Tingkatan 3

Quiz
•
9th Grade
15 questions
UBM ASK T3 Tamb - Chuah Soon Jo

Quiz
•
9th Grade
19 questions
LINEAR DAN BINARY SEARCH

Quiz
•
9th - 10th Grade
18 questions
STM 32

Quiz
•
5th Grade - University
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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade