Search Header Logo
Coding Form 2 Revision

Coding Form 2 Revision

Assessment

Presentation

•

Computers

•

7th - 8th Grade

•

Practice Problem

•

Hard

Created by

Noel Banas

Used 22+ times

FREE Resource

1 Slide • 15 Questions

1

Coding Form 2 Revision

Slide image

2

Multiple Choice

Question image

What is the name of the microcontroller board that we used for Coding class?

1

Maker Maker

2

Arduino IDE

3

Maker UNO

4

Potentiometer

3

Multiple Choice

Question image

What is the name of the program that we used to type our code in the computer?

1

Maker IDE

2

Arduino UNO

3

Notepad

4

Arduino IDE

4

Multiple Select

Select which components we have learned in Level 1 (Form 1) Coding class :

1
2
3
4

5

Multiple Choice

digitalWrite(12,HIGH); will turn an LED in digital pin ___ to ___

1

12 , blink

2

13 , light up

3

13, turn off

4

12, light up

6

Multiple Choice

Which command will turn OFF an LED connected to digital pin 5?

1

digitalWrite(4, LOW);

2

digitalOff(5, LOW);

3

digitalWrite(5, LOW);

4

pinMode(5, LOW);

7

Multiple Choice

Question image

This component (LDR) is a sensor that will interact with...

1

Sound

2

Light

3

Touch

4

Magnet

8

Fill in the Blanks

What command do we use to PAUSE an Arduino program for 3 seconds?

Type answer...

9

Multiple Select

Which of the following functions can be used to a digital pin of the Arduino/Maker UNO?

1

digitalWrite()

2

analogWrite()

3

digitalRead()

4

pinMode()

10

Multiple Choice

Each line of an Arduino code must end with a symbol :

1

. (dot/full stop)

2

* (asterisk)

3

; (semi-colon)

4

, (comma)

11

Multiple Select

What are the 2 main functions that must exist in an Arduino code?

1

void setup()

2

void loop()

3

void main()

4

serial.begin()

12

Multiple Choice

What is the maximum value of analogWrite (that means it's "ALWAYS ON"?

1

0

2

255

3

1023

4

1000

13

Multiple Choice

What is the maximum value that analogRead() function can get from an analog pin?

1

0

2

5000

3

254

4

1023

14

Multiple Choice

Which function is correct to configure digital pin 10 as INPUT?

1

pinSet(10, INPUT)

2

pinMode(INPUT, 10)

3

pinMode(10,INPUT)

4

INPUT(pinMode,10)

15

Multiple Choice

Based on the code: digitalWrite(12,HIGH); delay(1000); digitalWrite(12,LOW); - what will happen to an LED connected to pin 12?

1

It will blink every 1 second

2

It will light up once and turn off permanently

3

It will turn on permanently

4

It will not turn on

16

Multiple Choice

Serial.print() and Serial.println() will print data on the...

1

Serial Monitor

2

Handphone

3

Notepad

4

Wifi

pattern-tertiary

Coding Form 2 Revision

Slide image

Show answer

Auto Play

Slide 1 / 16

SLIDE