wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

BAHASA PENGATURCARAAN

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.
Bahasa Pengaturcaraan adalah 
a)
perkataan, simbol dan kod yang membolehkan manusia untuk berkomunikasi dengan komputer
b)
program komputer yang menterjemahkan bahasa peringkat tinggi kepada bahasa mesin
c)
kombinasi teks, audio, video grafik, dan animasi
d)
siri langkah demi arahan langkah yang memberitahu komputer apa yang perlu dilakukan.
2.
Manakah antara berikut Bahasa Pengaturcaraan Aras Rendah?
a)
Bahasa Tabii
b)
Bahasa Himpunan 
c)
Bahasa Prosedur
d)
Bahasa Bukan Prosedur.
3.
Aturcara komputer ditulis oleh _______
 
 
 
a)
pereka grafik
b)
pengaturcara
c)
pelukis pelan
d)
jurutera
4.

int LED1= 4;

What statement is this?

a)

Void Loop

b)

Void Setup

c)

Declaration

d)

C language

5.

int LED1=4;

What is 'int= integer' used for?

a)

Alphabets

b)

Capital and small letters

c)

Combination of Numbers and Alphabets

d)

Numbers

6.

int LED2=8;

What is number eight is referring in the coding above?

a)

Analog Pin

b)

5V

c)

Ground

d)

Digital Pin

7.

LED is setup-up to blink. LEDs is an

a)

Output

b)

Input

c)

pinMode

d)

digitalWrite

8.

digitalWrite (LED1,HIGH);

What does it means by HIGH?

a)

Blinking

b)

Switch OFF

c)

Switch ON

d)

Sequence

9.

delay (1000);

1000 in delay is equivalent to how many second?

a)

10s

b)

2s

c)

60s

d)

1s

10.

digitalWrite (LED1, HIGH);

delay(1000);

digitalWrite (LED1, LOW);

What does the program do?

a)

LED Switch Off at the beginning, wait for 60s and then switch ON.

b)

LED Switch ON at the beginning, wait for 10s and then Switch OFF.

c)

LED Switch ON at the beginning, wait for 1s and then switch ON.

d)

LED Switch ON at the beginning, wait for 1s and then switch OFF.