MCQ Set 1 - Digital Logic And Co

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Cr4satya
C
Cr4satya
Community Contributor
Quizzes Created: 3 | Total Attempts: 18,662
| Attempts: 133 | Questions: 15
Please wait...
Question 1 / 15
0 %
0/100
Score 0/100
1. Find the 16's complement of BZFA

Explanation

2FA B2FA: 1011_0010_1111_1010
15s comp: 4D05 1s comp: 0100_1101_0000_0101
16s comp: 4D06 2s comp: 0100_1101_0000_0110 = 4D06

Submit
Please wait...
About This Quiz
MCQ Set 1 - Digital Logic And Co - Quiz

This MCQ will help students preparing for GATE examination.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Express the following numbers in decimal: (26.24)8

Explanation

26.248 = 2 * 8 + 6 + 2/8 + 4/64 = 22.3125

Submit
3. The first two bytes of a 2M x 16 main memory have the following hex values: Byte 0 is FE Byte 1 is 01 If these bytes hold a 16-bit two's complement integer, what is its actual decimal value if: a. memory is big endian? b. memory is little endian?

Explanation

a. FE01(16) = 1111 1110 0000 00012 = -511
b. 01FE(16) = 0000 0001 1111 11102 = 510

Submit
4. A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a. How many bits are needed for the opcode? b. How many bits are left for the address part of the instruction? c. What is the maximum allowable size for memory? d. What is the largest unsigned binary number that can be accommodated in one word of memory?

Explanation

a. 150 instructions implies 28 (27 will only give us 128 instructions), or 8 bits for the opcode.
b. 24 - 8 = 16.
c. 216, or 32M.
d. 24 1's, or 224 -1.

Submit
5. Suppose that a 2M x 16 main memory is built using 256K x 8 RAM chips and memory is word-addressable. a. How many RAM chips are necessary? b. How many RAM chips are there per memory word? c. How many address bits are needed for each RAM chip? d. How many address bits are needed for all of memory?

Explanation

a. 16 (8 rows of 2 columns)
b. 2
c. 256K = 218, so 18 bits
d. 2M = 221, so 21 bits

Submit
6. Suppose we have the instruction Load 1000. Given memory and register R1 contain the values below: Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator if R1= 200 and detemine the Value loaded into AC for a. Immediate b. Direct c. Indirect Memory d. Indexed

Explanation

In the immediate addressing mode, the value loaded into the accumulator would be the immediate value itself, which is 1000. In the direct addressing mode, the value loaded into the accumulator would be the value stored at the memory address specified by the instruction, which is 1400. In the indirect memory addressing mode, the value loaded into the accumulator would be the value stored at the memory address specified by the value stored in the memory, which is 1300. In the indexed addressing mode, the value loaded into the accumulator would be the value stored at the memory address specified by the sum of the value stored in the memory and the value stored in the register R1, which is 1000.

Submit
7. If the clock frequency of a computer system is 50 Mhz, what is the period of this clock in ns?

Explanation

F*T = 1 -> T = 1/(50*106)sn = (1*109) /(50*106)ns = 20ns

Submit
8. If a cache access requires one clock cycle and handling cache misses stalls the processor for an additional five cycles, which of the following cache hit rates comes closest to achieving an average memory access of 2 cycles?

Explanation

2 = h*1 + (1-h)*6 -> h=0.8

Submit
9. A major advantage of direct mapping of a cache is its simplicity. The main disadvantage of this organization is that

Explanation

In direct mapping, each block in the main memory is mapped to a specific block frame in the cache. If two or more blocks are used alternately and they happen to map onto the same block frame in the cache, it will result in cache conflicts. This means that when one block is accessed, the other block will be evicted from the cache, leading to cache misses and a lower cache hit ratio. This is a major disadvantage of direct mapping as it can significantly degrade the cache performance.

Submit
10. A hypothetical microprocessor communicates with its memory and peripheral over an 8-bit data bus and a 16-bit address bus. It contains an 8-bit accumulator A and two 16-bit registers: program counter PC and index register X (see diagram below) The opcode of each instruction is one byte (8 bits) long. Assume that any internal processor time is negligible, and that the time to address memory and transfer one byte in either direction over the data bus equals unity (one memory cycle). The time taken to fetch and execute the 3-byte instruction "store A in some address indexed by X" is 

Explanation

3 cycle for fetch and 1 cycle for store. Then total is 3+1 = 4

Submit
11. Convcn  decimal 8.723  lo both BCD and ASCII ecdede

Explanation

8,723
BCD: 1000_0111_0010_0011
ASCII: 0_011_1000_011_0111_011_0010_011_0001

Submit
12. Express the  following function  as a sum of  mintems and as  a product of maxterm: F(A,B,C,D)=B'D+A'D+BD

Explanation

not-available-via-ai

Submit
13.

Explanation

not-available-via-ai

Submit
14. The parameters of a hierarchical memory system are specified as follows: Main memory size = 8K blocks Cache memory size = 512 blocks Block size = 16 words   Determine the size of the tag field(TAG,SET/BLOCK,WORD) under the following conditions: a.  Fully associative mapping      b.  Direct mapping c.  Set associative mapping with 16 blocks/set

Explanation

not-available-via-ai

Submit
15. What is the average access time of a system(in ns) having three levels of memory hierarchy: a cache memory, a semiconductor main memory, and magnetic disk secondary memory. The access times of these memories are 20 ns, 200 ns, and 2 ms, respectively. The cache hit ratio is 80 per cent and the main memory hit ratio is 99 per cent. a)  If access time for upper memories does not include lower memory accesses b)  If it includes

Explanation

h1 = 0.8 : cache hit ratio,
h2 = 0.99 : main memory hit ratio
atc = access time for cache
atm = access time for main memory
ats = access time for secondary memory
Then the formula for average access time is (if access time for upper memories does not include lower memory
accesses)

Aat = h1*atc + (1-h1)[atc + h2*atm + (1-h2)*(atm + ats)]

If it includes

Aat = h1*atc + (1-h1)[h2*atm + (1-h2)*ats]

Submit
View My Results

Quiz Review Timeline (Updated): Apr 30, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Apr 30, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 10, 2011
    Quiz Created by
    Cr4satya
Cancel
  • All
    All (15)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Find the 16's complement of BZFA
Express the following numbers in decimal: (26.24)8
The first two bytes of a 2M x 16 main memory have the following hex...
A digital computer has a memory unit with 24 bits per word. The...
Suppose that a 2M x 16 main memory is built using 256K x 8 RAM chips...
Suppose we have the instruction Load 1000. Given memory and register...
If the clock frequency of a computer system is 50 Mhz, what is the...
If a cache access requires one clock cycle and handling cache misses...
A major advantage of direct mapping of a cache is its simplicity. The...
A hypothetical microprocessor communicates with its memory and...
Convcn  decimal 8.723  lo both BCD and ASCII ecdede
Express the  following function  as a sum of ...
The parameters of a hierarchical memory system are specified as...
What is the average access time of a system(in ns) having three...
Alert!

Advertisement