Which of the following best describes the function of an interpreter in programming?
A) Translates the entire program at once and creates an executable B) Executes each line of code line-by-line C) Converts machine code to high-level code D) Detects errors in compiled code
Correct Answer: B) Executes each line of code line-by-line
Explanation: An interpreter translates and executes each line of code one-by-one, unlike a compiler which translates the entire program at once.
Question 42
Which of the following is a common feature of utility software?
A) Compressing data B) Running applications C) Controlling hardware D) Managing user accounts
Correct Answer: A) Compressing data
Explanation: Utility software extends the capabilities of an operating system, including features like compressing data, managing files, or performing system diagnostics.
Question 43
Which of the following is considered a type of network topology?
A) Cloud B) Virtual Machine C) Star D) File System
Correct Answer: C) Star
Explanation: A star topology is a network configuration where each device is connected to a central device like a hub or switch.
Question 44
What is the primary function of a web server?
A) To process database queries B) To store and serve web pages C) To perform backups D) To send emails
Correct Answer: B) To store and serve web pages
Explanation: A web server stores and delivers web pages to users via the internet.
Question 45
Which type of software license allows users to freely use and modify the source code?
A) Proprietary Software B) Shareware C) Freeware D) Open Source
Correct Answer: D) Open Source
Explanation: Open Source software allows users to freely access, modify, and distribute the source code.
Question 46
What is the function of a device driver?
A) To control hardware devices B) To manage system memory C) To perform backups D) To manage user accounts
Correct Answer: A) To control hardware devices
Explanation: A device driver is software that facilitates communication between the operating system and hardware devices.
Question 47
What is the primary benefit of cloud computing?
A) Faster processing speed B) Unlimited storage C) Remote access to resources D) High security
Correct Answer: C) Remote access to resources
Explanation: Cloud computing allows users to access computing resources like storage, applications, and servers from remote locations via the internet.
Question 48
Which protocol is most commonly used for internet communication?
A) FTP B) HTTP C) SMTP D) SSH
Correct Answer: B) HTTP
Explanation: HTTP (Hypertext Transfer Protocol) is the most commonly used protocol for communication on the internet, particularly for accessing websites.
Question 49
Which network component is responsible for directing data packets to their destination?
A) Switch B) Hub C) Router D) Modem
Correct Answer: C) Router
Explanation: A router directs data packets across networks to their intended destination by determining the best path for the data to travel.
Question 50
What does the acronym FTP stand for?
A) File Transfer Protocol B) Fast Transfer Protocol C) File Tracking Protocol D) File Transfer Program
Correct Answer: A) File Transfer Protocol
Explanation: FTP (File Transfer Protocol) is used to transfer files between computers over a network.