What is the difference between an API and a GUI? MCQ with Answer and Explanation

What is the difference between an API and a GUI?
A. API and GUI are the same
B. API is for user interaction; GUI is for program interaction
C. API is hardware; GUI is software
D. API is for program-to-program communication; GUI is for user interaction
Answer: Option D
Solution (By JKSSB Mock Tests)
GUI allows users to interact with software, while API allows programs to interact with each other.

Discuss this Question (0)

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

Practice More Computer Software Questions

Question #1
What is the role of a file system driver?
A. Enables OS to read/write specific file systems
B. Manages network
C. Controls hardware
D. Manages memory

Correct Answer: Option A


Explanation:
File system drivers allow the OS to support formats like NTFS, FAT, ext4.

This question belongs to: Computer Computer Software
Question #2
What is the difference between a thread and a process in software?
A. Thread is a program; process is a unit
B. Process is for CPU; thread is for memory
C. Process is a program in execution; thread is a smaller unit within a process
D. They are the same

Correct Answer: Option C


Explanation:
A process can contain multiple threads sharing resources.

This question belongs to: Computer Computer Software
Question #3
Which software is used for creating presentations?
A. Microsoft PowerPoint
B. Microsoft Access
C. Microsoft Excel
D. Microsoft Word

Correct Answer: Option A


Explanation:
PowerPoint is application software used to create slide-based presentations.

This question belongs to: Computer Computer Software