Professional Documents
Culture Documents
Important Instructions
1. All questions are compulsory.
2. Answer all the questions in the same sequence of Question Paper.
3. Assignment’s content should be free of plagiarism and it should be submitted within given
deadline.
4. The fonts for writing your answers should be either Calibri (12 pts) or Times New Roman (12 pts).
SECTION – A
Short answer type questions (Word Limit 200 to 300) (8 x 5 = 40 marks)
1. With an ASCII keyboard, each keystroke produces the ASCII equivalent of the
designated character. Suppose you type PRINT X and 651-M What is the output of
an ASCII keyboard. (Ref Table 1.5 Module 3)
Ans-
ASCII, abbreviation of American Standard Code For Information Interchange, a standard data-
transmission code that is used by smaller and less-powerful computers to represent both textual
data (letters, numbers, and punctuation marks) and noninput-device commands (control
characters).
1. A728=1010011100101000
2. C319=1100001100011001
3. 5A4D=101101001001101
4. 2CF8=10110011111000
5. AAFF=1010101011111111
3. Convert each of thse binary numbers to an equivalent of octal numbers.
i. 11101000
ii. 110010110
iii. 1010111101101
iv. 1000101111010110
v. 100000010000001
Ans-
1. 11101000=350
2. 110010110=626
3. 1010111101101=12755
4. 1000101111010110=105726
5. 100000010000001=40201
Encoders –
An encoder is a combinational circuit that converts binary information in the form of a 2 N input lines
into N output lines, which represent N bit code for the input. For simple encoders, it is assumed that
only one input line is active at a time.
Truth Table –
D7 D6 D5 D4 D3 D2 D1 D0 X Y Z
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 1 0 0 0 1
0 0 0 0 0 1 0 0 0 1 0
0 0 0 0 1 0 0 0 0 1 1
0 0 0 1 0 0 0 0 1 0 0
0 0 1 0 0 0 0 0 1 0 1
0 1 0 0 0 0 0 0 1 1 0
1 0 0 0 0 0 0 0 1 1 1
As seen from the truth table, the output is 000 when D0 is active; 001 when D1 is active; 010 when
D2 is active and so on.
Decoders –
A decoder does the opposite job of an encoder. It is a combinational circuit that converts n lines of
input into 2n lines of output.
Truth Table –
X Y Z D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Applications Of Decoder And Encoder
Speed Synchronization of Multiple Motors in Industries
War- Field -Flying Robort with a Night Vision Flying Camera
Robotic Vehicle with Metal Detector
RF based Home Automation System
Automatic Wireless Health Monitoring System in Hospitals for Patients
3. Construction a JK Flip Flop By Using SR Flip Flop NAND and NOR latchs.
Ans-
Ans-
In Computer Architecture, the Registers are very fast computer memory which are used to execute
programs and operations efficiently. This does by giving access to commonly used values, i.e., the
values which are in the point of operation/execution at that time. So, for this purpose, there are
several different classes of CPU registers which works in coordination with the computer memory to
run operations efficiently. The sole purpose of having register is fast retrieval of data for processing
by CPU. Though accessing instructions from RAM is comparatively faster with hard drive, it still isn’t
enough for CPU. For even better processing, there are memories in CPU which can get data from
RAM which are about to be executed beforehand. Above registers we have cache memory, which
are even faster than registers.
Accumulator:
This is the most frequently used register used to store data taken from memory.
It is in different numbers in different microprocessors.
Memory Address Registers (MAR):
It holds the address of the location to be accessed from memory. MAR and MDR
(Memory Data Register) together facilitate the communication of the CPU and
the main memory.
Memory Data Registers (MDR):
It contains data to be written into or to be read out from the addressed location.
General Purpose Registers:
These are numbered as R0, R1, R2….Rn-1, and used to store temporary data
during any ongoing operation.
Program Counter (PC):
Program Counter (PC) is used to keep the track of execution of the program. It
contains the memory address of the next instruction to be fetched.
Instruction Register (IR):
The IR holds the instruction which is just about to be executed. The instruction
from PC is fetched and stored in IR.
Applications of Registers-Registers are responsible for the fetching of the instructions from the
program to the processor, thereby running the whole computer architecture.They provide the
memory space for the instructions to be stored at the earliest time possible.These registers increase
the efficiency of the different operations like pipelining and hence provide speed to the operations in
the program in the computer architecture.
5. Determine the minimum SOP Expression from the given K-Maps and draw logical
circuit diagram for the final expression.
Ans-
6. Discuss various types of memories in computer system and represent a diagram of
Ans-Memory is the most essential element of a computing system because without it computer can’t
perform simple tasks. Computer memory is of two basic type – Primary memory(RAM and ROM) and
Secondary memory(hard drive,CD,etc.). Random Access Memory (RAM) is primary-volatile memory
and Read Only Memory (ROM) is primary-non-volatile memory.
1. Random Access Memory (RAM) –
It is also called as read write memory or the main memory or the primary memory.
The programs and data that the CPU requires during execution of a program are stored in this
memory.
It is a volatile memory as the data loses when the power is turned off.
RAM is further classified into two types- SRAM (Static Random Access Memory) and DRAM
(Dynamic Random Access Memory).
Stores crucial information essential to operate the system, like the program essential to boot
the computer.
It is not volatile.
Always retains its data.
Used in embedded systems or where the programming needs no change.
Used in calculators and peripheral devices.
ROM is further classified into 4 types- ROM, PROM, EPROM, and EEPROM.