Due: Thursday 11/07 10:00am
Submission name: test02.md
Write Possible Test Questions
With your TableBuddy™ write three potential test questions.
- The first two should be multiple choice questions with 4 options.
- The third one should be a function to program.
- This should be similar to the programming work you have had so far. Include all the information needed to write the function (formulas, etc).
Put both questions, and the answers in a markdown file. Using the following format (there is also a sample file on thesource
):
#### MC Question
Skill:
Options:
1.
2.
3.
4.
Answer:
---
#### MC Question:
Skill:
Options:
1.
2.
3.
4.
Answer:
---
#### Programming question:
Skills:
Possible solution:
```
```
Here is a filled in Example:
#### MC Question
Skill: 90001
What is the air speed of an unladen swallow?
Options:
1. 2 mph
2. 20 mph
3. 200 mph
4. African or European?
Answer: 4
---
#### MC Question:
Skill: 9002
Who you gonna call?
Options:
1. Transformers
2. Ghostbusters
3. Thundercats
4. Teenage Mutant Ninja Turtles
Answer: 2
---
#### Programming question:
Skills: 1,2,3
Write a function that draws a circle in the middle of the screen. The size and color should be parameters.
Possible solution:
```
void drawCircle(int s, color c) {
fill(c);
circle(width/2, height/2, s);
}
```
Skills
Skill | Minimal Competency | Developing Competency | Competency | Mastery |
---|---|---|---|---|
5. Working with Boolean Values | Understands the purpose of boolean values. | Demonstrates the appropriate use of comparison operators. | Demonstrates the appropriate use of comparison and boolean operators. | Writes functions that take in boolean values and/or return boolean values. |
11. Conditional Statements | Can use a single if statement correctly. |
Can use combined if and else statements correctly. |
Can use if , else if , and else correctly multiples times in a program. |
Can use multiple styles of combinations of conditional statements (i.e. nested, sequential) in a single program. |
13. Handling Events | Can modify the state of a running program using the keyPressed() method. |
Can modify the sate of a running program using multiple keys via the keyPressed() method. |
Can modify the state of a running program using mouePressed() , using the mouse’s coordinates in some way, as well as using keyPressed() |
Can work with all the keyboard and mouse event handling Processing functions. |
14. Using Objects | Can declare and Object variable and instantiate an Object using a constructor. | Can use multiple Objects in a program by calling methods on appropriately declared and instantiated Object variables. | Can use Objects in a program, describe how reference variables work, and how they are different from primitive variables. | Can use Objects and accurately make heap diagrams of Object variables and data. |
15. Writing Classes | Can design a class by grouping together ideas that should be encapsulated into a single class. | Can separate out the fields from the methods while designing a class. | Can write a class with fields, a single constructor and methods. | Can write classes with fields, and overloaded methods and constructors. |