SS1 First Term Computer Science Past Questions And Answers
Here are 20 SS1 first term Computer Science questions with options and answers:
Question: What is the primary function of the CPU in a computer system?
A) Storage
B) Processing
C) Input
D) Output
Answer: B) Processing
Question: Which programming language is widely used for web development?
A) Java
B) Python
C) HTML
D) C++
Answer: C) HTML
Question: What does RAM stand for in the context of computer memory?
A) Random Access Memory
B) Read-Only Memory
C) Rapid Access Memory
D) Remote Access Memory
Answer: A) Random Access Memory
Question: What is the purpose of an operating system?
A) Run applications
B) Manage hardware resources
C) Provide internet connectivity
D) Edit documents
Answer: B) Manage hardware resources
Question: Which of the following is 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 the ‘if’ statement in programming?
A) Looping
B) Decision-making
C) Variable declaration
D) Function definition
Answer: B) Decision-making
Question: Which storage device is non-volatile and retains data even when the power is off?
A) Hard disk drive
B) RAM
C) Flash drive
D) CD-ROM
Answer: A) Hard disk drive
Question: What is the purpose of a firewall in computer security?
A) Provide internet access
B) Block unauthorized access
C) Speed up the computer
D) Manage file storage
Answer: B) Block unauthorized access
Question: Which of the following is a network protocol used for transmitting web pages?
A) FTP
B) HTTP
C) SMTP
D) POP3
Answer: B) HTTP
Question: What does HTML stand for in web development?
A) HyperText Markup Language
B) High-Level Text Language
C) Hyperlink and Text Management Language
D) Hyper Transfer Markup Language
Answer: A) HyperText Markup Language
Question: In a database, what is the primary purpose of the SQL language?
A) Graphics rendering
B) Data manipulation
C) Network communication
D) File management
Answer: B) Data manipulation
Question: Which of the following is an example of a graphical user interface (GUI)?
A) Command Prompt
B) Terminal
C) Windows Explorer
D) Shell
Answer: C) Windows Explorer
Question: What is the binary equivalent of the decimal number 25?
A) 11001
B) 10100
C) 11111
D) 10001
Answer: A) 11001
Question: Which data type is used to store whole numbers in programming?
A) Float
B) Integer
C) Character
D) String
Answer: B) Integer
Question: What is the purpose of the ‘for’ loop in programming?
A) Input data
B) Output data
C) Repetitive execution
D) Decision-making
Answer: C) Repetitive execution
Question: What is the significance of the HTTP status code ‘404’?
A) Server error
B) Page not found
C) Access denied
D) Successful request
Answer: B) Page not found
Question: Which of the following is a commonly used method for securing passwords?
A) Storing in plaintext
B) Encryption
C) Broadcasting on the network
D) Using simple words
Answer: B) Encryption
Question: What is the purpose of a function in programming?
A) Store data
B) Execute a specific task
C) Provide internet connectivity
D) Manage hardware resources
Answer: B) Execute a specific task
Question: Which type of software is designed to harm or exploit computer systems?
A) Firewall
B) Antivirus
C) Malware
D) Encryption software
Answer: C) Malware
Question: What is the role of a compiler in programming?
A) Execute code line by line
B) Debug code
C) Translate high-level code to machine code
D) Manage database connections
Answer: C) Translate high-level code to machine code.