2 - Basic Code Structure and Errors
star
star
star
star
star
Last updated almost 4 years ago
13 questions
1
Which function’s body is executed ONCE and FIRST?
Which function’s body is executed ONCE and FIRST?
1
Which function’s body is executed over and over again until power goes off?
Which function’s body is executed over and over again until power goes off?
1
Refer to the block of code for the prompt below. LEDpin is an example of a _______________
Refer to the block of code for the prompt below.
LEDpin is an example of a _______________
1
What number should x be if you want your program to pause for 5 seconds when using the delay(x) function?
What number should x be if you want your program to pause for 5 seconds when using the delay(x) function?
1
Semicolons (;) should be on every line of code in a program.
Semicolons (;) should be on every line of code in a program.
1
Enter the symbols you would use to turn a LINE of text into a comment.
Enter the symbols you would use to turn a LINE of text into a comment.
1
_____________ are caused when programmers write bad code.
_____________ are caused when programmers write bad code.
1
If your code is uploaded successfully but your project doesn’t work as expected you can suspect that you have _______________ in your program.
If your code is uploaded successfully but your project doesn’t work as expected you can suspect that you have _______________ in your program.
1
Wiring ________________ can happen even when your code is perfect if your wiring is incorrect.
Wiring ________________ can happen even when your code is perfect if your wiring is incorrect.
1
Missing semicolons is an example of ____________________.
Missing semicolons is an example of ____________________.
1
Not having your Arduino plugged in is an example of ________________.
Not having your Arduino plugged in is an example of ________________.
1
When your system is supposed to count up but you programmed it to count down, you are experiencing ___________.
When your system is supposed to count up but you programmed it to count down, you are experiencing ___________.
1
What is the first step towards creating a solution?
What is the first step towards creating a solution?