4 . Push Button LED

4 . Push Button LED

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

6th Grade ICT - Inputs and Outputs -  CAA 2023

6th Grade ICT - Inputs and Outputs - CAA 2023

6th Grade

11 Qs

9 . Arduino Piano

9 . Arduino Piano

6th - 8th Grade

10 Qs

Roboticando com Arduino no CST

Roboticando com Arduino no CST

6th - 8th Grade

12 Qs

2. LDR Module

2. LDR Module

1st - 12th Grade

10 Qs

PICAXE - AXE092

PICAXE - AXE092

8th - 12th Grade

10 Qs

Arduino Programming Quiz

Arduino Programming Quiz

6th - 8th Grade

10 Qs

Introduction of Arduino

Introduction of Arduino

6th - 8th Grade

12 Qs

Saklar | Push Button

Saklar | Push Button

8th Grade

10 Qs

4 . Push Button LED

4 . Push Button LED

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Youngbot Academy

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of a push button in an Arduino circuit?

To control the flow of current

To provide power to the circuit

To control the brightness of the LED

To act as a switch that sends an input signal to the Arduino

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Arduino pin mode is used to read the state of a push button?

OUTPUT

INPUT_PULLUP

ANALOG

PWM

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

What we can call this position ?

Button released

Button is ON

Button not pressed

Button is hold

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Push button is not connected properly

Ground is not connected

Led connection is wrong

resistor is positioned in wrong place

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

which two are connected in pushbutton?

1 & 3 are connected,

2&4 are connected

1&2 are connected,

4&3 are connected

1&4 are connected,

2&3 are connected

4&3 are connected,

2&1 are connected

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to set up the initial state of pins in an Arduino sketch?

  • digitalWrite()

pinMode()

loop()

init()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

choose the correct option to control led using pushbutton .

int buttoninfo = digitalRead(pushbutton);

if(buttoninfo == 0){

digitalWrite(led, HIGH); }

if(buttoninfo == 1){

digitalWrite(led, HIGH);}

int buttoninfo = digitalRead(pushbutton);

if(buttoninfo == 0){

digitalWrite(led, LOW); }

if(buttoninfo == 1){

digitalWrite(led, HIGH);}

int buttoninfo = digitalRead(pushbutton);

if(buttoninfo == 0){

digitalWrite(led, LOW); }

if(buttoninfo == 1){

digitalWrite(led, LOW);}

int buttoninfo = digitalRead(pushbutton);

if(buttoninfo == 0){

digitalWrite(led, HIGH); }

if(buttoninfo == 1){

digitalWrite(led, LOW);}

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?