Introduction to Computer Systems
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
CSSE2010/7201 Introduction to Computer Systems
Examination Duration: 120 minutes
Planning Time: 10 minutes
Exam Conditions:
•This is an Open Book examination
•Casio FX82 series or UQ approved and labelled calculator only
•During Planning Time - Students are encouraged to review and plan
responses to the exam questions
•This examination paper will be released to the Library
Materials Permitted in the Exam Venue:
(No electronic aids are permitted e.g. laptops, phones)
* Open-book: Any additional written or printed material is permitted;
material may also be annotated.
Materials to be supplied to Students:
Additional exam materials (e.g. answer booklets, rough paper) will
be provided upon request.
None
Instructions to Students:
If you believe there is missing or incorrect information impacting
your ability to answer any question, please state this when writing
your answer.
Answer all questions in the space provided. Do not use red pen to
answer.
For Examiner Use Only
Question
Mark
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Total _________
Semester One Examinations, 2023 CSSE2010/7201
Page 2 of 20
Question 1. (15 marks)
(a) Perform the following number representation conversions and answer any subsequent
questions. Show your working.
(i) 3-digit hexadecimal number 0x91F to 4-digit octal and to decimal format. What is
the minimum number of D flip-flops required to store your answer? (2 marks)
(ii) 12-bit binary signed magnitude number 1000 0000 0111 to 12-bit binary ones
complement format. What is the range of both formats? (2 marks)
(iii) Decimal number (-118) to 8-bit binary two’s complement format (1 mark)
(iv) A programmer ordered “11011110110010101111 coffee” in binary. What did the
programmer order in hexadecimal? (1 mark)
(v) Express the decimal number (-131) in 9-bit excess-256 and two’s complement
formats. (2 marks)
8
Semester One Examinations, 2023 CSSE2010/7201
Page 3 of 20
(b) Consider the 8-bit binary two’s complement numbers A=00100011 and B=11011101.
(i) What is the result of A+B in 8-bit binary two’s complement format? Show your
working. Here, + indicates addition. (2 marks)
(ii) What are the values (0 or 1) of negative (N), zero (Z), carry (C) and overflow (V)
flags after completing the above 8-bit computation in (b)-(i)? (1 mark)
N: Z: C: V:
(c) Express the decimal number (-48.875) in 32-bit IEEE single-precision floating point
format. Show your working and express the final answer in 8-digit hex. (3 marks)
(d) Write down in 8-digit hex the representation of IEEE single-precision floating point of
the negative of the number in (c) above. (1 mark)
3
3
Q1
/15
1
Semester One Examinations, 2023 CSSE2010/7201
Page 4 of 20
Question 2. (12 marks)
Consider the logic diagram shown below and answer the following questions. , , , , , !, ", and ! are Boolean valued inputs and is a Boolean valued output.
(a) Complete the following truth table using , , , , (3 marks)
(b) What values need to be assigned to , , , , inputs to generate the desired
function Z = " ⋅ ! + X! ⋅ Y" ⋅ Y! at the output? (3 marks)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
3
3
Semester One Examinations, 2023 CSSE2010/7201
Page 5 of 20
(c) Considering the truth table for the given function in part (a), provide the unsimplified
sum-of-product (SOP) logic expression for , where each product term contains exactly
3 variables. (1 mark)