Welcome To Www.ExamWeapon.Com


Click On Our Answer Page Below And Enter The Pin: "PIN 5555"



home
Home
home
JAMB
home
WAEC
home
NECO
home
NABTEB


SS2 second Term computer science past questions and answers

SS2 second Term computer science past questions and answers

Questions for SS2 Computer Science:

Question: What is the purpose of the "else" statement in programming?

A) Looping
B) Decision-making
C) File management
D) Error handling
Answer: B
Question: Which of the following is not a valid programming language?

A) Python
B) HTML
C) Klingon
D) JavaScript
Answer: C
Question: What does the acronym URL stand for?

A) Uniform Resource Locator
B) Universal Rendering Language
C) Unified Record Locator
D) User Requested Link
Answer: A
Question: In object-oriented programming, what is encapsulation?

A) Breaking down code into small modules
B) Binding data and methods into a single unit
C) Managing memory allocation
D) Creating conditional statements
Answer: B
Question: What is the purpose of the "while" loop in programming?

A) Executing code only once
B) Repeating code as long as a condition is true
C) Making decisions
D) Handling errors
Answer: B
Question: Which of the following is a non-volatile storage device?

A) RAM
B) Hard disk drive (HDD)
C) SSD
D) Cache memory
Answer: B
Question: What is the role of a compiler in programming?

A) Executing code
B) Writing code
C) Converting high-level code to machine code
D) Debugging code
Answer: C
Question: Which sorting algorithm has a worst-case time complexity of O(n log n)?

A) Bubble Sort
B) Insertion Sort
C) Quick Sort
D) Selection Sort
Answer: C
Question: What is the purpose of a subnet mask in networking?

A) Identifying network devices
B) Hiding IP addresses
C) Dividing an IP address into network and host portions
D) Encrypting data transmission
Answer: C
Question: Which of the following is an example of a third-generation programming language?

A) Assembly language
B) Fortran
C) Machine language
D) Binary code
Answer: B
Question: What is the significance of the HTTP status code 404?

A) Successful request
B) Unauthorized access
C) Page not found
D) Internal server error
Answer: C
Question: Which type of join in SQL returns all rows when there is a match in one of the tables?

A) INNER JOIN
B) LEFT JOIN
C) RIGHT JOIN
D) FULL OUTER JOIN
Answer: D
Question: What is the purpose of an index in a database?

A) Sorting data
B) Accelerating data retrieval
C) Creating tables
D) Encrypting data
Answer: B
Question: What is the primary purpose of a router in a network?

A) Connecting devices within the same network
B) Blocking unauthorized access
C) Forwarding data between different networks
D) Managing IP addresses
Answer: C
Question: Which programming language is often used for artificial intelligence and machine learning?

A) Java
B) Python
C) C#
D) Ruby
Answer: B
Question: What is the purpose of the "try...catch" block in programming?

A) Looping
B) Decision-making
C) Error handling
D) File management
Answer: C
Question: Which of the following is a disadvantage of cloud computing?

A) Increased security
B) Limited scalability
C) High upfront costs
D) Localized access
Answer: C
Question: What is the function of a DHCP server in a network?

A) Assigning IP addresses dynamically
B) Blocking malicious websites
C) Managing domain names
D) Filtering spam emails
Answer: A
Question: What is the purpose of the "break" statement in programming?

A) Loop termination
B) Decision-making
C) Error handling
D) File management
Answer: A
Question: Which type of software provides an interface for users to interact with the computer system?

A) Operating system
B) Compiler
C) Database management system
D) Device driver
Answer: A

0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post