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 _____ is also known as selection statement.

  • ASwitch
  • BGoto
  • CLoop
  • DNone of these
Show answerHide answer

Correct answer A

The switch statement is known as a selection statement because it selects one option from multiple possible paths based on the value of a variable. It's commonly used for decision-making in programming.

There can be ______ in ______?

  • AOne work sheets, multiple workbook
  • BMultiple work sheets, one workbook
  • COnly one work sheets, one workbook
  • DNone of these
Show answerHide answer

Correct answer B

In Excel, a workbook is a file that contains multiple worksheets. A single workbook can hold many sheets (like Sheet1, Sheet2, etc.). Each worksheet works like an individual page for data. This structure helps organize large amounts of data easily.

What is the function of a constructor in Java?

  • AIt is used to call other methods.
  • BIt initializes an object when it is created.
  • CIt is used to delete objects.
  • DNone of these.
Show answerHide answer

Correct answer B

A constructor is automatically called when an object is instantiated, setting initial values. Unlike regular methods, it has the same name as the class and does not have a return type.

Which view shows margins and the rulers?

  • APage setup
  • BNormal
  • CPage layout
  • DNone of these
Show answerHide answer

Correct answer C

The Page layout view shows margins and rulers. It allowing users to adjust the layout of the document by visually displaying the page's structure. It including headers, footers, and other formatting elements.

The Unix shell is both______and______ language.

  • AScripting, interpreter
  • BHigh level, low level
  • CInteractive, responsive
  • DInterpreter, executing
Show answerHide answer

Correct answer A

The Unix shell is a: Scripting language: It can execute scripts containing multiple commands. Interpreter language: It interprets commands one at a time, without the need for compilation.

What is UTP known for?

  • AUnshielded twisted pair
  • BUnsold twisted pair
  • CUnshielded twisted part
  • DNone of these
Show answerHide answer

Correct answer A

UTP = Unshielded Twisted Pair Used for networking and data transmission. Common in Ethernet cables. Contains twisted pairs of copper wires.

Have a useful question? Submit an MCQ