SS3 First Term Computer Science Past Questions And Answers
20 SS3 first term Computer Science questions with options and answers:
Question: What does HTML stand for?
A) Hyperlink Text Markup Language
B) HyperText Markup Language
C) High-Level Text Markup Language
D) HyperTransfer Markup Language
Answer: B) HyperText Markup Language
Question: Which programming language is known for its versatility in web development?
A) Python
B) Java
C) JavaScript
D) C++
Answer: C) JavaScript
Question: What is the purpose of CSS in web development?
A) Client-Side Scripting
B) Cascading Style Sheets
C) Computer Style Sheets
D) Creative Style Sheets
Answer: B) Cascading Style Sheets
Question: In binary, what does “1010” represent?
A) 5
B) 10
C) 15
D) 20
Answer: B) 10
Question: Which data type is used to store whole numbers in Python?
A) float
B) int
C) str
D) bool
Answer: B) int
Question: What does SQL stand for in the context of databases?
A) Structured Query Language
B) System Quality Language
C) Sequential Query Language
D) Simplified Query Language
Answer: A) Structured Query Language
Question: What is the purpose of the “elif” keyword in Python?
A) Indicates a loop
B) Represents a comment
C) Stands for “else if” for conditional statements
D) Defines a function
Answer: C) Stands for “else if” for conditional statements
Question: Which of the following is not a valid variable name in most programming languages?
A) my_variable
B) 123variable
C) _variable
D) variable123
Answer: B) 123variable
Question: What is the purpose of a firewall in network security?
A) Detect and remove viruses
B) Monitor network traffic
C) Block unauthorized access
D) Optimize network speed
Answer: C) Block unauthorized access
Question: Which protocol is commonly used for sending emails?
A) FTP
B) SMTP
C) HTTP
D) TCP
Answer: B) SMTP
Question: What is the role of RAM in a computer system?
A) Long-term storage
B) Temporary storage for data in use
C) Processing data
D) Internet connectivity
Answer: B) Temporary storage for data in use
Question: What does the acronym URL stand for?
A) Uniform Resource Locator
B) Universal Resource Locator
C) Unified Resource Locator
D) Unique Resource Locator
Answer: A) Uniform Resource Locator
Question: Which programming language is often used for data analysis and machine learning?
A) Java
B) Python
C) C#
D) Ruby
Answer: B) Python
Question: In binary, what does “1101” represent?
A) 13
B) 14
C) 15
D) 16
Answer: A) 13
Question: What is the primary purpose of an operating system?
A) Manage hardware resources
B) Create documents
C) Run web servers
D) Design software applications
Answer: A) Manage hardware resources
Question: What does the acronym CPU stand for?
A) Central Processing Unit
B) Computer Processing Unit
C) Central Program Unit
D) Computer Program Unit
Answer: A) Central Processing Unit
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 purpose of the “break” statement in programming?
A) End the program
B) Skip the next iteration of a loop
C) Exit a loop or switch statement
D) Print a line break
Answer: C) Exit a loop or switch statement
Question: Which of the following is a type of computer network that covers a small physical area?
A) PAN (Personal Area Network)
B) LAN (Local Area Network)
C) WAN (Wide Area Network)
D) MAN (Metropolitan Area Network)
Answer: B) LAN
Question: What is the purpose of a database index?
A) Store large amounts of data
B) Speed up data retrieval operations
C) Create data relationships
D) Encrypt sensitive information
Answer: B) Speed up data retrieval operations.