COMPUTER SCIENCE MCQS
1. What does CPU stand for?
a) Central Process Unit
b) Central Processing Unit
c) Central Program Unit
d) Central Primary Unit
Answer: b) Central Processing Unit
2. Which of the following is a programming language?
a) HTTP
b) HTML
c) FTP
d) SQL
Answer: d) SQL
3. What is the brain of the computer?
a) Monitor
b) Mouse
c) Central Processing Unit (CPU)
d) Keyboard
Answer: c) Central Processing Unit (CPU)
4. Which of the following is not an operating system?
a) Windows
b) Linux
c) Oracle
d) DOS
Answer: c) Oracle
5. Which of the following is a volatile memory?
a) ROM
b) HDD
c) RAM
d) SSD
Answer: c) RAM
6. The extension “.txt” refers to which file type?
a) Image file
b) Text file
c) Audio file
d) Executable file
Answer: b) Text file
7. Which part of the computer is responsible for executing instructions?
a) RAM
b) CPU
c) Hard Drive
d) Motherboard
Answer: b) CPU
8. What is the full form of HTTP?
a) HyperText Transfer Protocol
b) HyperText Transmission Protocol
c) Hyper Transfer Text Protocol
d) Hyper Transmission Text Protocol
Answer: a) HyperText Transfer Protocol
9. Which of the following is not a programming language?
a) Python
b) Java
c) HTML
d) C++
Answer: c) HTML
10. What is the name of the first electronic computer?
a) ENIAC
b) UNIVAC
c) IBM
d) Apple
Answer: a) ENIAC
11. Which of the following memory is non-volatile?
a) RAM
b) ROM
c) Cache
d) Register
Answer: b) ROM
12. Which protocol is used to send emails?
a) HTTP
b) FTP
c) SMTP
d) IMAP
Answer: c) SMTP
13. In binary, what does 101 represent in decimal?
a) 4
b) 5
c) 6
d) 7
Answer: b) 5
14. What is an algorithm?
a) A program
b) A set of rules or steps to solve a problem
c) A data structure
d) A software application
Answer: b) A set of rules or steps to solve a problem
15. What is the smallest unit of data in a computer?
a) Byte
b) Bit
c) Nibble
d) Word
Answer: b) Bit
16. What does URL stand for?
a) Uniform Resource Locator
b) Uniform Resource Link
c) Universal Resource Locator
d) Universal Resource Link
Answer: a) Uniform Resource Locator
17. What does SQL stand for?
a) Structured Question Language
b) Structured Query Language
c) Simple Query Language
d) Simple Question Language
Answer: b) Structured Query Language
18. Which of the following is a type of software?
a) CPU
b) Mouse
c) Operating System
d) Monitor
Answer: c) Operating System
19. Which device is used to connect a computer to a network?
a) Printer
b) Keyboard
c) Modem
d) Monitor
Answer: c) Modem
20. What does GUI stand for?
a) General User Interface
b) Graphical User Interface
c) Global User Interface
d) Graphical Uniform Interface
Answer: b) Graphical User Interface
21. Which of the following is a primary storage device?
a) RAM
b) Hard Disk
c) USB
d) DVD
Answer: a) RAM
22. The operating system manages which of the following?
a) Hardware
b) Software
c) Memory
d) All of the above
Answer: d) All of the above
23. What does LAN stand for?
a) Local Area Network
b) Large Area Network
c) Long Area Network
d) Light Area Network
Answer: a) Local Area Network
24. What is the full form of USB?
a) Universal Serial Bus
b) Uniform System Bus
c) Universal System Bus
d) Uniform Serial Bus
Answer: a) Universal Serial Bus
25. Which of the following is a web browser?
a) Google
b) Yahoo
c) Chrome
d) Bing
Answer: c) Chrome
26. Which of the following is an example of an output device?
a) Mouse
b) Keyboard
c) Monitor
d) Scanner
Answer: c) Monitor
27. What does IP stand for in networking?
a) Internet Program
b) Internet Protocol
c) Internal Program
d) Internal Protocol
Answer: b) Internet Protocol
28. What is the main function of an operating system?
a) To create software
b) To manage hardware and software resources
c) To run applications
d) To provide internet connectivity
Answer: b) To manage hardware and software resources
29. In a database, what does DBMS stand for?
a) Database Maintenance System
b) Database Management System
c) Data Backup Management System
d) Data Business Management System
Answer: b) Database Management System
30. Which of the following is a cloud storage service?
a) Dropbox
b) RAM
c) CPU
d) SSD
Answer: a) Dropbox
31. Which language is used for artificial intelligence?
a) Python
b) Java
c) Prolog
d) All of the above
Answer: d) All of the above
32. What is the full form of XML?
a) eXtensible Markup Language
b) eXtra Markup Language
c) Extended Mark Language
d) None of the above
Answer: a) eXtensible Markup Language
33. Which device is used to convert analog signals to digital signals?
a) Router
b) Modem
c) Switch
d) Bridge
Answer: b) Modem
34. Which of the following is used to uniquely identify a device on a network?
a) IP Address
b) MAC Address
c) Domain Name
d) URL
Answer: b) MAC Address
35. Which of the following is a popular database management system?
a) MySQL
b) Windows
c) Linux
d) Apache
Answer: a) MySQL
36. What is the full form of PDF?
a) Portable Document Format
b) Portable Data File
c) Personal Data Format
d) Personal Document File
Answer: a) Portable Document Format
37. What is the main component of the first generation computers?
a) Vacuum Tubes
b) Transistors
c) Integrated Circuits
d) Microprocessors
Answer: a) Vacuum Tubes
38. What is the name of Microsoft’s cloud computing platform?
a) AWS
b) Azure
c) Google Cloud
d) IBM Cloud
Answer: b) Azure
39. Which of the following is a NoSQL database?
a) MySQL
b) MongoDB
c) Oracle
d) SQL Server
Answer: b) MongoDB
40. Which of the following is a Linux-based OS for mobile devices?
a) iOS
b) Android
c) Windows Phone
d) BlackBerry
Answer: b) Android
41. Which of the following is a command-line interface OS?
a) Windows
b) Linux
c) DOS
d) MacOS
Answer: c) DOS
42. What does API stand for?
a) Application Program Interface
b) Application Programming Interface
c) Advanced Program Interface
d) Advanced Programming Interface
Answer: b) Application Programming Interface
43. Which of the following is a markup language?
a) PHP
b) C++
c) HTML
d) Python
Answer: c) HTML
44. Which generation of computers used Integrated Circuits?
a) First
b) Second
c) Third
d) Fourth
Answer: c) Third
45. What does BIOS stand for?
a) Basic Input Output System
b) Binary Input Output System
c) Basic Internal Output System
d) Binary Internal Output System
Answer: a) Basic Input Output System
46. Which of the following is a type of malware?
a) Virus
b) Firewall
c) Antivirus
d) Compiler
Answer:
a) Virus
47. What does URL stand for?
a) Uniform Resource Locator
b) Uniform Resource Link
c) Universal Resource Locator
d) Universal Resource Link
Answer: a) Uniform Resource Locator
48. In HTML, what does CSS stand for?
a) Cascading Style Sheets
b) Computer Style Sheets
c) Cascading System Style
d) Computer System Style
Answer: a) Cascading Style Sheets
49. What is the full form of PHP?
a) Personal Home Page
b) Hypertext Preprocessor
c) Pre Hypertext Processor
d) Post Hypertext Processor
Answer: b) Hypertext Preprocessor
50. What is the most common use of the ‘while’ loop in programming?
a) To create an infinite loop
b) To iterate over a sequence
c) To repeatedly execute a block of code until a condition is met
d) To execute code once
Answer: c) To repeatedly execute a block of code until a condition is met
51. In which year was the World Wide Web introduced to the public?
a) 1989
b) 1991
c) 1995
d) 2000
Answer: b) 1991
52. Which of the following is the main memory?
a) ROM
b) RAM
c) Cache
d) Hard Disk
Answer: b) RAM
53. Which programming language is primarily used for Android app development?
a) Swift
b) Kotlin
c) Objective-C
d) PHP
Answer: b) Kotlin
54. What does DNS stand for?
a) Domain Name System
b) Distributed Network Service
c) Data Network System
d) Digital Network Service
Answer: a) Domain Name System
55. What is the role of a compiler?
a) To interpret code line by line
b) To execute code directly
c) To translate high-level code to machine code
d) To store code
Answer: c) To translate high-level code to machine code
READ ALSO:Bait-Ul-Maal Jobs 2024 Apply Online
56. Which protocol is used for secured communication over the internet?
a) HTTP
b) FTP
c) HTTPS
d) TCP
Answer: c) HTTPS
57. In a relational database, what is a tuple?
a) A row in a table
b) A column in a table
c) A key in a table
d) A relationship between tables
Answer: a) A row in a table
58. Which of the following is used to compress files?
a) PNG
b) ZIP
c) JPEG
d) TXT
Answer: b) ZIP
59. What is the default port number for HTTP?
a) 21
b) 80
c) 443
d) 25
Answer: b) 80
60. What is the full form of BIOS?
a) Basic Internal Output System
b) Binary Input Output System
c) Basic Input Output System
d) Binary Internal Output System
Answer: c) Basic Input Output System