COMPUTER QUIZE

1. What does CPU stand for?
A) Central Process Unit
B) Central Processor Unit
C) Computer Personal Unit
D) Central Processing Unit
2. Which of the following is an input device?
A) Monitor
B) Keyboard
C) Printer
D) Speaker
3. What is the primary purpose of an operating system?
A) Run applications
B) Manage hardware resources
C) Connect to the internet
D) All of the above
4. What does HTML stand for?
A) Hyper Text Markup Language
B) High-Level Text Machine Language
C) Hyperlink and Text Markup Language
D) Hyper Transfer Markup Language
5. Which programming language is known as "the mother of all languages"?
A) C
B) Python
C) Assembly Language
D) Fortran
6. What does LAN stand for?
A) Local Area Network
B) Large Area Network
C) Linked Area Network
D) Longitudinal Array Network
7. What is the function of RAM in a computer?
A) Long-term storage
B) Temporary storage
C) Processing data
D) Input device
8. Which protocol is used for sending emails?
A) FTP
B) HTTP
C) SMTP
D) POP
9. What is the purpose of a firewall in a computer system?
A) Block viruses
B) Monitor internet usage
C) Protect against unauthorized access
D) All of the above
10. What is the binary equivalent of the decimal number 25?
A) 10101
B) 11001
C) 11111
D) 10001
11. Which data structure follows the Last In, First Out (LIFO) principle?
A) Queue
B) Stack
C) Linked List
D) Tree
12. What does GUI stand for?
A) Graphical User Interface
B) General User Interface
C) Global User Interface
D) General Unifying Interface
13. Which programming language is commonly used for web development?
A) Java
B) C++
C) JavaScript
D) Swift
14. What is the role of an interpreter in programming?
A) Translates high-level code to machine code
B) Executes code line by line
C) Optimizes code for better performance
D) Converts code into a standalone executable
15. What is the purpose of a router in a network?
A) Connects devices within the same network
B) Filters and forwards data between networks
C) Manages print jobs in a network
D) Monitors network traffic
16. Which file extension is associated with a Word document?
A) .docx
B) .txt
C) .pdf
D) .exe
17. What does SQL stand for?
A) Structured Query Language
B) System Query Language
C) Simple Question Language
D) Sequential Query Language
18. In binary code, what does the digit '1' represent?
A) Off
B) On
C) Null
D) Error
19. Which programming paradigm treats computation as the evaluation of mathematical functions?
A) Imperative
B) Declarative
C) Functional
D) Object-Oriented
20. What is the purpose of the CSS (Cascading Style Sheets) in web development?
A) Define the structure of a web page
B) Provide interactivity to the webpage
C) Style the presentation of a web page
D) Manage server-side logic
21. What is a DNS used for?
A) Encrypt data transmission
B) Convert domain names to IP addresses
C) Manage user authentication
D) Monitor network traffic
22. Which programming language is commonly used for artificial intelligence and machine learning?
A) Java
B) Python
C) C#
D) Ruby
23. What is a 'bug' in programming terminology?
A) An error in the code
B) A feature of the program
C) A virus
D) A hardware issue
24. Which of the following is an example of a high-level programming language?
A) Assembly
B) Machine Code
C) Python
D) Binary
25. What is the purpose of the 'if' statement in programming?
A) Loop control
B) Decision making
C) Exception handling
D) Function definition
26. Which data structure uses a hierarchical structure with parent and child relationships?
A) Stack
B) Queue
C) Tree
D) Linked List
27. What is the role of a compiler in programming?
A) Executes code line by line
B) Translates high-level code to machine code
C) Converts code into a standalone executable
D) Optimizes code for better performance
28. What is the purpose of an IP address in networking?
A) Identify a device on the internet
B) Determine the device manufacturer
C) Manage network security
D) Store user credentials
29. Which data type is used to store whole numbers in programming?
A) Float
B) Char
C) Integer
D) Double
30. What is the function of a modem in computer networking?
A) Connects devices within the same network
B) Modulates and demodulates signals for data transmission
C) Manages print jobs in a network
D) Filters and forwards data between networks
31. What does CDN stand for in the context of web development?
A) Central Data Network
B) Content Delivery Network
C) Central Development Network
D) Computer Distribution Network
32. What is the purpose of the 'break' statement in programming?
A) End the program
B) Exit the current loop or switch statement
C) Start a new function
D) Display a message to the user
33. Which sorting algorithm has the best time complexity in the average case?
A) Bubble Sort
B) Quick Sort
C) Insertion Sort
D) Selection Sort
34. What is a VPN used for?
A) Securely connect to a private network over the internet
B) Encrypt data transmission
C) Manage network security
D) Monitor internet usage
35. What is the purpose of the 'try' and 'catch' blocks in programming?
A) Define a new function
B) Handle exceptions
C) Declare variables
D) Start a loop
36. Which of the following is an example of a cloud computing service?
A) Microsoft Excel
B) Dropbox
C) Notepad
D) Photoshop
37. What is the purpose of the 'this' keyword in object-oriented programming?
A) Refer to the current instance of a class
B) Declare a new variable
C) Loop control
D) Manage network security
38. Which type of attack involves tricking a user into providing confidential information?
A) Denial-of-Service (DoS)
B) Man-in-the-Middle (MitM)
C) Phishing
D) SQL Injection
39. What is Git used for in software development?
A) Version control
B) Database management
C) Network security
D) Web development
40. What is the purpose of a cache in computing?
A) Store temporary data for faster access
B) Manage network security
C) Execute code line by line
D) Convert code into a standalone executable
41. Which of the following is an example of a markup language?
A) Java
B) HTML
C) Python
D) C++
42. What is the role of a primary key in a relational database?
A) Identify a unique record in a table
B) Store large amounts of text data
C) Sort data in ascending order
D) Define table relationships
43. Which encryption algorithm is widely used for securing internet communication?
A) DES (Data Encryption Standard)
B) RSA (Rivest–Shamir–Adleman)
C) AES (Advanced Encryption Standard)
D) MD5 (Message Digest Algorithm)
44. What is a virtual machine in computing?
A) A physical computer
B) A software emulation of a physical computer
C) An input device
D) A network protocol
45. What is the purpose of a constructor in object-oriented programming?
A) Execute code line by line
B) Define a new function
C) Initialize object properties
D) Declare variables
46. Which of the following is a NoSQL database?
A) MySQL
B) PostgreSQL
C) MongoDB
D) Oracle
47. What is the purpose of the 'viewport' meta tag in HTML?
A) Control the layout of a webpage
B) Define the document type
C) Set the background color of a webpage
D) Specify the character encoding
48. Which data structure uses the First In, First Out (FIFO) principle?
A) Stack
B) Queue
C) Tree
D) Linked List
49. What is the role of a DNS server?
A) Store user credentials
B) Manage network security
C) Translate domain names to IP addresses
D) Monitor internet usage
50. Which of the following is a web server software?
A) Apache
B) MySQL
C) Nginx
D) MongoDB
{"name":"COMPUTER QUIZE", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"1. What does CPU stand for?, 2. Which of the following is an input device?, 3. What is the primary purpose of an operating system?","img":"https://www.quiz-maker.com/3012/CDN/97-4773550/android-chrome-192x192.png?sz=1200-00000018790977005300"}
Powered by: Quiz Maker