Introduction to Computing Sci. I — 2026-test Past Questions

University of Ilorin COS101: 69 questions.

Topics: Boolean Algebra, Fundamentals of Truth tables and Precedence, Basic Computing Concepts, Basic Components of Computer, The Job Specializations for Computing Science Professionals

  1. Which of the following is NOT a basic logical operation?
    1. NOT
    2. AND
    3. OR
    4. XOR
  2. In Boolean algebra, which logic gate has the highest order of precedence?
    1. NAND
    2. AND
    3. OR
    4. NOT
  3. Which unit handles all processing done by the computer system?
    1. CPU
    2. ALU
    3. Main storage
    4. Control Unit
  4. When the number of variables is denoted as n, what is the formula for the number of input combinations?
    1. 2²
    2. 2n
    3. 2ⁿ
    4. n²
  5. Microsoft was founded by Bill Gates and Paul Allen in what year?
    1. 1970
    2. 1981
    3. 1990
    4. 1975
  6. What type of cards did Jacquard's looms use to automate patterns?
    1. Glass cards
    2. Metallic cards
    3. Wooden cards
    4. Metal cards
  7. Grace Hopper is credited with the creation of which High-Level Language (HLL)?
    1. FORTRAN
    2. COBOL
    3. BASIC
    4. Pascal
  8. What is the main function of logic gates in computer science?
    1. To encrypt sensitive data
    2. To solve complex decimal equations
    3. To manage the power supply of the motherboard
    4. To perform operations on binary input to produce a single output
  9. Word processors are examples of?
    1. System software
    2. Application software
    3. Utility software
    4. Firmware
  10. What is the primary function of a linker?
    1. To convert source code into assembly language
    2. To detect viruses within a software package
    3. To combine object files into a single executable program
    4. To allocate memory to the CPU
  11. Charles Babbage was famous for which invention?
    1. The ENIAC
    2. The Analytical Engine
    3. The Transistor
    4. The Hollerith Machine
  12. Which of the following is a unary operator?
    1. NOT
    2. AND
    3. XOR
    4. OR
  13. Auxiliary storage is used for?
    1. Storing information on a short-term
    2. Storing information on a long-term
    3. Processing mathematical calculations
    4. Managing peripheral devices
  14. Which of the following logical operators has the highest order of precedence?
    1. AND
    2. OR
    3. NOT
    4. XOR
  15. Which of the following is NOT one of the three basic logic gates?
    1. AND
    2. XOR
    3. OR
    4. NOT
  16. Which logical operation produces a TRUE output only when both inputs are FALSE?
    1. NAND
    2. AND
    3. NOR
    4. XNOR
  17. What is the primary function of the Arithmetic Logic Unit (ALU)?
    1. To store files permanently
    2. To coordinate the computer's internal clock
    3. To manage power distribution
    4. To perform mathematical calculations and logical comparisons
  18. In digital electronics and Boolean algebra, De Morgan’s Law is used for:
    1. Increasing CPU clock speed
    2. Simplifying complex logical expressions
    3. Managing memory allocation
    4. Encrypting data for storage
  19. What is the specific input requirement to get a TRUE (1) output from an AND operation?
    1. One input must be True
    2. All inputs must be True
    3. Both inputs must be False
    4. Inputs must be different
  20. If a logic gate has 3 input variables, how many total input combinations will exist in its truth table?
    1. 6
    2. 9
    3. 8
    4. 4
  21. Microsoft was founded in what year?
    1. 1970
    2. 1973
    3. 1980
    4. 1975
  22. Which of the following converts HLL to Machine language all at once?
    1. Compiler
    2. Assembler
    3. Preprocessor
    4. Interpreter
  23. A program that consists of a sequence of instructions is?
    1. A Database
    2. Software
    3. A Loader
    4. A Statistical package
  24. SPSS is an example of a?
    1. Word processor
    2. Operating system
    3. Statistical package
    4. Graphics software
  25. Software used to solve simultaneous linear equations falls under?
    1. Numerical/Mathematical software
    2. Word processing
    3. Presentation software
    4. Database management
  26. Which of the following is an input device?
    1. Microphone
    2. SSD
    3. Monitor
    4. Printer
  27. The first programmer in history was?
    1. Grace Hopper
    2. Ada Byron
    3. Charles Babbage
    4. Blaise Pascal
  28. The XOR gate output is true when?
    1. Both inputs are true
    2. Only one input is false
    3. Either of the input is false
    4. Both inputs are false
  29. What is the primary function of the Control Unit (CU) within the CPU?
    1. To perform mathematical calculations
    2. To direct and coordinate the operations of the processor
    3. To store permanent data files
    4. To provide power to the motherboard
  30. In a NAND gate, if all inputs are TRUE, the output will be?
    1. TRUE
    2. FALSE
    3. UNKNOWN
    4. INVALID
  31. In a NAND gate, if all inputs are FALSE, the output will be?
    1. TRUE
    2. FALSE
    3. NULL
    4. UNDEFINED
  32. Which of these logic gates has the highest order of precedence?
    1. NOT
    2. OR
    3. NOR
    4. XOR
  33. An XOR operation will produce a TRUE output when the two inputs are?
    1. Both false
    2. Both true
    3. Different
    4. Equal
  34. Which utility system is used to arrange data into a specific order?
    1. Sort
    2. Merge
    3. Copy
    4. Linker
  35. Assemblers are language translators that translate?
    1. Assembly language into machine code
    2. High-Level Language (HLL) into machine code
    3. Low-Level Language (LLL) into High-Level Language
    4. English into binary code
  36. Which of these logic gates will give a TRUE output when both inputs are FALSE?
    1. AND
    2. NAND
    3. NOR
    4. XOR
  37. What are the primary functions of an Operating System?
    1. Managing hardware and software resources
    2. Providing a user interface
    3. Managing files and memory
    4. All of the above
  38. Computer hardware is generally divided into which of the following categories?
    1. Input, Output, Storage, and Processing
    2. Software, Firmware, and Liveware
    3. Programs, Data, and Information
    4. System units and Application units
  39. Word processing and graphic design packages are examples of?
    1. System software
    2. Firmware
    3. Utility software
    4. Application software
  40. One of the following is a primary function of an Operating System regarding resource management?
    1. Creating graphic designs
    2. Allocation of resources to different programs
    3. Performing complex mathematical calculations
    4. Designing hardware components
  41. Which of the following is NOT a core responsibility of an Operating System?
    1. Memory management
    2. File management
    3. Word processing
    4. Processor scheduling
  42. XOR can also be used to deduce which of the following?
    1. NAND, NOR, XNOR
    2. AND, NOR, NOT
    3. XNOR, OR, NOR
    4. NOT, AND, OR
  43. Microsoft Excel belongs to which kind of software?
    1. Application software
    2. Operating system
    3. Utility software
    4. Data management software
  44. XNOR is a combination of which two gates?
    1. XOR and NOT
    2. OR and NOT
    3. AND and NOT
    4. XOR and AND
  45. Who invented the first device for mechanical calculations?
    1. Charles Babbage
    2. Blaise Pascal
    3. Gottfried Leibniz
    4. Herman Hollerith
  46. What is the Boolean representation of the XNOR gate?
    1. A + B
    2. A . B
    3. A ⊙ B
    4. A ⊕ B
  47. Who designed the Analytical Engine?
    1. Blaise Pascal
    2. Charles Babbage
    3. Lady Ada Lovelace
    4. John von Neumann
  48. Which professional group is primarily responsible for building and integrating computer systems?
    1. Data Analysts
    2. Computer Engineers
    3. Web Designers
    4. Technical Writers
  49. What tool combines various object files and turns them into a single executable file?
    1. Compiler
    2. Interpreter
    3. Linker
    4. Loader
  50. If A = 1, B = 0, and C = 1, what is the result of the Boolean expression A(B + C)?
    1. 0
    2. 1
    3. Error
    4. Undefined
  51. The number of possible input combinations in a truth table with 6 variables is?
    1. 12
    2. 32
    3. 64
    4. 128
  52. Which of the following statements correctly describes the difference between XOR and XNOR gates?
    1. XOR outputs 1 when inputs are the same; XNOR outputs 1 when they are different.
    2. XOR outputs 1 when inputs are different; XNOR outputs 1 when they are the same.
    3. XOR is the same as an OR gate; XNOR is the same as a NOR gate.
    4. XOR only accepts two inputs while XNOR accepts many.
  53. A Truth Table is primarily used for?
    1. Storing large amounts of data
    2. Testing the validity of logic statements
    3. Increasing the speed of the CPU
    4. Connecting peripheral devices
  54. Which of the following are examples of Operating Systems?
    1. Windows
    2. macOS
    3. Linux
    4. All of the above
  55. What is an application of De Morgan's law?
    1. Defining truth tables
    2. Designing software packages
    3. Simplifying logic expressions
    4. Managing databases
  56. Which logic gate does NOT have multiple binary inputs?
    1. OR
    2. AND
    3. NOT
    4. XOR
  57. Which logic gate returns TRUE only when both inputs are TRUE and returns FALSE otherwise?
    1. AND
    2. OR
    3. XOR
    4. NOT
  58. Which logic gate returns TRUE only when both are true or false?
    1. XOR
    2. XNOR
    3. NAND
    4. OR
  59. Let A = account is high; B = Bank is opened; C = John's account is high. Consider this statement: I will withdraw if my account is high and bank is open or if bank is open and John's account is high. What is the logic function?
    1. A + B + C
    2. AB + BC
    3. A(B + C)
    4. ABC
  60. Which of the following is an example of an Operating System?
    1. Microsoft Word
    2. Google Chrome
    3. Windows
    4. Python
  61. NOT gate is represented as?
    1. A.B
    2. A'
    3. A×B
    4. A+B
  62. The feature of modern computers adopted by the Von Neumann machine?
    1. Punched cards
    2. Beads and wires
    3. Capacitor charges
    4. Stored program
  63. The proper management of computer hardware resources is done by?
    1. CPU
    2. Operating system
    3. Compiler
    4. RAM
  64. A=0 B=0 Z=1, A=0 B=1 Z=0, A=1 B=0 Z=0, A=1 B=1 Z=0. What is the Boolean logic expression represented by this table?
    1. Z = A' + B'
    2. Z = A + B'
    3. Z = (A + B)'
    4. Z = A + B
  65. Which logic gate gives a TRUE output only when both inputs are FALSE?
    1. AND
    2. NAND
    3. XOR
    4. NOR
  66. Which type of gate is the NOT gate?
    1. Polinary
    2. Unary
    3. Binary
    4. Ternary
  67. Who is widely recognized as the Mother of COBOL for her work on early compilers?
    1. Ada Lovelace
    2. Margaret Hamilton
    3. Grace Hopper
    4. Joseph Marie
  68. The invention of the Punched Card system by Herman Hollerith eventually led to the founding of which major company?
    1. Apple
    2. Microsoft
    3. IBM
    4. Intel
  69. Which part of the Abacus represents human fingers?
    1. Lower part
    2. Upper part
    3. Middle part
    4. Upper and lower part

Register free to unlock all 69 questions with answers and explanations

SmartDriller logo

SmartDriller

Loading your past questions, mock exams, notes, and video tutorials...

Starting up…