ENS1161_S2_2023_Final_Assessment_v1

.pdf

School

Edith Cowan University *

*We aren’t endorsed by this school

Course

1161

Subject

English

Date

Jun 3, 2024

Type

pdf

Pages

7

Uploaded by JudgeSummerDeer35

School of Engineering ENS1161 Computer Fundamentals Final Assessment Released: 12:00 noon Friday 27 October 2023 Due: 12:00 noon Monday 30 October 2023 Note: Submission link will be disabled after due time - no late submissions will be accepted. Submission: To be submitted electronically via Canvas link. PDF or Word documents only. Marks: Out of 60, 30% of unit Assessment Type: This assignment is an individual assessment. Purpose Using this short-duration assessment, you will demonstrate your understanding of the unit material by interpreting the information provided and applying the various concepts covered in this unit to answer the questions posed. Task To complete this assessment, you will need to answer the 3 questions given. Each question refers to specific information provided in the form of tables or figures, and each has been broken down into a series of specific sub-questions . You will need to answer ALL questions based on the information provided. Please answer the questions concisely. Long answers will NOT give you extra marks. Use numbered lists or bullet points if the question requires you to describe a sequence of events or steps. While the task will be open for a number of days and there is no time limit, it should take you around 2 to 3 hours of actual working time if you have understood all the unit material. You can work out the amount of information required for each sub-section based on the number of marks allocated. Total marks for the assessment is 60 marks and it is worth 30% of the unit mark . Task Instructions To complete this assessment: Answer ALL questions; Create an underlined heading for each answer with the question number, as shown below: Question 1 a) ..…………. ……………. b) ……………
ENS1161 FA S2 2023 2 Resources Provided Before completing the assessment, please: Read the Task Description and Questions below carefully. Refer to the Figures and/or Tables presented with each question. Allowed Resources You may also use the following resources to complete this assessment: Any materials included in Canvas for this unit this semester. Your own assignment material Notes you made in-class or at home. External research material (must be fully referenced - both in-text and end-text - and appropriately paraphrased) Prohibited Resources Other student's work Any other person's / organisation’s work, unless fully referenced and appropriately paraphrased. Academic Integrity Normal academic integrity rules apply to this individual assignment, including plagiarism, collusion and contract-cheating. All written content will be checked through Turnitin and other metrics upon submission of your work.
ENS1161 FA S2 2023 3 Questions Question 1: Processor function and data representation (25 marks) As part of Portfolio Exercise 1, you had to describe what the hypothetical processor described in the lecture slides (and simulated using the animation provided) would do during the execution of one of the instructions . The following questions should be answered based on the same hypothetical processor. Assume that the system uses little-endian format for storing numerical data. Figure 1 shows some of this processor’s instruction set with the opcodes given in both hexadecimal and binary. Figure 2 shows the contents of two parts of its main memory (in hex) with the program to be run starting at location C000h. The first 3 instructions shown perform the same function as the single line of high-level language code Sum = num1 + num2; a) From the contents of the first part of the memory map in Figure 2 (from address C000h to C00Fh), write down the program in assembler code (using the information in Figure 1 ). (6) b) Given the contents of memory as in Figure 2 , show in BINARY the inputs and output of the ALU during the execution of the second instruction in memory. Show the full working to find the binary output and thereby work out what the values of the C, N and V flags would be at the end of this instruction. (5) c) What value would be stored in memory by the 3 rd instruction? Give your answer in binary or hex. Hint: The data bus is 8-bits wide. (1) d) Binary integers can be interpreted as unsigned integers OR signed integers. Show the decimal value of the two numbers added and the result stored in memory if they were interpreted as: i. Unsigned 8-bit integers ii. Signed 8-bit integers (3) e) One of the answers stored above does not make sense. Identify which, and explain why it does not make sense. (2) f) Explain what the 4th to 6th instructions are doing and why the code is there. (6) g) What would an appropriate value be for the contents of memory location C00Ch (i.e. hex value that the xx represents)? Give clear reasoning for your answer. Hint: Refer to the answers to the previous parts. (2)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help