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