iGET

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

Q.1Medium

What is the output of the following C code snippet?

```c
int x = 5;
printf("%d %d %d", x++, x++, x++);
```

Q.2Medium

In Microsoft's Azure, what is the primary purpose of an Azure Virtual Network (VNet)?

Q.3Medium

A linked list has nodes. What is the time complexity of reversing it iteratively?

Q.4Medium

Which of the following best describes the concept of "garbage collection" in programming languages like C# and Java?

Q.5Medium

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))
```

Q.6Medium

In a binary tree, the in-order traversal visits nodes in which order?

Q.7Medium

What is the worst-case time complexity of searching for a key in a balanced Binary Search Tree (BST) with nodes?

Q.8Medium

In object-oriented programming, which principle states that a subclass should be substitutable for its superclass without altering the correctness of the program?

Q.9Medium

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 )

Q.10Medium

Which data structure is most appropriate for implementing an LRU (Least Recently Used) cache with time complexity for both get and put operations?