Computer Science

Computer science quizzes on programming languages, web development, data structures, databases, networking, and software fundamentals.

10

Quizzes

100

Questions

00

eBooks

17

Articles

00

Likes

146

Views

00

Shares

Computer Science

QUESTION NO 01
Share
Thrashing in OS terms means?

Answer: Excessive paging with little useful work
Thrashing occurs when the system spends most time swapping pages, not executing.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 02
Share
Which attribute provides alternate text for images?

Answer: alt
alt describes the image for accessibility and when the image fails to load.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 03
Share
Dijkstra's algorithm finds?

Answer: Shortest paths from a source in a weighted graph
Dijkstra computes shortest paths from one source (non-negative weights).
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 04
Share
UDP is preferred when?

Answer: Low latency matters more than reliability
UDP is lightweight; apps handle reliability if needed (e.g., streaming, DNS).
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 05
Share
=== compares?

Answer: Value and type
Strict equality checks type and value without coercion.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 06
Share
Which traversal visits left subtree, root, then right subtree?

Answer: Inorder
Inorder is left → root → right.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 07
Share
Space complexity of an in-place algorithm is typically?

Answer: O(1) extra space
In-place algorithms use constant (or very small) extra memory beyond the input.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 08
Share
A semaphore is used for?

Answer: Process synchronization
Semaphores coordinate access to shared resources and signaling between processes.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 09
Share
Unit testing tests?

Answer: Individual components/functions
Unit tests verify the smallest testable pieces of code in isolation.
302 Quizzes
2930 Questions
00 Likes
QUESTION NO 10
Share
DNS translates?

Answer: Domain names to IP addresses
DNS resolves human-readable names to IP addresses.
302 Quizzes
2930 Questions
00 Likes