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
In TCP/IP model, which layer handles IP addresses?
A train travels from City A to City B at 60 km/h and returns at 40 km/h. The total distance between the two cities is 240 km. What is the average speed of the train for the entire journey?
In a sequence, each number is the sum of the previous two numbers. If the 5th number is 20 and the 6th number is 32, what is the 4th number?
What is the output of the following C code snippet?
```c
int x = 5;
printf("%d %d %d", x++, x++, x++);
```
In Microsoft's Azure, what is the primary purpose of an Azure Virtual Network (VNet)?
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?