BhenChod Test -1

18 Questions - Developed by: Akash Chitlangia - Developed on: - 1.240 taken

Placement top priority

• 1
#include <stdio.h>
int main()
{
int c = 2 ^ 3;
printf("%dn", c);
}
• 2
#include <stdio.h>
int main()
{
int i, n, a = 4;
scanf("%d", &n);
for (i = 0; I < n; i++)
a = a * 2;
}
• 3
#include <stdio.h>
void main()
{
int x = 4, y, z;
y = --x;
z = x--;
printf("%d%d%d", x, y, z);
}
• 4
#include <stdio.h>
void main()
{
int x = 4;
int *p = &x;
int *k = p++;
int r = p - k;
printf("%d", r);
}
• 5
#include <stdio.h>
int main()
{
float f1 = 0.1;
if (f1 == 0.1f)
printf("equaln");
else
printf("not equaln");
}
• 6
The #include directive
• 7
The preprocessor provides the ability for _______________.
• 8
#include <stdio.h>
void main()
{
m();
m();
}
void m()
{
static int x = 5;
x++;
printf("%d", x);
}
• 9
#include <stdio.h>
static int x;
void main()
{
int x;
printf("x is %d", x);
}
• 10
#include <stdio.h>
int main()
{
int x = 2, y = 0;
int z = (y++)? 2: y == 1 && x;
printf("%dn", z);
return 0;
}
• 11
If the letters of the word CHASM are rearranged to form 5 letter words such that none of the word repeat and the results arranged in ascending order as in a dictionary what is the rank of the word CHASM?
• 12

There are 6 positive and 8 negative numbers. Four numbers are chosen at random and multiplied. The probability that the product is a positive number is:
• 13
.

Starting from my office, I reach the house 20 min late if I walk at 3kmph. Instead, if I walk at 4kmph, I reach the house 15 min early. How far is my house from my office?
• 14
There are 12 pipes that are connected to a tank. Some of them are fill pipes and the others are drain pipes. Each of the fill pipes can fill the tank in 8 hours and each of the drain pipes can drain the tank completely in 6 hours. If all the fill pipes and drain pipes are kept open, an empty tank gets filled in 24 hours. How many of the 12 pipes are fill pipes?
• 15

What is the minimum number of square marbles required to tile a floor of length 5 metres 78 cm and width 3 metres 74 cm?
• 16
One quantity of wheat at Rs 9.30 per Kg is mixed with another quality at a certain rate in the ratio 8:7. If the mixture so formed be worth Rs 10 per Kg, what is the rate per Kg of the second quality of wheat?
• 17
On August 22, 1939, Adolf Hitler summoned his top military generals to Obersalzberg, where he delivered a speech explaining his plans for war, first with Poland, then with the rest of Europe. Despite resistance from those both inside and outside Germany, Hitler felt exceedingly confident that he could defy the will of the international community and conquer vast amounts of land. In his speech at Obersalzberg, he laid out numerous factors he believed would contribute to the success of his war plans.

Chief among Hitler's sources of confidence in Germany's brazen war plans was German military quickness. Hitler said, "Our strength lies in our quickness." On the advice of Colonel-General von Brauchitsch, Hitler believed Poland could be captured in a few weeks, an astonishingly short amount of time given the recent history of trench warfare and the long history of protracted European military engagements that resulted in minimal land gains and high casualty counts.

Hitler's confidence in the ability of the German military to inflict considerable brutality further strengthened his determination to pursue an exceedingly ambitious plan of territorial aggrandizement. He said, "I shall shoot everyone who utters one word of criticism" and noted that "the goal to be obtained in the war is not that of reaching certain lines but of physically demolishing the opponent." In this vein, Hitler ordered his military to "be hard, be without mercy, [and] act more quickly and brutally than othersfor it scares the others off." Hitler believed that enemies, not used to this type of brutality, would surrender quickly.

In addition to speed and brutality, Hitler believed that, in the end, history would overlook his inhumane conduct. To support this view, which turned out to be anything but prescient, Hitler invoked a Pollyannaish view of Asian leader Genghis Kahn. In Hitler's eyes, Kahn "sent millions of women and children into death knowingly and with a light heart," yet "history sees in him only the great founder of States."

Although Hitler brimmed with confidence and experienced initial yet widely-expected success in Poland and then in Denmark, he overlooked important considerations. In many ways, Hitler made the same mistake Napoleon Bonaparte made years earlier. Hitler believed he could advance further and conquer Britain, yet, like Napoleon, Hitler did not adequately foresee the insurmountable barrier posed by Britain's island status. Despite the damage inflicted at the hands of the German Luftwaffe during the Battle of Britain (1940), British forces eventually won this important battle. Nevertheless, Hitler pressed on and, in an even more fateful decision that carried echoes of a Napoleonic tactical misstep, invaded the USSR where his forces suffered the decisive defeat of World War II at Stalingrad in 1943. In the end, Hitler's reputation in history proved to be as brutal and decisive as the battle plans and philosophy he announced at Obersalzberg.

Question 1

According to the passage, Hitler's confidence in his military strategy stemmed from its:
• 18
Which of the following best characterizes the author's view of the relationship between Hitler and Napoleon?