Showing 31–40 of 55 questions
Which of the following is the correct use of an apostrophe?
A
The dogs bone is large
B
The dog's bone is large
C
The dogs' bone is large
D
The dog bone's is large
Correct Answer:
B. The dog's bone is large
Explanation:
The apostrophe in 'dog's' indicates possession. The bone belongs to the dog.
What is the main purpose of a 'Disclaimer'?
A
To promote a product
B
To deny responsibility or liability
C
To advertise services
D
To encourage purchases
Correct Answer:
B. To deny responsibility or liability
Explanation:
A disclaimer is a statement to deny or limit responsibility for something.
What is XML used for in web development?
A
Styling web pages
B
Defining data structure and content
C
Creating interactive animations
D
Database management
Correct Answer:
B. Defining data structure and content
Explanation:
XML (eXtensible Markup Language) is used to define data structure and organize content in a readable format.
What does HTML stand for?
A
Hyper Text Markup Language
B
High Tech Modern Language
C
Home Tool Markup Language
D
Hyperlinks and Text Markup Language
Correct Answer:
A. Hyper Text Markup Language
Explanation:
HTML stands for HyperText Markup Language, the standard markup language for creating web pages.
What is the primary purpose of CSS?
A
To structure HTML documents
B
To style and layout web pages
C
To create interactive features
D
To manage databases
Correct Answer:
B. To style and layout web pages
Explanation:
CSS (Cascading Style Sheets) is used for styling and visual presentation of web pages.
Which of the following is a NoSQL database?
A
MySQL
B
PostgreSQL
C
MongoDB
D
Oracle
Correct Answer:
C. MongoDB
Explanation:
MongoDB is a NoSQL database that stores data in document format. MySQL, PostgreSQL, and Oracle are relational databases.
What is the time complexity of binary search?
A
O(n)
B
O(n^2)
C
O(log n)
D
O(1)
Correct Answer:
C. O(log n)
Explanation:
Binary search has a time complexity of O(log n) because it divides the search space in half with each iteration.
What is the purpose of an API?
A
To store data
B
To enable communication between software applications
C
To design user interfaces
D
To manage user accounts
Correct Answer:
B. To enable communication between software applications
Explanation:
An API (Application Programming Interface) allows different software applications to communicate and exchange data.
What does REST stand for?
A
Resource Exchange Software Technology
B
Representational State Transfer
C
Remote Equipment System Technology
D
Rapid Execution System Transfer
Correct Answer:
B. Representational State Transfer
Explanation:
REST stands for Representational State Transfer, an architectural style for web services.
Which sorting algorithm has the worst-case time complexity of O(n^2)?
A
Merge Sort
B
Quick Sort
C
Bubble Sort
D
Heap Sort
Correct Answer:
C. Bubble Sort
Explanation:
Bubble sort has a worst-case time complexity of O(n^2) when the array is in reverse order.