About Computer Science

Computer Science MCQs can cover hardware, operating systems, programming, databases, networks, and basic information security. Start with the concepts that recur across topics: how data is represented, what memory and storage do, how instructions run, and how computers communicate. Once the basics are clear, study how the pieces work together in a simple system.

Work through examples you can trace yourself. Follow the value of a variable through a loop, draw the shape of a database table, or describe what happens when a browser requests a page. Explain the difference between a primary key and a foreign key, or between an operating system and an application, before you try to memorise formal definitions. These comparisons help when several answer choices sound technically plausible.

For recruitment-test preparation, alternate short topic sets with mixed Computer Science MCQs. Read the explanation after each mistake and note whether the gap was vocabulary, reasoning, or a calculation such as converting between number bases. Use a timed set after you have practised reading code and interpreting tables carefully. Check the syllabus for your specific post to decide how much time to spend on specialist areas.

Browse sections
All MCQs All Computer Science questions

Computer Science Questions

Clear filters

4567 matching questions

The strictest transaction isolation level provided by SQL Server is?

  • AREPEATABLE READ
  • BSERIALIZABLE
  • CREAD COMMITTED
  • DREAD UNCOMMITTED
Show answerHide answer

Correct answer B

The SERIALIZABLE isolation level is the strictest transaction isolation level provided by SQL Server. It ensures that transactions are executed in a serialized manner, as if they were the only transaction operating on the database. This means that: No other transactions can modify data being read by a transaction. No other transactions can insert new data that would affect the results of a transaction. No other transactions can delete data that a transaction is using.

Which language does MS-Word use to create Macros?

  • AVisual C++
  • BVisual Java
  • CVisual Basic
  • DNone of the above
Show answerHide answer

Correct answer C

MS-Word uses Visual Basic for Applications (VBA) To create, edit, and run macros. It is an event-driven programming language integrated into Microsoft Office, Older Versions: Previously used a language called WordBasic.

Which statement best describes a transitive relation?

  • AIf A > B and B > C, then A > C
  • BIf A = B and B ≠ C, then A = C
  • CIf A is adjacent to B, then B is adjacent to A
  • DIf A is connected to B, then B is disconnected from A
Show answerHide answer

Correct answer A

A transitive relation means that if a relation holds between A and B, and Band C, it also holds between A and C. Example: “greater than” (>) is transitive: if 5 > 3 and 3 > 2, then 5 > 2. This property is important in mathematics and computer science. Relations like adjacency or inequality may or may not be transitive. Understanding transitivity helps in reasoning and designing algorithms.

The number of characters in fixed length field is?

  • AVariable
  • BConstant
  • CSpecified
  • DDynamic
Show answerHide answer

Correct answer B

In a fixed-length field, the number of characters remains constant for each data entry. For instance, if a field is defined as having a fixed length of 10 characters Then each entry in that field will have precisely 10 characters, regardless of whether all 10 characters are utilized.

A semaphore:?

  • AMerely is referred to a variable.
  • BMerely is referred to a consonant.
  • CBoth
  • DNone of these
Show answerHide answer

Correct answer A

In computer science, a semaphore is a variable or abstract data type used to control access to a common resource by multiple threads and avoid critical section problems in a concurrent system such as a multitasking operating system. Semaphores are a type of synchronization primitive.

Have a useful question? Submit an MCQ