Assignment 1
Assignment 1
Assignment-1
Program: BS Computer Science
Assignment due date: 23 March, 2024
Question-1:
You are designing a computer system and need to decide on the number of bits to allocate for
representing integers. Describe the considerations you would consider and how you would
determine the appropriate size for integer storage.
Question-2:
Convert the signed decimal integer -42 to its 8-bit binary representation.
Identify the components of a typical x86 computer system.
Enumerate the segment registers commonly found in x86 architecture.
Determine the decimal value of the hexadecimal number 6BF9.
Question-3:
Your task is to implement a multiplexer with four input lines and two selector bits. Explain
how you would design the logic circuit for the multiplexer using basic logic gates and provide a
truth table to demonstrate its operation. Describe the process of designing a circuit to evaluate the
Boolean expression (A AND B) OR (C AND D), including the selection of logic gates and the
arrangement of components.
Question-4:
Discuss the role and importance of the 8253 Programmable Interval Timer/Counter in a typical
x86 computer system. How does it contribute to system functionality, and what tasks does it
perform? Provide examples of its functions and explain how they impact system operation.
Note:
i. Assignments in PDF format will be accepted in Teams group.
ii. 50% marks will be deducted in case of late assignment submission
iii. No copying of other student’s work is allowed. Zero marks will be
awarded in case of cheating.
Page 1 of 2