DDCA - CO-3 & 4 - Terminal Questions
DDCA - CO-3 & 4 - Terminal Questions
1. Speed
2. Low latency
3. Security
4. Parallelism
Specify the purpose of subroutine call in computer programming.
1. Resource contention
2. Limited hardware resources
3. Instruction overlap.
4. Memory access conflicts
Explore the significance of a microprocessor in modern computing devices.
1. Processing Power
2. Versatility
3. Integration (System-on-Chip)
4. Energy Efficiency
1/2
Draw the illustration of subroutine call and return mechanism in computer programming.
1. Hardware Limitations
2. Speed Mismatch
3. Resource Competition
4. Data Volume
5. Network and File System Factors
Highlight various policies of cache data replacement.
Memory cells store binary data (0s and 1s) and serve as the fundamental units for data storage
and retrieval in memory organization.
Summarize various Asynchronous Data Transfer methods.
1. Strobe Control: Syncs data transfer with one signal, indicating when to exchange data.
2. Handshaking: Sender says "ready," receiver confirms, ensuring reliable communication.
3/2
DDCA
CO-3 TERMINAL QUESTIONS & ANSWERS
Discuss the data transfer and arithmetic logic instruction sets with examples.
Data Transfer Instructions: Arithmetic instruction:
1. Keyboard: Facilitates textual input for tasks such as typing documents or entering
commands.
DDCA
CO-3 TERMINAL QUESTIONS & ANSWERS
2. Monitor: Displays visual output, including text, images, videos, and graphical user
interfaces.
3. Printer: Produces hard copies of digital documents or images for physical distribution or
archival.
4. Magnetic Disk: Provides high-capacity, non-volatile storage for operating systems,
applications, and user data, allowing quick access to stored information.
Illustrate the hardwired realization in CPU design,detailing its architecture.
1. Hardwired control units execute instructions by generating control signals at the right time
and sequence.
2. Faster than micro-programmed units, they use PLA circuit and state counter to generate
control signals.
3. Hardware-based, they employ circuitry to produce control signals needed by the CPU for
operation.
Illustrate the architecture of a CPU and its constituent blocks, elaborating on their functions.
1. Control Unit (CU): Fetches and decodes instructions, generates control signals for CPU
operations.
2. Arithmetic Logic Unit (ALU): Performs arithmetic and logical operations on data as
directed by the control unit.
3. Memory Unit (MU): Stores data and instructions, comprising internal registers for fast,
temporary storage, and main memory for larger capacity storage.
DDCA
CO-3 TERMINAL QUESTIONS & ANSWERS
Differentiate hardwired realization and micro- programmed realization in the design of
control units within a CPU.
Develop the model of CISC architecture, detailing its design philosophy, key features.
Identify the various pipelining hazards in processor design, detailing the types of hazards,
their causes.
DDCA
CO-3 TERMINAL QUESTIONS & ANSWERS
Model the structures of different instruction formats and provide illustrative examples
foreach.
Consider a scenario where you are developing a simple combinational circuit of basic logical
operations. Make use of the related instruction sets and accomplish the task.
Let us consider the expression 𝐹 = 𝐴. 𝐵 + 𝐶′. 𝐷 to develop using the Logical instruction set.
Load input values
LOAD R0, A ; Load input A into register R0
LOAD R1, B ; Load input B into register R1
LOAD R2, C ; Load input C into register R2
LOAD R3, D ; Load input D into register R3
Perform logical operations
AND R5, R0, R1 ; Compute A AND B and store the result in R5
NOT R6, R2 ; Compute the complement of C and store it in R6
AND R7, R6, R3 ; Compute (NOT C) AND D and store the result in R7
OR R4, R5, R7 ; Compute (A AND B) OR ((NOT C) AND D) and store the result in R4
In order to determine the city with the most consistently warm temperatures from a large
weatherdataset, which parallel processing architecture (SISD,SIMD, MISD, MIMD) would
be best suited for efficient analysis and why?
For determine the city with the most consistently warm temperatures from a large weather
dataset, most appropriate architecture would be MIMD (Multiple Instruction, Multiple Data)
due to following reasons.
Independent Processing
DDCA
CO-3 TERMINAL QUESTIONS & ANSWERS
Flexibility and Scalability
Complexity of Analysis
Data Distribution and Communication
SISD SIMD
MISD MIMD
Examine the concepts of immediate, direct, and indirect addressing modes in computer
architecture.
DDCA
CO-3 TERMINAL QUESTIONS & ANSWERS
Consider a scenario where you are developing a simple calculator application for a mobile
device. You want to implement basic arithmetic operations. Make use of the related
instruction sets and accomplish the task.
Develop the model of RISC architecture, detailing its design philosophy, key features.
Design the operational flow for a pipelined processor with four stages, outlining each stage's
function and how instructions progress through the pipeline.
DDCA
CO-4 TERMINAL QUESTIONS & ANSWERS
Differentiate between the concepts of temporal and spatial locality in memory access
patterns.
Describe the virtual memory system, focusing on the role of page tables.
1. Virtual memory provides alternate memory addresses for programs, which are converted
to real addresses during execution.
2. Page Table, a data structure in the operating system, maps virtual to physical addresses.
3. It provides frame numbers, indicating where each page is stored in main memory,
facilitating memory management.
Describe the importance of temporal and spatial locality with respect to memory.
1. Temporal locality:
Recent access predicts future access, a principle vital for caching mechanisms.
Caching stores recently accessed data in faster memory layers like CPU caches.
Enhances performance by reducing access times for frequently accessed data.
2. Spatial locality:
Access of one storage location indicates likely access to nearby addresses.
Programs typically access data sequentially, benefiting from spatial locality.
Fetching adjacent data into faster storage layers optimizes data retrieval by exploiting
this principle.
DDCA
CO-4 TERMINAL QUESTIONS & ANSWERS
Investigate the significance and impact of "Hit" and "Miss" events in cache memory,
detailing how theseoccurrences influence system performance.
Designing a gaming console with a focus on cache memory efficiency, outline and exemplify
three mapping procedures, each tailored to specific scenarios to optimize performance in
gaming console architecture.
DDCA
CO-4 TERMINAL QUESTIONS & ANSWERS
Handshaking Signals:
These are dedicated control lines that carry information about the data transfer status.
Common handshaking signals include:
o Request: Sent by the receiver to indicate it's ready to receive data.
o Acknowledge: Sent by the receiver after successfully receiving data.
o Grant: Sent by the sender to inform the receiver that data is being sent.
o Busy: Sent by the receiver to indicate it's not ready to receive data.
DDCA
CO-4 TERMINAL QUESTIONS & ANSWERS
External storage devices come in various forms, each with a specific role:
HDDs: High-capacity workhorses for bulk data (movies, archives) at a lower cost.
SSDs: Blazing-fast for frequently accessed data (applications, games) but pricier per
gigabyte.
USB Drives: Compact and portable for data transfer and booting certain systems (limited
capacity).
Portable SSDs: Speedy and portable for data transfer on the go (more expensive than USB
drives).
NAS: Centralized network storage for sharing files across devices or backing up small
businesses.
Cloud Storage: Virtual storage accessed from anywhere for off-site backups and file
synchronization (requires internet).
Utilizing interrupt driven I/O, build a flow diagram for the purpose of sensing data from
external devices in a data acquisition system.
Primary memory, directly accessible by the CPU, offers fast speeds but limited capacity. Here's
a breakdown:
1. RAM (Random Access Memory): Volatile (loses data on power off). Stores:
o Running programs
o Operating system
o Temporary data
Benefits: Fast access, random access
2. ROM (Read-Only Memory): Non-volatile (data persists). It Stores essential startup
programs.
ROM Classification:
Masked ROM: Data permanently programmed during manufacturing.
PROM (Programmable ROM): One-time programming with a special device.
EPROM (Erasable Programmable ROM): Erasable with ultraviolet light, then
reprogrammable.
EEPROM (Electrically Erasable Programmable ROM): Electrically erasable
and reprogrammable.
Identify various cache replacement policies that are useful to manage the cache
memory.
DDCA
CO-4 TERMINAL QUESTIONS & ANSWERS
Interpret the operation of cache memory contribute to improving the performance of a
processor, and what advantages does it offer in terms of speed and efficiency?
Cache memory is a speedier, smaller section of memory with an access time that is
comparable to registers.
Cache memory has a shorter access time than primary memory in a memory hierarchy.
Since cache memory is typically relatively little, it serves as a buffer.
Cache provides faster access.
It acts as buffer between CPU and main memory (RAM).
Cache primary role is to reduce the average time taken to access data, thereby improving
overall system performance.
Analyze buffering with its types in the context of IO operations.
Buffering creates a synchronization between two devices having different processing
speed. For example, if a hard disc (supplier of data) has high speed and a printer (accepter
of data) has low speed, then buffering is required.
Buffering is also required in cases where two devices have different data block sizes.
Source-initiated strobe pulses are signals sent by the transmitting device to indicate the beginning
or end of data transmission, helping synchronize communication between devices.
Destination-initiated strobe pulses are signals generated by the receiving device to acknowledge the
receipt of data or to request more data, facilitating reliable and efficient data transmission in digital
communication systems.