Skip to content

Category Archives: QA – Placement Quizzes

Given a N x N Chessboard. The task is to count distinct rectangles from the chessboard. For example, if the input is 8 then the… Read More
How does DHCP server dynamically assigns IP address to requesting host? (A) Dynamically, IP address is leased to requesting host for finite lease duration by… Read More
What will be the output of the below C++ program? #include<iostream> using namespace std;    int main() {     int a[] = {10,20,30,40,50};            cout<<(*(&a+1)-a);       … Read More
A C++ class can contain a member of SELF type if the member is. Static Pointer Non-static (A) Only 3 (B) Both 2 and 3… Read More
What is the probability of getting a Saturday in a Week? (A) 1 (B) 1/7 (C) 1/2 (D) 2/7 Answer: (B) Explanation: Total number of… Read More
Consider the following page reference string: 4, 3, 2, 1, 2, 1, 5, 6, 1, 2, 7, 6, 3, 1, 4, 2 Which of the… Read More
Select the statements that are true about default and copy constructors in C++: Compiler doesn’t create a default constructor if the user writes any constructor… Read More
Which of the following statement is used to copy data from one table and insert into another ? (A) SELECT AND INSERT INTO (B) INSERT… Read More
What will be the output of the below C program: int calc(int i) {            while(++i > 10); // statement 0            i++;            return… Read More
What will be the remainder when 7100 is divided by 5? (A) 0 (B) 1 (C) 2 (D) 3 Answer: (B) Explanation: This is a… Read More
In an experiment, one red dice and one black dice(both are fair) are rolled. What is the probability that, The number on black dice will… Read More
If the time is now 4 O’clock, what will be the time after 101 hours from now ? (A) 9 O’clock (B) 8 O’clock (C)… Read More
The value of the expression 100∑i=2 1/logi100! is: (A) 0.01 (B) 0.1 (C) 1 (D) 10 Answer: (C) Explanation: The expression 100∑i=2 1/logi100! can be… Read More
Given an expression 13∑n=11/n which can also be written as a/13!  What would be the remainder if a is divided by 11? (A) 3 (B)… Read More
Four consecutive terms of an increasing arithmetic sequence are : x, 17, 3x – y2 – 2 and 3x + y2 – 30.  The sum… Read More