CA Model Question Paper 03
CA Model Question Paper 03
CA Model Question Paper 03
A B Q
0 0 1
0 1 1
1 0 1
1 1 0
4. Working:
- Asynchronous Mode In this mode, the flip-flop changes its state
immediately when the inputs J or K change. For example:
- If J=1 and K=0, the flip-flop is set (Q=1, Q'=0).
- If J=0 and K=1, the flip-flop is reset (Q=0, Q'=1).
- If both J and K are 0, the flip-flop retains its current state.
- If both J and K are 1, the flip-flop toggles its state: if it was set, it
resets; if it was reset, it sets.
- Synchronous Mode: In this mode, the flip-flop only changes its state when
a clock signal is applied. The inputs J and K are sampled only at the rising or
falling edge of the clock signal, depending on the specific implementation.
CIS RISC
C
Emphasis is on hardware. Emphasis is on software
It include multi-clock complex It includes single-clock, reduced
instructions. instructions only.
Memory-to-memory: ”LOAD” and Register to register: “LOAD” and
“STORE” incorporated in “STORE” are independent
instructions. instructions.
Code size is small but complex Code size is large but simple.
High cycles per second Low cycles per second.
ANS:
ANS:
00 : Fetch Cycle
01 : Indirect Cycle
10 : Execute Cycle
11 : Interrupt Cycle
At the end of the each cycles, the ICC is set appropriately. The above flowchart
of Instruction Cycle describes the complete sequence of micro-operations, depending
only on the instruction sequence and the interrupt pattern(this is a simplified example).
The operation of the processor is described as the performance of a sequence of micro-
operation.
2. Arithmetic Shift:
The arithmetic shift micro-operation moves the signed binary number either to the left or
to the right position.
Following are the two ways to perform the arithmetic shift.
1. Arithmetic Left Shift
2. Arithmetic Right Shift
Arithmetic Left Shift: In this shift, each bit is moved to the left one by one. The empty
least significant bit (LSB) is filled with zero and the most significant bit (MSB) is rejected.
Same as the Left Logical Shift.
Circular Left Shift: In this micro shift operation each bit in the register is shifted to the
left one by one. After shifting, the LSB becomes empty, so the value of the MSB is filled
in there.
1. Registers
Registers are small, high-speed memory units located in the CPU. They are used to
store the most frequently used data and instructions. Registers have the fastest access
time and the smallest storage capacity, typically ranging from 16 to 64 bits.
2. Cache Memory
Cache memory is a small, fast memory unit located close to the CPU. It stores frequently
used data and instructions that have been recently accessed from the main memory.
Cache memory is designed to minimize the time it takes to access data by providing the
CPU with quick access to frequently used data.
3. Main Memory
Main memory, also known as RAM (Random Access Memory), is the primary memory of
a computer system. It has a larger storage capacity than cache memory, but it is slower.
Main memory is used to store data and instructions that are currently in use by the CPU.
4. Secondary Storage
Secondary storage, such as hard disk drives (HDD) and solid-state drives (SSD), is a
non-volatile memory unit that has a larger storage capacity than main memory. It is used
to store data and instructions that are not currently in use by the CPU. Secondary
storage has the slowest access time and is typically the least expensive type of memory
in the memory hierarchy.
5. Magnetic Disk
Magnetic Disks are simply circular plates that are fabricated with either a metal or a
plastic or a magnetized material. The Magnetic disks work at a high speed inside the
computer and these are frequently used.
6. Magnetic Tape
Magnetic Tape is simply a magnetic recording device that is covered with a plastic film. It
is generally used for the backup of data. In the case of a magnetic tape, the access time
for a computer is a little slower and therefore, it requires some amount of time for
accessing the strip.