
BAB KOD ARAHAN TINGKATAN 2
Authored by NORAYU Moe
Computers
2nd Grade
Used 1K+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Terdapat 3 jenis penterjemah dalam bahasa pengaturcaraan, iaitu
Penghimpun
Pentaksir
Pengkompil
Pelaksanaan
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Setiap bahasa pengaturcaraan mempunyai satu senarai jenis data. Pilih jenis data yang digunakan dalam Python
Double
String
Boolean
Char
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah jenis data bagi 'Saya suka ASK' dalam Python
float
srr
double
str
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tentukan output bagi
print('The result is',10%3)
The result is 0
The result is 1
The result is 2
The result is 3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tentukan output bagi
print('The result is',6**3)
The result is 18
The result is 36
The result is 216
The result is 333
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tentukan output bagi
a=str("ASUS VivoBook")
print(a[6])
A
U
i
V
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tentukan output bagi
a=str("ASUS VivoBook")
print(a[6:9])
Viv
ivo
ivoB
S Vi
Access all questions and much more by creating a free account
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
Already have an account?