REPUBLIC OF CAMEROON                                                                           REPUBIIQUE DU CAMEROUN
PEACE – WORK - FATHERLAND                                                                          PAIX – TRAVAIL -PATRIE
    MINISTRY OF HIGHER                                                                         MINISTERE DE L’ENSEIGNEMENT
        EDUCATION                                                                                        SUPERIEUR
                                     HIGHER INSTITUTE FOR PROFESSIONALISM
                                                AND EXCELLENCE
               P.O Box 8725, YAOUNDE– Cameroon, Tel: (+237) 678 41 36 12 / 691925501/ 679937001/ 675075457
                              AUTH No: 21-00601/N/MINESUP/SG/DDES/ESUP/SDA/aosb
                               Email: registrar@hiptex.Org       Website: www.hiptex.org
                                MOTTO: Lighting the Path to Professionalism
 FIRST SEMESTER EXAMINATION
 COURSE: DIGITAL ELECTRONICS (Course Instructor: Ntani Emile)
 COURSE CODE: SWE113
 TOTAL = 25 MARKS
 1.   What is the base of the binary number                          C. 111
      system?                                                        D. 100
      A. 2                                                      5.   Which code represents decimal digits in
      B. 8                                                           binary form?
      C. 10                                                            A. Gray Code
      D. 16                                                          B. ASCII
 2. Which of the following is a valid                                C. BCD
      hexadecimal number?                                            D. Excess-3
       A. 102G                                                  6. What is the primary use of Gray code?
      B. 2F7                                                           A. Error detection
      C. 98H                                                         B. Reducing power consumption
      D. 47.5                                                        C. Minimizing data storage
 3.   Convert the binary number 1011 to                              D. Preventing errors during transitions
      decimal.                                                  7. Which code is used for alphanumeric
       A. 9                                                          representation?
      B. 10                                                            A. Excess-3
      C. 11                                                          B. BCD
      D. 12                                                          C. ASCII
 4. What is the binary equivalent of the octal                       D. 8:4:2:1
      number 7?                                                 8. Convert the binary number 1101 to Gray
       A. 011                                                        code.
      B. 101                                                           A. 1101
   B. 1011                                  13. Simplify the Boolean expression (A +
   C. 1111                                     AB).
   D. 1001                                       A. AB
9. In Excess-3 code, what is the               B. A
   representation of decimal 5?                C. B
     A. 1000                                   D. 0
   B. 1010                                  14. Which of the following circuits is a
   C. 1100                                     combinational logic circuit?
   D. 0101                                       A. Flip-flop
10. What does ASCII stand for?                 B. Counter
     A. American Standard Code for             C. Multiplexer
   Information Interchange                     D. Register
   B. Automated System for Computer         15. A full adder adds how many bits at a time?
   Information                                   A. 1
   C. Advanced System Code for Integrated      B. 2
   Interface                                   C. 3
   D. Analog Standard Code for Internet        D. 4
   Interaction                              16. What is the primary difference between
11. Which gate is known as the universal       combinational and sequential logic?
   gate?                                         A. Sequential logic has no memory
     A. AND                                    B. Combinational logic depends on clock
   B. OR                                       pulses
   C. XOR                                      C. Sequential logic depends on past inputs
   D. NAND                                     D. Combinational logic is used for storage
12. What is the Boolean expression for an   17. Which flip-flop has a toggle (T) input?
   AND gate?                                     A. JK flip-flop
     A. A + B                                  B. SR flip-flop
   B. A ⊕ B                                    C. D flip-flop
   C. AB                                       D. T flip-flop
   D. A + B'
18. What is the output of a D flip-flop when        B. To simplify Boolean expressions
   the input D = 1 and clock pulse is given?        C. To implement Gray code
     A. 0                                           D. To build truth tables
   B. 1                                          24. Which device is an example of a
   C. No change                                     combinational logic circuit?
   D. Undefined                                       A. Latch
19. What type of counter counts both up and         B. Encoder
   down?                                            C. Counter
     A. Synchronous counter                         D. Flip-flop
   B. Asynchronous counter                       25. What is the function of a multiplexer?
   C. Bidirectional counter                           A. Adds two numbers
   D. Ring counter                                  B. Selects one input from many inputs
20. A shift register is used for what purpose?      C. Converts binary to decimal
     A. Data storage                                D. Stores multiple bits
   B. Data transfer                              26. Which of the following is an example of
   C. Data multiplication                           sequential logic?
   D. Data comparison                                 A. Decoder
21. What is De Morgan’s law for (A + B)?            B. Adder
     A. A + B                                       C. Counter
   B. ¬A · ¬B                                       D. Multiplexer
   C. ¬AB                                        27. How many flip-flops are needed to build a
   D. AB                                            4-bit shift register?
22. Which of the following is a simplified            A. 2
   form of A + A¬B?                                 B. 4
     A. AB                                          C. 8
   B. A + B                                         D. 16
   C. A                                          28. Which application uses a ring counter?
   D. B                                               A. Serial communication
23. What is the main purpose of Karnaugh            B. Pattern generation
   maps (K-maps)?                                   C. Arithmetic operations
     A. To convert decimal to binary                D. Multiplexing
29. What is the modulus of a 3-bit counter?
     A. 3
   B. 6
   C. 8
   D. 16
30. Which type of register allows parallel data
   input?
     A. Shift register
   B. Serial register
   C. Parallel-in parallel-out
   D. Serial-in serial-out