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

Which protocol automatically assigns an IP address to a computer on a network?

  • ACPU
  • BHard Disk
  • CDHCP
  • DNone of these
Show answerHide answer

Correct answer C

DHCP (Dynamic Host Configuration Protocol) automatically assigns an IP address to a computer on a network. It eliminates the need to manually configure IP addresses. DHCP is commonly provided by a router or DHCP server. It assigns IP addresses, subnet masks, default gateways, and DNS server addresses.

Which of the following files have an 'mpg' extension?

  • AAudio
  • BImage
  • CVideo
  • DNone of these
Show answerHide answer

Correct answer C

Mpg is a file extension for video files compressed using the MPEG (Moving Picture Experts Group) standard. It is commonly used for digital video distribution due to its efficient compression while maintaining good video quality. Variants of the format include MPEG-1 (used in CDs) and MPEG-2 (used in DVDs and broadcasting).

Which shortcut key is used to print a document?

  • ACtrl+M
  • BCtrl+N
  • CCtrl+L
  • DCtrl+P
Show answerHide answer

Correct answer D

The shortcut key to print a document is Ctrl + P. Key facts: Hyphen (-) is used to select a range for printing a document. By default, the documents are printed in portrait-oriented mode. Ctrl + A = select all Ctrl + B = Bold Ctrl + I = Italic Ctrl + P = Print Ctrl + Y = Redo Ctrl + S = Save.

Which command is used to close the window of Excel?

  • ACtrl + W
  • BAlt + F4
  • CCtrl + F5
  • DNone of these
Show answerHide answer

Correct answer B

Alt + F4 is used to close the Excel window/application. Key facts: Ctrl + W → Close the current workbook/window Ctrl + F5 → Restore workbook window size Ctrl + S → Save workbook Ctrl + N → New workbpook.

Which was the first programming language ever developed?

  • AFORTRAN
  • BCOBOL
  • CAssembly Language
  • DBASIC
Show answerHide answer

Correct answer A

FORTRAN (Formula Translation), developed in 1957 by John Backus and his team at IBM, It is considered the first high-level programming language. It was designed for scientific and engineering calculations.

Shortcut key to close an application or a window _____?

  • ACtrl+F1
  • BAltl+F4
  • CCtrl+F4
  • DCtrl+B
Show answerHide answer

Correct answer B

Alt + F4 keyboard shortcut to close an app or program on Windows Confused question Ctrl+F4 is the shortcut key to an application or a window Alt + F4: Close the current app or window. Alt + Tab: Switch between open apps or windows.

Which type of memory is built into the CPU?

  • ARAM
  • BROM
  • CRegister
  • DNone of these
Show answerHide answer

Correct answer C

Registers are very small, high - speed memory locations built directly into the CPU. They temporarily hold data, instructions, and addresses during processing. Registers are faster than cache memory and main memory (RAM).

Which is not a multitasking operating system?

  • ADOS
  • BWindows
  • CLinux
  • DNone of these
Show answerHide answer

Correct answer A

DOS (Disk Operating System) is a single-tasking operating system, meaning it can only run one program at a time. Windows and Linux are multitasking operating systems, capable of running multiple programs simultaneously.

The first row in an HTML table is called ______?

  • ATitle
  • BHeading
  • CFooter
  • DNone of these
Show answerHide answer

Correct answer B

The first row in an HTML table is called the Heading ( Header Row ). It usually contains table headings created with the <th> tag. The headings describe the content of each column. Data in the remaining rows is generally written using the <td> tag.

Have a useful question? Submit an MCQ