Introduction to Computing Sci. I — 2026-exam Past Questions
University of Ilorin COS101: 190 questions.
Topics: Boolean Algebra, Fundamentals of Truth tables and Precedence, Basic Computing Concepts, Diverse And Growing Computers and Digital Applications, The Job Specializations for Computing Science Professionals, The Internet: Its Application and Impact on the World Today, Basic Components of Computer
- Identify the logic gate shown in the image (a symbol with a straight vertical back, a curved rounded front, two inputs A and B, and one output Z):
- OR
- NOT
- NAND
- AND
- The diagram above comprises of which gates?
- NOT, NAND, XNOR
- AND, OR, XOR
- NOR, AND, OR
- NAND, NOR, XOR
- Based on the hand-drawn circuit diagram, one of these gates is not involved:
- NAND
- AND
- OR
- NOR
- Identify the logic gate represented by the given truth table where output Z is 1 for inputs A=0, B=0 and A=1, B=1, and Z is 0 for inputs A=0, B=1 and A=1, B=0.
- XOR
- XNOR
- NOR
- NAND
- In the given logic circuit, what is the logic function at D?
- A' + B
- CB
- (A + B)'
- A'B
- The output of the logic circuit represents ___
- (J+K)' . (ML)
- (J+K)' + (ML)
- (J+K)' . (M+L)
- (JK)' . (M+L)'
- In terms of construction, a NOR gate is?
- OR before NOT
- NOT before OR
- AND before NOT
- NOT before AND
- Which of the following converts a High-Level Language (HLL) into machine language all at once?
- Compiler
- Assembler
- Interpreter
- Linker
- The function of an interpreter is to?
- Convert the entire source code into an executable file before running
- Combine multiple object files into a single program
- Only check for syntax errors without executing the code
- Translate and execute High-Level Language (HLL) instructions line-by-line
- A major difference between a compiler and an interpreter is?
- A compiler translates the whole program before execution, while an interpreter translates it during runtime
- An interpreter is faster than a compiler at executing large programs
- A compiler does not generate an object code, but an interpreter does
- Interpreters are only used for low-level languages
- Which of these statements is true regarding error detection in translators?
- Neither can detect syntax errors
- A compiler stops at the first error and does not check the rest of the program
- Both compilers and interpreters report all errors only after the entire program is scanned
- An interpreter stops and reports an error as soon as it encounters one in a line
- The Abacus has been used for counting as far back as?
- 500 BC
- 1000 AD
- 200 BC
- 800 BC
- What is the output of a NAND gate if the inputs are FALSE?
- TRUE
- FALSE
- NEUTRAL
- CANNOT BE DETERMINED
- In the statement "If Shade comes and Yetunde goes, I will come," which logic gate is represented?
- XOR
- OR
- AND
- NOT
- What is the primary function of a Linker?
- To combine multiple object files into a single executable file
- To translate high-level language to machine code line-by-line
- To load a program into the main memory
- To identify syntax errors in a source code
- Philip Emeagwali's 1989 breakthrough in parallel computing led to the?
- Reinvention of supercomputers
- Invention of the first vacuum tube
- Development of the first word processor
- Creation of the first mechanical calculator
- A = "My account balance is high", B = "The bank is open", and C = "Jessie has a high account balance". Which expression represents: "I will withdraw money if my account balance is high and the bank is open, OR if Jessie’s account balance is high and the bank is open"?
- AB + CB
- A + B + C
- (A + B)C
- A(B + C)
- Which device is known as the brain of the computer hardware?
- CPU
- RAM
- Hard Drive
- Motherboard
- What is the output of an OR gate if one input is TRUE and the other is FALSE?
- TRUE
- FALSE
- UNKNOWN
- UNDEFINED
- For a NAND gate, the output will be TRUE if?
- At least one input is FALSE
- All inputs are TRUE
- No inputs are FALSE
- Both inputs are 1
- The output will be TRUE if both inputs are either both TRUE or both FALSE. This is valid for which logic gate?
- XOR
- XNOR
- NAND
- OR
- Assemblers are language translators that perform which of the following functions?
- Translating High-Level Language (HLL) into machine code
- Translating Assembly language into machine code
- Translating Low-Level Language (LLL) into High-Level Language
- Translating English text into binary code
- A technology created to ensure a user's privacy by providing an encrypted network connection over the internet is
- VPN
- Firewall
- Encryption
- Malware
- Who was the first computer programmer?
- Charles Babbage
- Ada Lovelace
- Alan Turing
- Bill Gates
- ARPANET was created for what reason?
- To connect government and business executives
- To connect government and academic researchers
- To facilitate secure military communication
- To provide public internet access
- A computer is regarded as an ________ device.
- Mechanical
- Manual
- Analog
- Electronic
- For an XNOR gate, which statement about the output is correct?
- The output is false when inputs are different
- The output is true only when both inputs are true
- The output is always false
- The output is true when both inputs are the same
- Based on character type, what are the three types of data?
- Binary, octal, decimal
- Input, processing, output
- Alphabetic, numeric, alphanumeric
- Static, dynamic, volatile
- Which profession would be best suited to create an application for iOS?
- Mobile App Developer
- System Analyst
- Hardware Technician
- Database Administrator
- A computer is defined by which data flow sequence?
- Data - input - output
- Processing - input - output
- Data - processing - output
- None of the above
- Which of these software applications is NOT used for video conferencing?
- Skype
- Zoom
- Google Meet
- Spotify
- Which of the following is NOT a binary Boolean operation?
- NOT
- AND
- OR
- XOR
- A full-stack developer must primarily have professional knowledge of
- Front-end and back-end development
- Hardware assembly and repair
- Graphic design and animation
- Network cabling and infrastructure
- In digital logic, the result of performing a NOT operation on the value 1 is
- -1
- 1
- 0
- Infinity
- The mechanical calculator known as the Pascaline was invented by whom?
- Blaise Pascal
- Charles Babbage
- Gottfried Leibniz
- Herman Hollerith
- In the context of Boolean algebra, what does the value 1 mean?
- True
- False
- Off
- Null
- What is the full meaning of IoT?
- Internet of Things
- Input Output Technology
- Internal Operating Tools
- Integrated Online Tracking
- In Boolean logic, what is the value of the expression A(B + D) when A = 1, B = 0 and D = 1?
- 1
- 0
- -1
- 11
- What is a primary advantage of cloud computing for a business?
- It increases hardware costs
- It requires more physical space
- It improves scalability and efficiency
- It works without internet
- SPSS is an example of a
- Word processor
- Operating system
- Web browser
- Statistical package
- Who developed Boolean algebra?
- Charles Babbage
- George Boole
- Herman Hollerith
- Alan Turing
- The XNOR gate is composed of which combination of gates?
- AND and OR
- NOT and XOR
- NAND and NOR
- XOR and OR
- What is software?
- The physical components of a computer
- Programs that help the hardware function
- A type of storage device
- A peripheral input device
- The result of an XNOR gate is the complement of which logic gate?
- XOR
- NOR
- OR
- NAND
- Which program is used for operations like sorting files, compressing data, or managing disks?
- Database management system
- Operating system
- Utility program
- CPU
- What is the primary difference between the XOR and XNOR logic gates?
- XOR outputs high only when inputs are identical
- XOR outputs high when inputs are different, while XNOR outputs high when inputs are identical
- XNOR is a combination of AND and OR gates
- XOR and XNOR produce the exact same truth table results
- Which programming language or set of languages would be used to develop mobile applications?
- Python
- Swift and Kotlin
- HTML and CSS
- COBOL
- Which of these programming languages or frameworks is commonly used for back-end development?
- React
- Python
- HTML
- CSS
- What is a primary advantage of self-driving cars within the infrastructure of a smart city?
- Increased individual car ownership
- Reduced traffic congestion through real-time communication
- Higher fuel consumption due to advanced sensors
- Complete removal of all traffic lights and signs
- How does Artificial Intelligence provide an advantage for patient care?
- By replacing the need for human doctors entirely
- By providing early detection of health issues through remote monitoring
- By increasing the administrative workload for nurses
- By requiring patients to visit hospitals for every consultation
- Which of these is a benefit of integrating AI with smart infrastructure for urban transport?
- Slower emergency response times
- Optimized traffic flow and synchronized signal timing
- Manual rerouting of vehicles by traffic police
- Increased carbon emissions from idling vehicles
- If x = 1 and y = 1, what is the value of xy + (x + y).x in Boolean algebra?
- 1
- 0
- 5
- 3
- A polynomial cannot have ________.
- Constants
- Coefficients
- Variables
- Negative exponents
- Which of the following is used in Boolean logic?
- Half adder
- Big adder
- Quad adder
- Duo adder
- Which of the following logic gates is true only if both inputs are false?
- AND
- NOR
- NOT
- NAND
- Which of the following correctly pairs an individual with their contribution?
- Philip Emeagwali and the punch card
- Charles Babbage and the transistor
- Herman Hollerith and the integrated circuit
- Grace Hopper and the first compiler
- Which of the following is true if either or both inputs are true?
- NAND
- OR
- NOT
- AND
- What is used to remotely control home appliances and connect them to a network?
- Internet of Things
- Wi-Fi
- IP
- Bluetooth
- Who invented the punched card-controlled power loom machine?
- Herman Hollerith
- Joseph Marie Jacquard
- Charles Babbage
- Blaise Pascal
- What is the primary advantage of Artificial Neural Networks (ANN)?
- Manually inputting data rules
- Predictive analysis and pattern recognition
- Storing data in physical filing cabinets
- Decreasing the speed of data processing
- Which of the following platforms can be used to learn university-level courses?
- Netflix
- Udemy
- Spotify
- Hulu
- Which of these platforms is used primarily for streaming music and podcasts?
- Netflix
- Hulu
- Disney+
- Spotify
- If a person wants to develop a user interface (UI), which technologies should they focus on?
- SQL and Python
- HTML, CSS, and JavaScript
- Assembly language
- COBOL and Fortran
- If a person wants to create a video game, which professionals should they primarily work with?
- Accountants and lawyers
- Animators and programmers
- Civil engineers
- Pharmacists
- Which logic operator uses the dot symbol (.) in Boolean algebraic expressions?
- OR
- AND
- NOT
- XOR
- If someone wants to create both a database management system and a user interface, which role is most suited for this?
- Hardware engineer
- Full stack developer
- Database administrator only
- Graphic designer
- Which of the following is NOT involved in software care and maintenance?
- Updating security patches
- Software optimisation
- Bug fixing
- Hardware calibration
- Which of the following is NOT part of front-end development?
- CSS
- Python
- HTML
- JavaScript
- Which logic gate output is true only if both inputs are true, and false otherwise?
- OR
- AND
- XOR
- NOT
- Natural Language Processing (NLP) is used for which of the following?
- To understand and process human language
- To translate machine code into assembly
- To increase the clock speed of a CPU
- To calibrate hardware sensors
- Microsoft was founded by Bill Gates in
- 1981
- 1990
- 1975
- 1985
- Who invented the World Wide Web?
- Tim Berners-Lee
- Bill Gates
- Steve Jobs
- Mark Zuckerberg
- A company needs to analyze its competitors and improve marketing strategies. Which computer expert should it employ?
- Network security engineer
- Database administrator
- Web developer
- Business intelligence analyst
- Which statement best distinguishes synthetic intelligence from traditional artificial intelligence?
- Synthetic intelligence focuses on simulating biological or natural intelligence, while AI is the general term for machines mimicking cognitive functions
- Synthetic intelligence is a type of mechanical hardware
- Synthetic intelligence eliminates the need for data
- Synthetic intelligence is used only for manual data entry
- What is the primary importance of neuromorphic computing?
- It eliminates the need for any software updates
- It allows computers to run without electricity
- It mimics the neural structure of the human brain to improve efficiency
- It is used only for basic word processing
- De Morgan's law is primarily used for which of the following?
- Simplifying complex logic expressions
- Defining a truth table
- Increasing the physical size of a circuit
- Calculating the power consumption of a CPU
- What is the primary function of a software engineer?
- Designing and maintaining computer hardware
- Providing customer support for internet services
- Managing a company's physical network cables
- Applying engineering principles to develop and maintain software
- Which of the following technologies is widely expected to significantly enhance and integrate into most sectors in the future?
- Optical fiber
- Vacuum tubes
- Artificial intelligence
- Floppy disks
- The total number of input combinations for the Boolean values of n variables is calculated as
- 2²ⁿ
- 3ⁿ
- 2ⁿ
- n²
- Which of the following can be used to store and manage data without the need for a company to buy a server?
- Cloud computing
- Local Area Network
- Hard disk drive
- Optical disc
- Which of the following gates outputs a 0 if either one or both of the inputs are 0?
- XNOR
- OR
- NAND
- AND
- What is the primary difference between a Cybersecurity Officer and Network Security personnel?
- Cybersecurity officers only work with physical hardware repairs
- Cybersecurity is a broad field protecting all digital assets, while network security focuses specifically on protecting the transit of data within the network
- Network security personnel are responsible for writing software code, while cybersecurity officers are not
- There is no difference as both roles only involve resetting user passwords
- Which component of the old computer did von Neumann introduce?
- Stored program
- WPC
- Abacus system
- Vacuum tubes
- For a NAND gate output to be true, which of the following is required?
- Both inputs are true
- Both inputs are false
- One of the inputs is true
- At least one of the inputs is false
- Uber and Lyft are used for
- Communication
- Food processing
- Ride hailing
- Social networking
- The Domain Name System (DNS) was introduced in which decade?
- 1960s
- 1970s
- 1980s
- 1990s
- Which of the following is not among the three basic (major) logic gates?
- AND
- NOT
- OR
- XNOR
- A cybersecurity expert often works closely with
- Maintenance staff
- Upper management
- Marketing department
- Human resources
- Given the truth table with inputs A and B and output X: (A=0, B=0 → X=0), (A=0, B=1 → X=1), (A=1, B=0 → X=1), (A=1, B=1 → X=0), which logic gate does it represent?
- AND
- XOR
- NAND
- XNOR
- In the abacus, which part represents human fingers?
- Wires
- Upper beads
- Lower beads
- Both upper and lower beads
- Which of the following logic operators has the highest precedence in Boolean algebra?
- OR
- NOT
- AND
- NAND
- What is the primary function of Software-Defined Networking (SDN)?
- To increase the physical weight of network switches
- To centralize network control and allow for programmable network management
- To replace all wireless connections with copper cables
- To manually configure every individual router in a building
- How has technology specifically helped the field of medicine?
- By reducing the number of available doctors
- By making all medical procedures completely manual
- By increasing the time it takes to process patient records
- By analyzing medical images and providing early detection of diseases
- What is a primary importance of the Internet of Bodies (IoB) in the field of medicine?
- To decrease the accuracy of prosthetic limbs
- To provide real-time health monitoring via internal or wearable devices
- To replace the need for an internet connection in hospitals
- To manually record patient data on paper
- Which of the following logic operators has the lowest precedence in Boolean algebra?
- OR
- AND
- NAND
- NOR
- The NOR logic function can be deduced using which combination of basic gates?
- AND and NOT
- NOT and XOR
- NAND and XOR
- OR and NOT
- Based on its input requirements, the NOR gate is classified as what kind of gate?
- Unary
- Binary
- Ternary
- Nullary
- Which of the following is an example of an input device?
- Microphone
- Speaker
- Monitor
- Printer
- What is the major difference between an interpreter and a compiler?
- An interpreter converts the whole program at once, while a compiler does it line by line
- An interpreter translates and executes code line by line, while a compiler translates the entire program before execution
- A compiler is only used for high-level languages, while an interpreter is only for machine code
- There is no difference as they both perform the same task at the same speed
- The company that is now IBM was founded by whom?
- Herman Hollerith
- Thomas J. Watson
- Charles Babbage
- Alan Turing
Register free to unlock all 190 questions with answers and explanations