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

In MS PowerPoint F5 is used for _____?

  • AFor Slide Show
  • BTo save a file
  • CTo import the file
  • DFor Print Preview
Show answerHide answer

Correct answer A

F5: Starts the slideshow from the beginning. Shift+F5: Starts the slideshow from the current slide. Alt+F5: Starts the presentation in Presenter View.

What is the shortcut key used for Ctrl + Shift + M?

  • AToggles fullscreen mode
  • BRemoves a paragraph indent
  • COpens file explorer
  • DDeletes selected text
Show answerHide answer

Correct answer B

The keyboard shortcut Ctrl + Shift + M removes a paragraph indent in Microsoft Word. Here are some other keyboard shortcuts for formatting paragraphs in Microsoft Word: Ctrl + M: Indents a paragraph Ctrl + R: Aligns a paragraph to the right Ctrl + T: Creates a hanging indent.

How can you remove boarded applied on cells?

  • AChoose None on Border tab of Format cells
  • BOpen the list on Border tool in Format Cell toolbar then choose first tool
  • CBoth
  • DNone of these
Show answerHide answer

Correct answer C

On the Home tab, in the Font group, click the arrow next to Borders Button, and then click No Border Button. --OR-- Click Home > the Borders arrow > Erase Border, and then select the cells with the border you want to erase.

What is a mutex lock primarily used for in programming?

  • ATo encrypt data
  • BTo prevent multiple threads from accessing shared resources simultaneously
  • CTo speed up execution
  • DTo handle recursion
Show answerHide answer

Correct answer B

A mutex (mutual exclusion) lock ensures that only one thread can access a shared resource at a time. It prevents race conditions, where multiple threads modify data simultaneously. Threads must acquire the mutex before using the resource and release it afterward. Mutexes are commonly used in multithreading and concurrent programming. Proper use of mutexes ensure s data consistency and program stability.

What is a deadlock in multithreading?

  • AWhen threads finish too quickly
  • BWhen threads block each other permanently while waiting for resources
  • CWhen threads execute sequentially
  • DWhen threads share data safely
Show answerHide answer

Correct answer B

A deadlock occurs when two or more threads wait indefinitely for resources held by each other. None of the threads can procee d, causing the program to freeze. Deadlocks often happen when threads acquire multiple locks in different orders. Proper resource management and lock ordering help prevent deadlocks. Deadlocks are a key concern in multithreading and concurrent programming.

1 bit is equal to?

  • A0.12
  • B0.150
  • C0.125
  • DNone of these
Show answerHide answer

Correct answer C

A 1-bit system uses combinations of numbers up to one place value (1). There are just two options: 0 or 1. A 2-bit system uses combinations of numbers up to two place values (11). VU CBT FIA SI ASI PAPER 13-12-2021.

Have a useful question? Submit an MCQ