PHASE 3 ASSESSMENTS
PHASE 3.1 — FORMATIVE ASSESSMENT
1. Which of these statements is FALSE?
- When electric current flows through pins, it can be detected by program code to distinguish a pin is "On".
- Program code can cause electric current to flow through a GPIO pin to an LED and back to another GPIO pin in order to light up an LED.
- Hardware and software interact in Piper circuits and code to cause things to happen such as turning on LEDs.
- Piper circuits and code cannot interact together to cause things to happen.
2. Which statement accurately describes the difference between pseudocode and programs?
- Pseudocode is more difficult to read and understand than programs.
- Pseudocode can be translated into machine language of 1s and 0s.
- Pseudocode is written for humans to understand and programs are written for computers to understand.
- Pseudocode is graphical blocks that can be moved like puzzle pieces on the screen.
- A step-by-step set of operations to be performed that can solve a problem.
- A special type of advanced math.
- A sequence of code that repeats multiple times to create music rhythms.
- A reptile with big teeth.
4. Why are loops used in programming?
- To start and stop the code.
- To gather up all the data so it doesn’t get lost.
- To run the same sequence of code multiple times.
- To make sure the code is not duplicated.
5. What is a sequence in coding?
- The name of a special code in Blockly.
- A series of steps for a task.
- A group of small shiny objects that are sewn into clothing.
- A special type of electronic device used in music.
6. Which of these is NOT an example of a sequence of instruction?
- Turn pin 22 on, Wait 2000 ms, Turn pin 22 off
- Take out the parts, assemble the device from parts, plug in the power, turn on the device
- Take two steps forward, turn to the right, shake it, take two steps back
- Buttons, LEDs, wires, buzzers, switches and breadboards
- A professional who is good at grammar and writes great code
- An algorithmic set of instructions that a computer processes to achieve a particular objective.
- An ordered list of steps that people follow to feel better
- An algorithmic set of instructions that a person follows to win games
8. To accomplish a task with the Piper Computer, we create a system where wires and buttons in a circuit are the ___, and the code we write to control what happens is part of the ___.
- Hardware, Software
- Software, Hardware
- Outputs, Inputs
- Peripherals, Screen
9. Which of the following terms are NOT related to computational thinking?
- logic, problem solving, analyzing data, algorithms, sequences
- putting things in order, ordered steps, respond to challenges, design a solution
- texting, posting pics, emojis, stickers
- going from start to finish, complexity, troubleshooting, debugging
Alternative question 9
9. List 4 aspects of computational thinking.
PHASE 3.2 — FORMATIVE ASSESSMENT
1. When you use a Repeat block to do something over and over again in code, you create a ____.
- Condition
- Circle
- Loop
- Path
2. One good strategy for writing complex code is to ___.
- Break it up into smaller manageable tasks.
- Write it all at once.
- Write the code as fast as you can and worry later if it works or not.
- Pull out all the blocks first and try different combinations.
3. What do you do when your code doesn’t accomplish the intended goal or task?
- Get angry and give up
- Ask someone else to fix it
- Analyze, debug, and test it until it works
- Ask the teacher for the answer
4. When you write code that has a series of steps to accomplish a task, you are creating an __.
- Algebraic
- Algorithm
- Annotation
- Automation
5. When coding in PiperCode, what do you click on to test your code?
- Engineering Tab
- Start Button
- Help Button
- Electronics Tab
6. When running your code in PiperCode, where can you check to see if current is flowing to the right GPIO pin?
- Raspberry Pi pin map
- Project Tutorial
- Component Library
- Python button
7. The PiperCode projects we are writing code for are programmed in ___?
- Mouse language
- Blockly language
- Scratch language
- Python language
8. In coding, a series of steps for a task is called a _____.
- Sequence
- Loop
- Signal
- Conditional
9. A good practice before writing code is to write out the steps in plain language for a human to understand. This is called ___.
- Rhythm code
- Pseudo code
- Human code
- Parcel code
In PiperCode, you can view your code in which text-based programming language?
- Blockly
- Scratch
- Python
- Linux
PHASE 3.3 — FORMATIVE ASSESSMENT
1. What is an event in coding?
- One thing causing another thing to happen
- One thing causing a loop
- One thing having no effect on other things
- One thing that stops the code from working
2. Which of the following is an example of writing an event when you are coding?
- Repeat forever
- Repeat while Pin __ is On
- Turn Pin __ Off
- Turn Pin __ On
3. To run a sequence of code as long as a condition is true, you use a __ block in Blockly.
- Repeat forever
- Repeat _ times
- Repeat while
- Turn Pin __ On
4. To run a sequence of code over and over again, you use a __ block in Blockly.
- Repeat forever
- Repeat _ times
- Repeat while true
- Turn Pin __ On
5. Why would you place one Repeat loop within another Repeat loop (a nested loop)?
- You want the emphasize to the computer that you want the sequence to repeat forever.
- You want 3 LED's to light up in order over and over and blink at a particular rate when they're lighting up.
- You want a sequence of events to occur one time.
- You want to make 3 LED's blink over and over forever.
6. When your code does not do what you thought it would, what do you do?
- Change one thing at a time and try again.
- Read the code one line at a time to figure out which one may need correcting.
- Verify the Pin numbers in the code and whether they are being set to On or Off with the pin map.
- All of these things.
- Inputs, Outputs
- Outputs, Inputs
- Inputs, Inputs
- Outputs, Outputs
8. How did you get your LED turn on using code in PiperCode?
- It happens automatically, no control is needed
- Have the Pin connected to the LED turn on when the Pin connected to the button is On
- Repeat the sequence of code forever
- Check when the LED Pin is Off and turn it On
PHASE 3.4 — FORMATIVE ASSESSMENT
1. Going through existing code and fixing the mistakes is called _____
- Sequencing
- Debugging
- Debarring
- Hashing
2. Which of these is a good troubleshooting strategy?
- Step through the code, line by line, to identify what does not work as expected
- Display the value of Variables using a Print block
- Ask someone else to go through the code with you as you explain it
- All of these are good troubleshooting strategies
3. Which of these runs a sequence of code multiple times?
- Turn Pin __ On
- Play Sound
- Wait until Pin __ is Off
- Repeat forever
4. One thing causing another thing to happen in code is called___.
- a Loop
- a Conditional
- an Event
- a Sequence
5. Which of these is an example of an event in code?
- Turn Pin __ On
- Play Sound
- Wait until Pin __ is Off
- Repeat forever
6. Which of these is an example of running a sequence of code as long as a condition is true?
- Play Sound
- Repeat while Pin 24 is on
- Turn Pin __ On
- Turn Pin __ Off
7. Which of these code blocks will cause a sound output from the speaker?
- Turn Pin __ On
- Wait until Pin __ is Off
- Repeat forever
- Play Sound
8. Which of these code blocks will cause an LED to light up?
- Turn Pin __ On
- Wait until Pin __ is Off
- Repeat forever
- Play Sound
Questions for Additional Projects:
Variables:
9. A program storage location for information that is given a name is called a ___.
- Variable
- Loop
- Sequence
- Bug
10. Which of these code techniques is often used to check the value of a variable?
- Loops
- Sequences
- Actions
- Conditions
11. Which of these codes will increment the value in a variable?
- Wait until __ is ON
- Change __ by 1
- Set __ to 1
- If __ is 1
Loops:
12. To run a sequence of code a certain number of times, use a __ block.
- Repeat forever
- Repeat _ times
- Repeat while
- If Else
Conditions: (if, repeat while, compare)
13. A programming method for making decisions based on code that equates to true or false is called a __.
- Variable
- Loop
- Sequence
- Conditional
14. Which of these code blocks is used to compare one value to another and then do something based on the comparison?
- Repeat forever
- Repeat _ times
- If Else
- Play Sound