









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Date: 16-07-
Duration: 3 Hours Total Marks: 100 Instructions:
Answer ALL questions. Each question carries 2 marks. Choose the ONE BEST answer (A–D). This examination follows the latest 2026 university Computer Science curriculum and emphasizes problem- solving, algorithms, programming, operating systems, databases, networking, software engineering, cybersecurity, and emerging computing technologies.
Question 1
Which data structure follows the Last-In, First-Out (LIFO) principle?
A. Queue
B. Stack
C. Linked List
D. Tree
Answer: B. Stack
Rationale: A stack removes the most recently inserted element first, making it LIFO.
Question 2
The worst-case time complexity of Binary Search is:
A. O(n²)
B. O(log n)
C. O(n)
D. O(1)
Answer: B. O(log n)
Rationale: Binary Search repeatedly divides the search interval into two halves.
Rationale: A primary key uniquely identifies every record and cannot contain NULL values.
Question 5
Which OS component manages memory allocation?
A. Compiler
B. Scheduler
C. Memory Manager
D. Loader
Answer: C. Memory Manager
Rationale: The memory manager allocates and deallocates RAM efficiently.
Question 6
Which protocol is primarily used to securely browse websites?
A. HTTP
B. FTP
C. HTTPS
D. SMTP
Answer: C. HTTPS
Rationale: HTTPS encrypts communication using SSL/TLS.
Question 7
Which traversal visits the root node first?
A. Inorder
B. Postorder
C. Preorder
D. Level-order
Answer: C. Preorder
Rationale: Preorder traversal follows Root → Left → Right.
Question 8
Normalization in databases primarily aims to:
A. Increase redundancy
B. Reduce redundancy
C. Increase storage
D. Reduce indexing
C. Network
D. Session
Answer: C. Network
Rationale: The Network layer determines the best route for packets.
Question 11
Which SQL statement retrieves data?
A. INSERT
B. UPDATE
C. DELETE
D. SELECT
Answer: D. SELECT
Rationale: SELECT is used to query and retrieve records.
Question 12
Which of the following is not an object-oriented programming principle?
A. Encapsulation
B. Inheritance
C. Polymorphism
D. Compilation
Answer: D. Compilation
Rationale: Compilation is a language translation process, not an OOP principle.
Question 13
Which memory is volatile?
A. ROM
B. SSD
C. RAM
D. Flash Drive
Answer: C. RAM
Rationale: RAM loses its contents when power is removed.
Question 14
Which algorithm is commonly used for shortest-path calculations?
A. Waterfall
B. Spiral
C. V-Model
D. Big Bang
Answer: B. Spiral
Rationale: The Spiral Model emphasizes iterative development and risk analysis.
Question 17
A deadlock occurs when:
A. CPU utilization reaches 100%
B. Processes wait indefinitely for each other's resources
C. RAM becomes full
D. Disk space is exhausted
Answer: B. Processes wait indefinitely for each other's resources
Rationale: Deadlock arises due to circular waiting for resources.
Question 18
Which data structure is most suitable for implementing recursion?
A. Queue
B. Heap
C. Stack
D. Graph
Answer: C. Stack
Rationale: Recursive function calls are managed using the call stack.
Question 19
Which SQL command permanently removes a table?
A. DELETE
B. REMOVE
C. DROP
D. CLEAR
Answer: C. DROP
Rationale: DROP deletes the table structure and all stored data.
Rationale: Merge Sort recursively divides the array before merging sorted subarrays.
Question 22
Which normal form removes transitive dependencies?
A. 1NF
B. 2NF
C. 3NF
D. BCNF
Answer: C. 3NF
Rationale: Third Normal Form eliminates transitive dependencies.
Question 23
Which network topology connects every device directly to every other device?
A. Star
B. Ring
C. Bus
D. Mesh
Answer: D. Mesh
Rationale: A mesh topology provides multiple redundant communication paths.
Question 24
In software testing, regression testing ensures:
A. New code has not broken existing functionality
B. Software meets user requirements
C. Hardware compatibility
D. Network connectivity
Answer: A. New code has not broken existing functionality
Rationale: Regression testing verifies that previously working features remain functional after modifications.
Question 25
Which AI technique enables computers to improve automatically through experience?
A. Compiler Design