SS2 First Term Computer Science Past Questions And Answers
Here are 20 SS2 first term Computer Science questions with options and answers:
Question: What is the primary function of an operating system?
a) Word processing
b) File management
c) Graphics design
d) Web development
Answer: b) File management
Question: Which programming language is often used for web development?
a) Java
b) Python
c) HTML
d) C++
Answer: c) HTML
Question: What does CPU stand for?
a) Central Processing Unit
b) Central Program Unit
c) Computer Processing Unit
d) Central Peripheral Unit
Answer: a) Central Processing Unit
Question: What is the purpose of a loop in programming?
a) Store data
b) Repeat a set of instructions
c) Connect to the internet
d) Display graphics
Answer: b) Repeat a set of instructions
Question: In binary code, what does “1010” represent?
a) 5
b) 8
c) 10
d) 15
Answer: c) 10
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 role of a compiler in programming?
a) Execute code
b) Debug code
c) Translate code to machine language
d) Design user interfaces
Answer: c) Translate code to machine language
Question: Which protocol is used for secure communication over the internet?
a) HTTP
b) FTP
c) TCP
d) HTTPS
Answer: d) HTTPS
Question: What does SQL stand for?
a) Structured Query Language
b) Simple Query Language
c) System Query Language
d) Sequential Query Language
Answer: a) Structured Query Language
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 an IP address?
a) Identify a computer on a network
b) Manage files
c) Run programs
d) Store data
Answer: a) Identify a computer on a network
Question: Which of the following is a non-volatile memory type?
a) RAM
b) ROM
c) Cache memory
d) Virtual memory
Answer: b) ROM
Question: What does GUI stand for?
a) Graphical User Interface
b) General User Instruction
c) Grouped User Input
d) Generalized User Interface
Answer: a) Graphical User Interface
Question: Which programming paradigm emphasizes data immutability?
a) Procedural programming
b) Object-oriented programming
c) Functional programming
d) Logical programming
Answer: c) Functional programming
Question: What is the function of a router in a computer network?
a) Connect devices within a local network
b) Translate IP addresses
c) Provide power to devices
d) Display web pages
Answer: b) Translate IP addresses
Question: Which of the following is an example of a Boolean operator?
a) +
b) &&
c) *
d) /
Answer: b) &&
Question: What is the purpose of the “if” statement in programming?
a) Loop execution
b) File management
c) Conditional branching
d) Data storage
Answer: c) Conditional branching
Question: Which type of network topology has a central hub or switch?
a) Bus
b) Ring
c) Star
d) Mesh
Answer: c) Star
Question: What is the function of the BIOS in a computer?
a) Manage files
b) Control peripheral devices
c) Boot the operating system
d) Run applications
Answer: c) Boot the operating system
Question: Which of the following is a programming language used for statistical analysis and data visualization?
a) Java
b) Python
c) R
d) C++
Answer: c) R.