Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does the pinMode(13, OUTPUT) function do?
Think about how we can control LED states.
What is pseudocode?
Consider how it can help in understanding program flow.
What does the loop() function do in the Arduino programming?
Consider how long the code keeps executing in an Arduino program.
True or False: Pseudocode requires correct syntax.
Remember the purpose of pseudocode in planning.
Write a program in C++ that blinks an LED in patters: fast (200ms), slow (1 second), fast again. Use comments to explain each part.
Remember to structure your `setup()` and `loop()` correctly.
Create a pseudocode for a robot that takes input from two light sensors and follows the light source. Describe how it decides to turn left or right.
Visualize how a person might turn towards a stronger light source.
5 more questions in this section. Enroll free to practise them all.
Enroll free