Skip to main content
Sign in Register
Subject Overview

Computer Science MCQs

Computer Science holds 3,334 questions with answers, free to read and with no account needed. They are grouped into 2 categories: Computer Science, Software Engineering.

Questions from this area appear in PPSC, FPSC, NTS, KPPSC and SPSC papers. Each guide explains how that paper is built and which subjects carry it.

Attempt each question before revealing the answer, and keep a note of the ones you get wrong — those are the topics worth reading about properly. If an answer looks wrong, there is a link to report it on every question.

How are pre-released software versions designated ?

Select your answer for: How are pre-released software versions designated ?
Show answer

Answer: A. Beta

Pre released software versions made available for public testing are officially designated as Beta. Beta releases allow developers to gather real world bug reports from external users. The correct term identifies the sta...

What category of software manages applications and coordinates hardware devices?

Select your answer for: What category of software manages applications and coordinates hardware devices?
Show answer

Answer: B. Operating System

An operating system is the core system software that manages hardware and coordinates apps. The correct answer is correct because OS software bridges the gap between hardware and applications. Running programs rely entir...

Which communication mechanism corresponds to the description: ”When one object invokes another independent object, a message is passed between the two objects.” ?

Select your answer for: Which communication mechanism corresponds to the description: ”When one object invokes another independent object, a message is passed between the two objects.” ?
Show answer

Answer: C. Data couple

A data couple occurs when one object invokes another independent object and passes basic data values. Passing simple parameters represents the most basic form of coupling between separate software objects. The correct op...

A web cookie constitutes a compact data fragment__________________?

Select your answer for: A web cookie constitutes a compact data fragment__________________?
Show answer

Answer: B. sent from a website and stored in user’s web browser while a user is browsing a website

A web cookie is sent from a website and stored locally in the browser. It preserves session information and user preferences across different page requests. Web servers read these stored text fragments upon subsequent us...

Which of the following does not form part of the four primary computer data operations?

Select your answer for: Which of the following does not form part of the four primary computer data operations?
Show answer

Answer: B. analysing the data or information

Analysing data is a complex cognitive function rather than a basic computer operation. Basic computer data operations are restricted to input, processing, output, and storage. Data analysis requires sophisticated applica...

Which command allows you to navigate to your home directory?

Select your answer for: Which command allows you to navigate to your home directory?
Show answer

Answer: C. cd

The cd command executed without any additional arguments automatically changes the directory to the user home. This shortcut saves time by eliminating the need to type out the full absolute home path manually. Shell envi...

What is the output of: public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?

Select your answer for: What is the output of: public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?
Show answer

Answer: A. 0

Integer division of one by four evaluates to zero in Java syntax. Multiplying zero by ten yields zero point zero for the float variable. Rounding zero point zero with Math.round returns an integer output of zero. Integer...

What implementation schedules are typically incorporated in an MIS ?

Select your answer for: What implementation schedules are typically incorporated in an MIS ?
Show answer

Answer: D. All of the above

MIS implementation schedules involve preparing detailed organizational plans. They also plan internal workflows to align with the new system capabilities. Personnel training is scheduled to ensure staff can operate the s...

What methodology is deployed to guarantee the ongoing evolution of legacy systems ?

Select your answer for: What methodology is deployed to guarantee the ongoing evolution of legacy systems ?
Show answer

Answer: D. Reverse Engineering and Reengineering

Legacy system evolution requires both reverse engineering and re-engineering methods. Reverse engineering analyzes old code, while re-engineering modernizes the architecture. Both processes work together to keep aging so...

Per Pareto’s principle, x% of issues stem from y% of causes. What are the values for x and y?

Select your answer for: Per Pareto’s principle, x% of issues stem from y% of causes. What are the values for x and y?
Show answer

Answer: C. 80, 20

Pareto's principle states that roughly 80 percent of problems stem from 20 percent of causes. This 80/20 rule appears frequently in quality management and defect analysis. Variables x and y correspond directly to 80 and...

1 Byte is equivalent to___________?

Select your answer for: 1 Byte is equivalent to___________?
Show answer

Answer: A. 8 bits

A standard byte consists of exactly eight individual bits of digital information grouped together for processing. Computer architecture relies on the byte as the fundamental addressable unit of memory storage. Because di...

What layout feature is adjusted using Ctrl + T in an editing application_____________?

Select your answer for: What layout feature is adjusted using Ctrl + T in an editing application_____________?
Show answer

Answer: A. Hanging Indent

Ctrl + T applies a hanging indent to paragraphs in word processing software. The first line remains flush while subsequent lines are indented inward. This layout style is essential for properly formatting reference bibli...

In what ways do humans have an advantage over computers?

Select your answer for: In what ways do humans have an advantage over computers?
Show answer

Answer: B. Intelligence

Humans possess advanced cognitive reasoning capabilities that allow them to adapt to completely unforeseen situations. Intelligence involves understanding abstract concepts, learning from past mistakes, and applying crea...

What is the procedure of detecting and resolving errors in software code called___________?

Select your answer for: What is the procedure of detecting and resolving errors in software code called___________?
Show answer

Answer: A. Debugging

Debugging is the systematic process of identifying, analyzing, and removing errors from software code. Programmers execute this procedure whenever application code produces unexpected results or crashes. The term debuggi...