Assessment Criteria – Computational Mathematics and Computer Architecture: Individual Assignment
ASSESSMENT SUMMARY
Question 1
1. Convert 1100 10012 to the following formats. Show your working clearly:
(6 marks)
2. Evaluate the following expressions. Show your working clearly:
(6 marks)
3. Binary Converter Program - Write a program to accept a single binary number of up to 8 bits and display the equivalent in decimal.
(4 marks)
Question 2
1. Given the following matrices
-2 1 2 1 0 2
π΄π΄ = ( ) , π΅π΅ = ( ) , πΆπΆ = ( )
-5 -2 7 -3 4 8
Evaluate the following, showing your steps clearly.
(12 marks)
2. Matrix Processing Program - Write a program to accept a 2 x 4 matrix from user input and find the following:
(8 marks)
Question 3
Given an expression
ππ(ππ + ππ) + (ππ + ππ. ππ)(ππ + ππ) + ππ + ππ. ππ
1. Draw the Boolean logic circuitry
(8 marks)
2. Construct the truth table for the above expression
(8 marks)
3. Simplify the Boolean expression.
(8. marks)
Question 4
Complete the following programs:
a. Driving Academy App - Write a program that ask for your age to determine the eligibility to learn theory or driving in the driving academy.
(6 marks)
2. Children Incentive Program - Write a program to determine the incentive from government X depending on the person’s number of children.
Request for input again until the user chooses to quit with a negative input for the children.
(6 marks)
3. Lucky Draw Game - Write a program that randomly generates a set of 7 winning numbers ranging from 1 to 30. The user will then be asked to key in 3 numbers.
(8 marks)
Question 5
Smart Plotter Program - Design an application that displays a menu to ask the user to choose whether to:
The user can choose then proceed to plot a simple 2D line, a scatter plot or a pie chart. The program will continue displaying the menu to allow the user to choose until the user chooses to quit the application.
(20 marks)
COMPUTATIONAL MATHEMATICS & COMPUTER ARCHITECTURE
Computational Mathematics and Computer Architecture |
Total Marks |
Marks awarded |
|||
Question 1 (a) β Question 1 (b) |
0 β 4 marks |
5 β 8 marks |
9 β 12 marks |
12 |
|
No working shown, Only answers shown. Author does not detail the steps.. |
Steps for solving the problems are detailed but there are some problems or lack of detailed steps to the solution |
Solution has detailed steps to reach the solution. Each step is necessary for the next step. |
|||
Question 1 (c) |
0 β 1 marks |
2 β 3 marks |
4 marks |
4 |
|
Able to read in values from user |
Able to read bit values and convert into decimal values |
Able to read bit values of the correct length and convert into appropriate decimal values. |
|||
Question 2(a) |
0 β 4 marks |
5 β 8 marks |
9 β 12 marks |
12 |
|
No working shown, Only answers shown. Author does not detail the steps.. |
Steps for solving the problems are detailed but there are some problems or lack of detailed steps to the solution |
Solution has detailed steps to reach the solution. Each step is necessary for the next step. |
|||
Question 2(b) |
0 β 3 marks |
4 β 6 marks |
7 β 8 marks |
8 |
|
Able to read in a 2 x 4 matrix and display its values and able to display the maximum, minimum element in each column |
Able to read in a 2 x 4 matrix and display its values and able to display the maximum, minimum element, average of all elements for the entire matrix |
Able to fulfill the requirements |
|||
Question 3(a) |
0 β 3 marks |
4 β 6 marks |
7 β 8 marks |
8 |
|
The Boolean Circuitry is drawn with correct number of gates and gate types but somewhat wrong inputs |
The Boolean Circuitry is drawn with correct number of gates and gate types and correct inputs |
The Boolean Circuitry is drawn with correct number of gates and gate types, correct inputs and intermediate steps with correct labeling to reach the solution |
|||
Question 3(b) |
0 β 3 marks |
4 β 6 marks |
7 β 8 marks |
8 |
|
No working shown, Only answers shown. Author does not detail the steps.. |
Steps for solving the problems are detailed but there are some problems or lack of detailed steps to the solution |
Solution has detailed steps to reach the solution. Each step is necessary for the next step. |
|||
Question 3(c) |
0 β 3 marks |
4 β 6 marks |
7 β 8 marks |
8 |
|
No working shown, Only answers shown. Author does not detail the steps.. |
Steps for solving the problems are detailed but there are some problems or lack of detailed steps to the solution |
Solution has detailed steps to reach the solution. Each step is necessary for the next step. |
|||
Question 4(a) |
0 β 2 marks |
3 β 4 marks |
5 β 6 marks |
6 |
|
Able to read in values from user and display the values read |
Able to read in values from user and display the values read and shows correct print out of the program |
Able to read in desired values from the user, display the correct output with evidence of testing |
|||
0 β 2 marks |
3 β 4 marks |
5 β 6 marks |
|||
Question 4(b) |
Able to read in values from user and display the values read |
Able to read in values from user and display the values read and shows correct print out of the program |
Able to read in desired values from the user, display the correct output with evidence of testing |
6 |
|
Question 4(c) |
0 β 3 marks |
4 β 6 marks |
7 β 8 marks |
8 |
|
Able to read in values from user and display the values read |
Able to read in values from user and display the values read and shows correct print out of the program |
Able to read in desired values from the user, display the correct output with evidence of testing |
|||
Question 5 |
0 β 8 marks |
9 β 16 marks |
17 β 20 marks |
20 |
|
Able to read in values from user and display the values read |
Able to read in values from user and display the values read, plot the selected charts properly and exit the loop correctly |
Able to read in values from user or file correctly, save to files, plot the desired charts properly with correct labelling and exit the loop properly. |
|||
Formative comments on submission |
100 |
||||
WEIGHTAGE |
80% |
Follow Us