0% found this document useful (0 votes)
4 views8 pages

Algorithms

The document consists of a series of multiple-choice questions covering various topics in computer science, including algorithms, databases, artificial intelligence, cybersecurity, logic gates, spreadsheets, operating systems, and general IT concepts. Each question is followed by the correct answer, providing a quick reference for understanding key concepts in these areas. The content is structured to aid in learning and assessing knowledge in fundamental IT principles.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views8 pages

Algorithms

The document consists of a series of multiple-choice questions covering various topics in computer science, including algorithms, databases, artificial intelligence, cybersecurity, logic gates, spreadsheets, operating systems, and general IT concepts. Each question is followed by the correct answer, providing a quick reference for understanding key concepts in these areas. The content is structured to aid in learning and assessing knowledge in fundamental IT principles.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ALGORITHMS

1. An algorithm is best described as:


A. A computer program
B. A set of instructions to solve a problem
C. A hardware component
D. A programming language
Answer: B
2. Which of the following is commonly used to represent an algorithm?
A. Spreadsheet
B. Database
C. Flowchart
D. Webpage
Answer: C
3. Which flowchart symbol is used for making decisions?
A. Oval
B. Rectangle
C. Diamond
D. Parallelogram
Answer: C
4. A good algorithm must be:
A. Long and complex
B. Clear and finite
C. Written in code
D. Hardware-dependent
Answer: B
5. What is usually the first step in developing an algorithm?
A. Coding
B. Debugging
C. Understanding the problem
D. Testing
Answer: C

DATABASE
6. A database is:
A. A collection of computer viruses
B. An organized collection of data
C. A programming language
D. An operating system
Answer: B
7. Which of the following is an example of a Database Management System (DBMS)?
A. Python
B. MySQL
C. Windows
D. Excel
Answer: B
8. In a database table, each row is called a:
A. Field
B. Column
C. Record
D. Cell
Answer: C
9. Which key uniquely identifies a record in a database?
A. Foreign key
B. Candidate key
C. Primary key
D. Secondary key
Answer: C
10. Databases are commonly used to:
A. Draw pictures
B. Store and manage information
C. Write algorithms
D. Control hardware
Answer: B

ARTIFICIAL INTELLIGENCE (AI)


11. Artificial Intelligence enables computers to:
A. Work without electricity
B. Think and act like humans
C. Replace hardware
D. Store large data
Answer: B
12. Which of the following is an example of AI?
A. Calculator
B. Voice assistant
C. Printer
D. Keyboard
Answer: B
13. AI systems are mainly used to:
A. Increase storage size
B. Perform intelligent tasks
C. Reduce internet usage
D. Improve hardware speed
Answer: B
14. Facial recognition technology is an example of:
A. Database system
B. Artificial intelligence
C. Spreadsheet application
D. Antivirus software

15. AI works best when it has access to:


A. Electricity
B. Large amounts of data
C. Flowcharts
D. Hardware drivers

16. Python is a:
A. Low-level language
B. High-level programming language
C. Machine language
D. Assembly language

17. Which symbol is used to write comments in Python?


A. //
B. <!-- -->
C. #
D. **

18. Which function is used to display output in Python?


A. output()
B. show()
C. print()
D. display()

19. Which data type is used to store text in Python?


A. int
B. float
C. str
D. bool

20. Which of the following is a correct Python variable name?


A. 1value
B. my-value
C. my_value
D. my value
21. Cyber security focuses on:
A. Programming computers
B. Protecting systems and data
C. Increasing storage
D. Designing websites

22. Which of the following is a strong password?


A. password
B. 123456
C. Abc@1234
D. username

23. Phishing is:


A. A game
B. A type of firewall
C. A method of tricking users into revealing information
D. A programming error

24. Malware is:


A. Hardware damage
B. A computer virus or harmful software
C. An operating system
D. A spreadsheet tool

25. Which tool helps protect a network from unauthorized access?


A. Compiler
B. Firewall
C. Algorithm
D. Spreadsheet

26. Logic gates are used to:


A. Store files
B. Perform logical operations
C. Display output
D. Connect network
27. Which logic gate gives output 1 only when both inputs are 1?
A. OR
B. AND
C. NOT
D. XOR

28. Which logic gate has only one input?


A. AND
B. OR
C. NOT
D. NAND

29. Which logic gate gives the opposite of the input?


A. OR
B. AND
C. NOT
D. NOR

30. Logic gates are fundamental parts of:


A. Databases
B. Digital circuits
C. Spreadsheets
D. Text editors

31. A spreadsheet is mainly used for:


A. Writing letters
B. Calculations and data analysis
C. Drawing diagrams
D. Programming

32. The intersection of a row and a column is called a:


A. Field
B. Record
C. Cell
D. Table

33. Which symbol starts a formula in a spreadsheet?


A. +
B. =
C. *
D. #

34. Which spreadsheet function adds numbers?


A. COUNT
B. SUM
C. AVERAGE
D. MAX
35. Antivirus software is used to:
A. Increase internet speed
B. Detect and remove viruses
C. Create programs
D. Manage files

36. Which of the following is an antivirus program?


A. Excel
B. Avast
C. Windows
D. Python

37. An embedded system is:


A. A general-purpose computer
B. A computer built into another device
C. A programming language
D. A database system

38. Which of the following uses an embedded system?


A. Washing machine
B. Desktop computer
C. Laptop
D. Printer driver

39. Machine learning allows computers to:


A. Store files
B. Learn from data
C. Replace operating systems
D. Create hardware

39. Which of the following is an example of machine learning?


A. Spam email filtering
B. Calculator
C. Text editor
D. Keyboard

OPERATING SYSTEM
41. An operating system is:
A. Application software
B. Hardware component
C. System software
D. Programming language

42. Which of the following is an operating system?


A. Python
B. Microsoft Word
C. Windows
D. Excel

43. One function of an operating system is to:


A. Write programs
B. Manage hardware and software
C. Design databases
D. Create spreadsheets

44. Which operating system is commonly used on smartphones?


A. DOS
B. UNIX
C. Android
D. Linux Mint

45. The operating system controls:


A. Only software
B. Only hardware
C. Both hardware and software
D. Only input devices

GENERAL IT
46. Which device is used to input data?
A. Monitor
B. Printer
C. Keyboard
D. Speaker

47. Which storage device stores data permanently?


A. RAM
B. Cache
C. Hard disk
D. Register

48. Which of the following is system software?


A. Spreadsheet
B. Web browser
C. Operating system
D. Presentation software

49. ICT stands for:


A. Information and Computer Technology
B. Information and Communication Technology
C. Internet and Communication Tools
D. Integrated Computer Technology

50. Which of the following best describes software?


A. Physical parts of a computer
B. Programs and instructions for a computer
C. Input devices
D. Output devices

You might also like