Placement Papers - MCQ Practice Questions
Campus recruitment tests follow their own rhythm: a fixed time limit, a mix of sections, and negative marking that punishes guessing. This collection mirrors that format with quantitative aptitude, logical reasoning, verbal ability, and technical questions of the kind IT and core companies actually ask. Use it to build exam stamina, not just to check whether you know a topic.
658 questions | 100% Free
A linked list has nodes. What is the time complexity of reversing it iteratively?
Which of the following best describes the concept of "garbage collection" in programming languages like C# and Java?
What is the output of the following Python code?
```python
def foo(x, lst=[]):
lst.append(x)
return lst
print(foo(1))
print(foo(2))
print(foo(3))
```
In a binary tree, the in-order traversal visits nodes in which order?
What is the worst-case time complexity of searching for a key in a balanced Binary Search Tree (BST) with nodes?
In object-oriented programming, which principle states that a subclass should be substitutable for its superclass without altering the correctness of the program?
A file of size bytes (1 GiB) is to be transferred over a network link with a bandwidth of bits per second (100 Mbps). Approximately how many seconds will the transfer take? (Assume )
Which data structure is most appropriate for implementing an LRU (Least Recently Used) cache with time complexity for both get and put operations?