Computer — All MCQs
4795 questions available
Q2161.Which of the following searching algorithms requires the data to be sorted?
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 = ?
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?
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?
Correct Answer: A
Compilation is a language processing phase, whereas polymorphism, encapsulation, and inheritance are OOP features.
Q2165.An array is a ______ structure.
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
Correct Answer: C
Object-Oriented Programming (OOP) is based on objects and classes. Blueprints for creating objects.
Q2178.Ctrl + Z used for _____?
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 _____?
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?
Correct Answer: B
Creeper virus was created in 1971 by Bob Thomas. It was the first computer worm/virus.