KV4008 Assignment October 2023 to January 2024 Module Title: Module Code: Academic Year / Semester: Module Tutor / Email (all queries): % Weighting (to overall module): Assessment Title: Date of
Handout to Students: Mechanism for Handout: ASSESSMENT BRIEF Mechanism for Submission: Submission Format / Word Count Mechanism for return of Feedback and Marks: E 堂 Northumbria Module Blackboard Site E EEE AM! Computing Fundamentals KV4008 2023-24 Semester 1 Chris Rook_c.rook@northumbria.ac.uk 100% University NEWCASTLE Computing fundamentals assignment 2nd October 2023 Your work should be submitted using the link on eLP (Blackboard), in the assessment folder. Submit a single document, preferably a Word document or PDF, with answers to all questions - your essays, program code and screenshots of the Digital Works circuit. To help us mark your work efficiently, please also submit: 1 A .dwm file for your Digital Works circuit for task 2. ● A text file containing WASP code for task 3, formatted correctly for the Sting assembler. Please do not put your work into a zip file. Submit these as separate files. In the week 22nd January to 26th January, you will be asked to demonstrate your WASP program (question 3) at the University. The times for these will be published before December. Marks and individual feedback will be uploaded to the Module Site on Blackboard. For further queries please email module tutor. KV4008 Assignment October 2023 to January 2024 Learning outcomes This assessment covers all module learning outcomes: 1. Demonstrate knowledge of set theory, logic and computer models and apply them in modelling software, systems, and data. 2. Demonstrate knowledge of the architecture of a von Neumann computer and how storage, arithmetic and I/O system interact in such a computer. 3. Describe how data and instructions are represented and stored in a von Neumann computer and how high-level language abstractions relate to the machine implementation. 4. Apply appropriate tools and methods to program von Neumann machines. 5. Discuss major paradigms of Computation and their application in software systems. Al tools You are welcome to use automated tools to check spelling and grammar. You are not permitted to use Al tools such as ChatGPT or Copilot to author text or code. The difference should be obvious. A grammar checker will correct grammar in text that you have written. Al authoring will create new text that is not your own work. If you are unsure, you should acknowledge the use of tools in your assignment submission, clearly stating which tools you have used, and which text has been affected. Individual assignment This is an individual assignment. You should not work with other people to do this work, including other students on the module. You should take care to make sure that other students cannot see your work. If you allow other students to copy your code or essays, you could both be accused of collusion. Keep your assignment solution in password-protected storage and do not share it over email, Discord, etc. If another student asks you for help, you are welcome to explain any of the concepts we have taught on the module, including the seminar questions, but do not help them with the assignment. In the long run, doing the work for them will not help them. If you need help completing the work, ask the tutors for help. We are available in the workshops, via email, or by using our drop-in times. There will be time in the week 12 workshop set aside to answer questions about the assignment. Instructions for Assessment: There are three tasks. You should attempt all three tasks. Tasks 1 and 2 are each worth 30% of the marks for the module. Task 3 is worth 40% of the marks for the module. 2 KV4008 Assignment October 2023 to January 2024 Task 1 Set theory The (fictional) town of Dunwich has a central bus station, with four bus stops (named A, B, C and D). с A Ticket office Waiting area There are six bus routes (numbered 1, 2, 12, 6a, 6b, and 43), which go to various destinations. The tables below give information about the bus routes. This table shows which bus you should take to get to different destinations: Destination Chapel Street Sentinel Hill Great Yith Park Innsmouth Road Aylesbury Pike This table shows which bus stop each route leaves from Bus route 1 2 6a 6b 12 43 Bus stop A A B Bus route 1, 2, ба 2, 6b 12 43 2, 43 D B 3 KV4008 Assignment October 2023 to January 2024 This table shows the departure times for each route: ● (The buses depart all day, but this is long enough for the exercise.) This information can be organised into relations. It is then possible to use composition and other set operations to extract useful information. Write an essay of no more than 1000 words to demonstrate: ● Time 8:00 8:10 8:15 8:30 9:00 9:15 9:25 9:30 9:40 ● Bus route 1 2 1 6a 43 1 6b 43 6a How this information can be represented as sets and relations using the notation used on the module. How you would use composition to find the correct bus stop to catch a bus to Great Yith Park. (Use the notation taught on the module.) How you can use composition to find the departure time of buses to each destination. (Show both the calculation and the result.) Another example of set operations used to calculate potentially useful information. You should explain how you have used set theory, using no more than 1000 words. The word count does not include anything expressed in set notation. For example, if you list the contents of sets or relations, this will not contribute to the word count. KV4008 Assignment October 2023 to January 2024 Task 2 - Logic circuits We want you to make a logic circuit similar to the ones we have done in class. To make sure you all have a different problem, we will use your student code to generate the problem. Your student code has eight digits. For example: 20016432 Each digit is a number from 0 to 9. Some digits are in your student code and some are not. For example, in the code above, the digit "6" is in the student code, but the digit "8" is not. Some digits are included more than once. For example, in the code above, the digit “2” is used more than once. The same applies to the digit "0". One of the digits will be the largest digit in the code. In the example above, "6" is the largest digit. You are going to create a logic circuit using Digital Works that provides four switches so the user can enter a number from 0 to 15 in binary. This number will be used to represent a possible value of a decimal digit from 0 to 9. (A four-digit binary number goes up to 15, of course. The numbers 10 to 15 - or 1010 to 1111 in binary - are not used.) For example, the switches below represent the binary value 0110, or the digit “6”. O You will connect these switches to a logic circuit using Digital Works. The circuit will light up one or more LEDs, depending on the decimal equivalent of the binary value entered. There are four LEDs, labelled as shown below. Not included - Included. - More than once Highest. If the digit IS NOT part of your student code, it will light up the “Not included” LED. If the digit IS part of your student code, it will light up the “Included" LED. If the digit is used MORE THAN ONCE in your student code, it will light up the "More than once" LED. If the digit is the highest-value digit in your student code, it will light up the "Highest" LED. 5