Professional Documents
Culture Documents
???? ??? (??????)
???? ??? (??????)
1. Single Instruction, Single Data (SISD): This category represents the traditional von Neumann architecture, where
a single instruction stream operates on a single data stream. This is the simplest and most common type of
architecture found in most general-purpose computers.
2. Single Instruction, Multiple Data (SIMD): SIMD architectures have a single instruction stream that operates on
multiple data streams simultaneously. In this type of architecture, a single instruction is broadcasted to multiple
processing units, and each unit operates on a different piece of data. SIMD architectures are well-suited for
parallel processing tasks that can be broken down into identical computations on multiple data elements.
3. Multiple Instruction, Single Data (MISD): MISD architectures involve multiple instruction streams operating on a
single data stream simultaneously. This type of architecture is less common in practical implementations and is
typically used in specialized scenarios such as fault-tolerant systems or redundant processing.
4. Multiple Instruction, Multiple Data (MIMD): MIMD architectures support multiple instruction streams operating
on multiple data streams concurrently. Each instruction stream can be executing different instructions, and the
data streams can be independent or shared between the instruction streams. MIMD architectures are commonly
found in modern multi-core processors and distributed computing systems, where different tasks can be executed
independently on separate processing units.
• Cache Memory is a special very high-speed memory. The cache is a smaller and faster memory that stores copies
of the data from frequently used main memory locations. There are various different independent caches in a
CPU, which store instructions and data. The most important use of cache memory is that it is used to reduce the
average time to access data from the main memory.
• Characteristics of Cache Memory:-
o Cache memory is an extremely fast memory type that acts as a buffer between RAM and the CPU.
o Cache Memory holds frequently requested data and instructions so that they are immediately available to the
CPU when needed.
o Cache memory is costlier than main memory or disk memory but more economical than CPU registers.
o Cache Memory is used to speed up and synchronize with a high-speed CPU.
• The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point
computation which was established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The
standard addressed many problems found in the diverse floating point implementations that made them difficult to
use reliably and reduced their portability. IEEE Standard 754 floating point is the most common representation
today for real numbers on computers, including Intel-based PC’s, Macs, and most Unix platforms.
• IEEE 754 has 3 basic components:
1. The Sign of Mantissa –
This is as simple as the name. 0 represents a positive number while 1 represents a negative number.
2. The Biased exponent –
The exponent field needs to represent both positive and negative exponents. A bias is added to the actual
exponent in order to get the stored exponent.
3. The Normalised Mantissa –
The mantissa is part of a number in scientific notation or a floating-point number, consisting of its significant
digits. Here we have only 2 digits, i.e. O and 1. So a normalised mantissa is one with only one 1 to the left of
the decimal.
Q9 Explain JK Flip Flop and SR Flip Flop.
➢ JK Flip-Flop:
• A JK flip-flop is a clocked sequential logic device that can store one bit of binary data. It has two inputs: J
(set) and K (reset), and two outputs: Q (output) and Q̅ (complement of the output). The JK flip-flop
operates based on the current state and the input values, as well as the rising or falling edge of a clock
signal. Here are the main characteristics of a JK flip-flop:
o When both J and K inputs are 0, the flip-flop remains in its current state (hold condition).
o When J and K inputs are both 1, the flip-flop toggles, meaning the output switches to its opposite state. If
the output was 0, it becomes 1, and vice versa.
o When J is 1 and K is 0, the flip-flop sets to 1 (output is forced to 1).
o When J is 0 and K is 1, the flip-flop resets to 0 (output is forced to 0).
➢ SR Flip-Flop:
• An SR flip-flop (Set-Reset flip-flop) is another type of sequential logic circuit used for storing and
controlling binary data. It also has two inputs: S (set) and R (reset), and two outputs: Q and Q̅. Here are
the key characteristics of an SR flip-flop:
o When both S and R inputs are 0, the flip-flop remains in its current state (hold condition).
o When S is 1 and R is 0, the flip-flop sets to 1 (output is forced to 1).
o When S is 0 and R is 1, the flip-flop resets to 0 (output is forced to 0).
o When both S and R inputs are 1, the flip-flop is in an indeterminate or forbidden state, and its behavior is
unpredictable. This situation is called a "race condition" and should be avoided in practical designs.