Showing 31–40 of 50 questions
What does REST stand for in web development?
A
Representational State Transfer
B
Remote Exchange State Transfer
C
Relational Execution State Transfer
D
Resource Exchange System Transfer
Correct Answer:
A. Representational State Transfer
Explanation:
REST stands for Representational State Transfer, an architectural style for APIs
Which data structure uses LIFO principle?
A
Queue
B
Stack
C
Array
D
Tree
Explanation:
Stack uses Last In First Out (LIFO). Queue uses FIFO (First In First Out)
What is the purpose of version control systems like Git?
A
To compile code
B
To track changes and manage collaboration
C
To execute programs
D
To debug code
Correct Answer:
B. To track changes and manage collaboration
Explanation:
Git is used to track code changes, manage versions, and enable team collaboration
What is the main difference between an array and a linked list?
A
Arrays are slower
B
Arrays use continuous memory; linked lists use scattered memory
C
Linked lists can only store numbers
D
Arrays are always smaller
Correct Answer:
B. Arrays use continuous memory; linked lists use scattered memory
Explanation:
Arrays allocate continuous memory blocks; linked lists use nodes scattered in memory
What does OOP stand for?
A
Object Oriented Programming
B
Operating Order Protocol
C
Open Online Platform
D
Output Oriented Programming
Correct Answer:
A. Object Oriented Programming
Explanation:
OOP (Object Oriented Programming) is a programming paradigm based on objects and classes
Which keyword is used to define a class in Python?
A
class
B
Class
C
define
D
struct
Explanation:
Python uses lowercase 'class' keyword to define classes
What does HTTP stand for?
A
HyperText Transfer Protocol
B
High Transfer Text Protocol
C
Home Telecom Transfer Protocol
D
Hybrid Text Transfer Package
Correct Answer:
A. HyperText Transfer Protocol
Explanation:
HTTP is HyperText Transfer Protocol, the foundation of data communication on the web
Which of the following is NOT a cloud service model?
A
SaaS
B
PaaS
C
IaaS
D
DaaS
Explanation:
SaaS (Software as Service), PaaS (Platform as Service), IaaS (Infrastructure as Service) are main cloud models. DaaS is Data as Service but not standard
What does CSS stand for?
A
Computer Style Sheets
B
Cascading Style Sheets
C
Compiled Style Scripts
D
Central Styling System
Correct Answer:
B. Cascading Style Sheets
Explanation:
CSS (Cascading Style Sheets) is used for styling HTML elements
Which sorting algorithm has the best average time complexity?
A
Bubble sort
B
Quick sort
C
Linear sort
D
Selection sort
Correct Answer:
B. Quick sort
Explanation:
Quick sort has average time complexity O(n log n), better than bubble sort O(n²)