SS1 first term computer science past questions and answers
Here are 20 multiple-choice questions for SS1 computer science:
Question: What is the primary function of the CPU in a computer system?
A. Input
B. Processing
C. Output
D. Storage
Answer: B. Processing
Question: Which programming language is known for its portability and being widely used in system programming?
A. Java
B. Python
C. C
D. JavaScript
Answer: C. C
Question: What is the purpose of an operating system?
A. Manage hardware resources
B. Create documents
C. Play games
D. Browse the internet
Answer: A. Manage hardware resources
Question: Which of the following is a volatile memory type?
A. Hard disk
B. RAM
C. ROM
D. Flash drive
Answer: B. RAM
Question: What does HTML stand for in the context of web development?
A. HyperText Markup Language
B. High-level Text Manipulation Language
C. Hyperlink and Text Markup Language
D. Home Tool Markup Language
Answer: A. HyperText Markup Language
Question: In binary code, what does each digit represent?
A. Octal
B. Byte
C. Bit
D. Hexadecimal
Answer: C. Bit
Question: Which of the following is an example of a high-level programming language?
A. Assembly language
B. Machine language
C. Python
D. Binary code
Answer: C. Python
Question: What is the function of a compiler in programming?
A. Execute code
B. Translate source code to machine code
C. Debug code
D. Write code
Answer: B. Translate source code to machine code
Question: Which data structure follows the Last In, First Out (LIFO) principle?
A. Queue
B. Stack
C. Linked list
D. Tree
Answer: B. Stack
Question: What is the purpose of an IF statement in programming?
A. Looping
B. Decision-making
C. Variable declaration
D. Input/output operations
Answer: B. Decision-making
Question: Which of the following is a network protocol used for transferring files?
A. HTTP
B. FTP
C. SMTP
D. TCP
Answer: B. FTP
Question: What is the role of a modem in networking?
A. Modulate and demodulate signals
B. Encrypt data
C. Manage network traffic
D. Connect to the internet
Answer: A. Modulate and demodulate signals
Question: Which programming construct is used for repetitive execution of a set of statements?
A. If-else statement
B. Loop
C. Switch statement
D. Function
Answer: B. Loop
Question: What does SQL stand for in the context of databases?
A. Structured Query Language
B. Simple Query Language
C. Sequential Query Language
D. Scripted Query Language
Answer: A. Structured Query Language
Question: What is the purpose of a firewall in network security?
A. Block unauthorized access
B. Speed up internet connection
C. Encrypt data
D. Manage emails
Answer: A. Block unauthorized access
Question: Which of the following is a characteristic of object-oriented programming (OOP)?
A. Procedural programming
B. Encapsulation
C. Assembly language
D. Binary code
Answer: B. Encapsulation
Question: What is the primary function of a router in a network?
A. Connect devices within a local network
B. Filter and forward data packets between networks
C. Convert digital signals to analog signals
D. Provide electrical power to devices
Answer: B. Filter and forward data packets between networks
Question: Which of the following is an example of a secondary storage device?
A. RAM
B. Hard disk drive
C. Cache memory
D. CPU
Answer: B. Hard disk drive
Question: What is the purpose of an index in a database?
A. Sort data alphabetically
B. Speed up data retrieval
C. Encrypt data
D. Create backups
Answer: B. Speed up data retrieval
Question: Which of the following is a basic component of a computer network?
A. Monitor
B. Keyboard
C. Router
D. Printer
Answer: C. Router
Post a Comment