Er. Tayari

Chapter 2: Digital Logic and Microprocessor: MCQ Practice for the NEC License Exam (AItE)

This chapter contributes 10 of the 100 questions in the IT Engineering license exam. Below are its subtopics, what is usually tested, and 12 free sample questions with answers and explanations.

Start a full mock test

Subtopics in this chapter

  • 2.1Digital logic
  • 2.2Combinational and arithmetic circuits
  • 2.3Sequential logic circuit
  • 2.4Microprocessor
  • 2.5Microprocessor system
  • 2.6Interrupt operations

What is usually tested

Digital logic questions cover number systems and codes, logic gates, Boolean laws, Karnaugh maps, and the standard building blocks: multiplexers, decoders, encoders, adders, flip-flops, shift registers and counters. The microprocessor part asks about the internal architecture, registers, flags, addressing modes and simple instructions of the 8085 and 8086, memory types and interfacing, the 8255, serial transfer, DMA and the interrupt system.

Sample questions with answers

Choose an answer to check it, or open "Show answer". These 12 are taken from the 150 questions for this chapter in the practice bank.

  1. 012.1 Digital logic

    The minimum number of 2-input NAND gates required to implement an XOR gate is:

    Show answer

    Answer: B. 4

    XOR can be built with 4 NAND gates.

  2. 022.1 Digital logic

    The hexadecimal number system has a base of:

    Show answer

    Answer: A. 16

    Hexadecimal uses sixteen symbols: 0 to 9 and A to F.

  3. 032.2 Combinational and arithmetic circuits

    A multiplexer is a circuit that:

    Show answer

    Answer: C. Selects one of several inputs and passes it to a single output

    A multiplexer is also called a data selector.

  4. 042.2 Combinational and arithmetic circuits

    A multiplexer with eight data inputs needs how many select lines?

    Show answer

    Answer: D. Three

    n select lines can choose among 2^n inputs, and 2^3 = 8.

  5. 052.3 Sequential logic circuit

    Which flip-flop toggles its output when both inputs are 1?

    Show answer

    Answer: C. JK

    A JK flip-flop toggles when J = K = 1.

  6. 062.3 Sequential logic circuit

    The output of a sequential logic circuit depends on:

    Show answer

    Answer: D. The present inputs and the past state of the circuit

    Sequential circuits contain memory elements; combinational circuits do not.

  7. 072.4 Microprocessor

    The Intel 8085 is a microprocessor of:

    Show answer

    Answer: B. 8-bit

    8085 is an 8-bit microprocessor with a 16-bit address bus.

  8. 082.4 Microprocessor

    The Program Counter (PC) holds:

    Show answer

    Answer: A. The address of the next instruction

    PC stores the memory address of the next instruction to be fetched.

  9. 092.5 Microprocessor system

    A memory that loses its contents when the power is switched off is called:

    Show answer

    Answer: A. Volatile memory

    RAM is volatile; ROM, flash memory and magnetic disks are non-volatile.

  10. 102.5 Microprocessor system

    Dynamic RAM needs periodic refreshing because each bit is stored as:

    Show answer

    Answer: B. Charge on a small capacitor, which leaks away

    The charge must be restored every few milliseconds or the data is lost.

  11. 112.6 Interrupt operations

    An interrupt is a signal that causes the processor to:

    Show answer

    Answer: A. Suspend the current program and attend to a device or event

    After the event has been serviced, the processor resumes the interrupted program.

  12. 122.6 Interrupt operations

    The program that is executed in response to an interrupt is called:

    Show answer

    Answer: B. An interrupt service routine

    Each interrupt source has its own service routine.

Practise this chapter

The full mock tests mix 10 questions from this chapter with 10 from each of the other nine, under the real 2-hour limit. Chapter practice mode lets you work through this chapter alone, untimed, with the explanation shown after every question. Go to the mock tests

Practise like the real exam.
Pass with confidence.

Start a free mock test