DIT 15969 Programming Technologies Level 1.1: Introduction to Programming
Assignment 3
Using the pseudocoding methods shown in class, express the following situation using pseudocode. You may find it useful to complete a flowchart first, but you need only include the pseudocode for this assignment.
Your traveling zoo must be moved.
Your zoo contains multiple animals and types of animals (reptiles, birds, large predators, fish). Moving them involves selecting the transport method (large/small cage, glass cage, tank). Here is a list of your animals:
- 4 Lions
- 2 Elephants
- 28 Piranhas (fish)
- 13 Penguins
- 20 Gophers
You have the following cages in unlimited amounts:
- Small cages
- Medium cages
- Large cages
- Aquariums
- Refrigerated cages
Only 1 animal should go in each cage (hint: you will need to loop through each type of animal until they are done)
Loops, functions conditionals, and variables will all help to complete this assignment.
Use parentheses ( ) to enclose whatever conditions (decisions) are used, and curly braces { } to enclose the code blocks that go along with these conditions. Also remember to use parentheses and curly braces for functions. Use proper indenting to make your assignment easier to understand and read.
Print the assignment, including a cover page with your name, the date, and the assignment number (3) clearly shown. The title of the page should be:
Programming Technologies Level 1.1: Introduction to Programming - Assignment 3
Include the assignment problem from above, so it is easy to tell what your pseudocode is for.
Marking
Here is how you will be graded on this assignment:
| Criteria | 0 Marks | Partial Marks | Full Marks | Potential Total |
|---|---|---|---|---|
| Loops | No loops used in the assignment |
Loops are used, but not properly.
|
Loops are used properly throughout. | 20 |
| Variables | No variables used in the assignment. |
Variables stated at the beginning, but not used.
(5-15 marks) |
Variables used properly in the assignment. | 20 |
| Function | No functions used. |
Function in assignment, but not used properly.
(5-15 marks) |
At least 1 function (more is ok) used properly in the assignment. | 20 |
| Parentheses | No parentheses used in assignment. |
More parentheses could have been used, or parentheses used incorrectly.
(2-13 marks) |
Parentheses used correctly when needed. | 15 |
| Curly braces | No curly braces found in assignment |
More curly braces could have been used, or curly braces used incorrectly.
(2-13 marks) |
Curly braces used correctly when needed. | 15 |
| Problem solved | Pseudocode does not solve the problem at all. |
Pseudocode somewhat solves the problem
(1-9 marks) |
Pseudocode correctly solves the problem. | 10 |
| Total Mark | 100 |
Coming Soon:
- Feb 13
- ISSD 24 - XML
- Feb 21
- ISSD 23 - Web 2.0 Technology
- Feb 23
-
Facebook for Business
Hours: 2
Cost: Free!
- Feb 25
-
Search Engine Optimization (SEO)
Hours: 2
Cost: Free!
- Feb 25
-
Search Engine Marketing (SEM)
Hours: 2
Cost: Free!
- Mar 05
- ISSD 23 - Ajax
Assignment 1 - Assignment 2 - [ Assignment 3 ] - Books -
