Showing 2161–2180 of 4795

Q2161.Which of the following searching algorithms requires the data to be sorted?

Easy
A Depth First Search
B Linear Search
C Binary Search
D None of these
Computer Terminology PPSC

Correct Answer: C

Binary Search operates on sorted datasets using divide-and-conquer logic.

Q2162.What is the result of the binary addition: 1011 + 1101 = ?

Easy
A 11000
B 10000
C 11100
D None of these
General MCQs PPSC

Correct Answer: A

1011 (11) + 1101 (13) = 11000 in binary, which equals 24 in decimal.

Q2163.Which logic gate outputs true only when inputs are different?

Easy
A NOT
B XOR
C OR
D AND
Computer Basics PPSC

Correct Answer: B

The XOR (Exclusive OR) gate outputs high (true) only when its inputs differ.

Q2164.Which of the following is not a characteristic of Object-Oriented Programming?

Easy
A Compilation
B Polymorphism
C Encapsulation
D Inheritance
Computer Basics PPSC

Correct Answer: A

Compilation is a language processing phase, whereas polymorphism, encapsulation, and inheritance are OOP features.

Q2165.An array is a ______ structure.

Easy
A Data
B Loop
C Control
D None of these
Computer Terminology PPSC

Correct Answer: A

An array is a linear data structure used to store elements of the same data type sequentially.

Q2166.How many slides can you add in a PowerPoint (PPT) presentation?

Easy
A Unlimited
B 100
C 500
D 50
MS PowerPoint PPSC

Correct Answer: A

PowerPoint allows an unlimited number of slides, constrained only by system memory (RAM).

Q2167.Bit is the most famous basic unit in computing which stands for?

Easy
A Binary digit
B Base digit
C Basic digit
D Byte digit
General MCQs PPSC

Correct Answer: A

Bit stands for Binary Digit, representing the most basic unit of information (0 or 1).

Q2168.Which is not a hardware of computer?

Easy
A Monitor
B Keyboard
C Windows
D Printer
Computer Basics PPSC

Correct Answer: C

Windows is an operating system (software), while Monitor, Keyboard, and Printer are physical hardware.

Q2169.What is the primary function of the Arithmetic Logic Unit (ALU) in a CPU?

Easy
A To fetch instructions from memory
B To manage memory operations
C To perform arithmetic and logical operations
D None of these
Computer Basics PPSC

Correct Answer: C

The primary function of the Arithmetic Logic Unit (ALU) is to perform arithmetic and logical operations. ALU is a core part of the CPU. It handles calculations like addition, subtraction, multiplication, and division. It also performs logical operations like AND, OR, NOT, comparisons.

Q2170.What does HTTP stands for in the context of WWW?

Easy
A Hypertext Transfer Protocol
B Hypertext Transfer Protection
C Hyper Transfer Protocol
D None of these
Internet & Web PPSC

Correct Answer: A

HTTP stands for Hypertext Transfer Protocol. It is a protocol for fetching resources such as HTML documents. It provides secure communication over a computer network.

Q2171.What is the purpose of an operating system in a computer?

Easy
A To make the most efficient use of the computer hardware
B Manage computer hardware and software resources
C To run application software
D All of these
Computer Terminology PPSC

Correct Answer: D

An operating system manages computer hardware and software resources. It uses hardware efficiently and provides services to applications, running software and coordinating all operations.

Q2172.Which protocol is used in LAN?

Easy
A TCP/IP
B HTTP
C FTP
D None of these
Internet & Web PPSC

Correct Answer: A

TCP/IP is used in LAN (Local Area Network) for communication between devices. It is a set of networking protocols.

Q2173.Which function returns the position of a value in a range?

Easy
A LOOKUP
B FIND
C MATCH
D None of these
Computer Terminology PPSC

Correct Answer: C

MATCH function returns the position of a value in a given range. It searches for a value in a list or range.

Q2174.In the OSI model, which layer is responsible for encryption and decryption?

Easy
A Application layer
B Presentation layer
C Session layer
D None of these
MS PowerPoint PPSC

Correct Answer: B

Presentation layer is responsible for encryption and decryption in the OSI model. It ensures data is converted into a secure and usable format.

Q2175.Which data structure is used for recursion?

Easy
A Graph
B Queue
C Stack
D None of these
Computer Terminology PPSC

Correct Answer: C

Stack is used for recursion because it stores function calls in LIFO order during execution.

Q2176.What is the time complexity of Linear Search?

Easy
A O(n²)
B O(log n)
C O(n)
D None of these
General MCQs PPSC

Correct Answer: C

Linear Search works in a sequential manner. Average case: O(N/2) -> O(N), Best case: O(1), Worst case: O(N).

Q2177.Which paradigm focuses on objects and classes?

Easy
A Logical
B Procedural
C Object-Oriented
D None of these
General MCQs PPSC

Correct Answer: C

Object-Oriented Programming (OOP) is based on objects and classes. Blueprints for creating objects.

Q2178.Ctrl + Z used for _____?

Easy
A Redo
B Undo
C Cut
D Copy
MS Word Shortcut Keys PPSC

Correct Answer: B

Ctrl + Z used for = Undo. Additional information: Ctrl + X used for = Cut, Ctrl + Y used for = Redo.

Q2179.A data structure known as FILO (First In Last Out) would be considered as _____?

Easy
A Queue
B Stack
C Priority queue
D None of these
Computer Terminology PPSC

Correct Answer: B

FILO (First In Last Out) means the first inserted item is removed last. This behavior matches a Stack data structure.

Q2180.Which is the first computer virus in World?

Easy
A Blaster
B Creeper
C Sasser
D I Love You
Computer Security PPSC

Correct Answer: B

Creeper virus was created in 1971 by Bob Thomas. It was the first computer worm/virus.