What is the main function of an API? MCQ with Answer and Explanation

What is the main function of an API?
A. Manages hardware
B. Defines how software components interact
C. Provides user interface
D. Compiles code
Answer: Option B
Solution (By JKSSB Mock Tests)
APIs specify protocols for communication between software programs.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Software Questions

Question #1
A utility program that securely deletes files by overwriting their storage sectors with zeros or random noise multiple times to comply with data data data sanitization standards is a:
A. Data Sanitization / Secure Erase Utility
B. Disk Defragmenter Tool
C. File Archiver Engine
D. System Registry Sweeper

Correct Answer: Option A


Explanation:
Secure erase utilities use data data data sanitization algorithms to overwrite drive sectors repeatedly, ensuring deleted information cannot be recovered by forensic tools.

This question belongs to: Computer Computer Software
Question #2
Which utility component inside an operating system manages the physical network interfaces, translates data packets, and implements standard connection protocols?
A. Network Stack / Network Subsystem
B. Process Scheduler Core
C. Disk Management Module
D. File Allocation Table

Correct Answer: Option A


Explanation:
The network stack handles communication protocols (like TCP/IP) and coordinates data exchange between the operating system and physical network interfaces.

This question belongs to: Computer Computer Software
Question #3
Which type of backup scheme only copies data files that have been created or modified since the last full backup operation took place?
A. Full Backup
B. System Image Restoration
C. Mirror Backup
D. Differential Backup

Correct Answer: Option D


Explanation:
A differential backup records all shifts made since the last complete full baseline backup, reducing redundant storage compared to running daily full backups.

This question belongs to: Computer Computer Software