Computer - MCQs
Dive into our comprehensive collection of Computer MCQs. These Computer questions are essential for students and professionals preparing for competitive exams like FPSC, NTS, KPPSC, PPSC, SPSC, BPSC, OTS, UTS, PTS, CTS, ATS, ETEA, and various other testing agencies in Pakistan. Strengthen your grasp of computer science concepts and enhance your exam performance with our meticulously designed MCQs, tailored to help you succeed in your assessments.
What is the function of a router?
A. Store data
B. Forward data packets between networks
C. Display web pages
D. Provide security
Answer: Forward data packets between networks
What is the primary purpose of encryption?
A. To speed up data transmission
B. To protect data confidentiality
C. To improve data integrity
D. To store data securely
Answer: To protect data confidentiality
What is the main function of a compiler?
A. Execute code
B. Convert high-level code to machine code
C. Debug code
D. Store code
Answer: Convert high-level code to machine code
What is the purpose of the OSI model in networking?
A. Define network protocols
B. Standardize network communication
C. Increase data transfer speed
D. Improve network security
Answer: Standardize network communication
Which algorithm is used for searching an element in a sorted array?
A. Linear Search
B. Binary Search
C. Bubble Sort
D. Insertion Sort
Answer: Binary Search
What does the term ‘Big O notation’ describe?
A. The efficiency of an algorithm
B. The complexity of programming languages
C. The size of data
D. The speed of a processor
Answer: The efficiency of an algorithm
Which of the following is an example of a high-level programming language?
A. Assembly
B. C
C. Python
D. Machine code
Answer: Python
What is an IP address?
A. A unique identifier for a device on a network
B. A type of malware
C. A programming language
D. A hardware component
Answer: A unique identifier for a device on a network
Which of the following is not a programming paradigm?
A. Procedural
B. Object-oriented
C. Functional
D. Relational
Answer: Relational
Which programming language is primarily used for web development?
A. Python
B. Java
C. JavaScript
D. C++
Answer: JavaScript