Questions

Q:

What would be the output of the following program?

main()

{

    static int a[20];

    int i = 0;

    a[i] = i++;

    printf ("\n%d%d%d", a[0],  a[1], i);

}

Answer

0  0  1


That's what some of the compilers would give. But some other compiler may give a different answer. The reason is, when a single expression causes the same object to be modified and then inspected the behaviour is undefined.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2230
Q:

The Waste to Wonder park is in?

A) Pune B) Gujarat
C) Delhi D) Hyderabad
 
Answer & Explanation Answer: C) Delhi

Explanation:

The "Waste to Wonder” park is in south Delhi.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

3 2230
Q:

The chemical makeup of a rock is

A) Nutrients B) Minerals
C) Metals D) Water
 
Answer & Explanation Answer: B) Minerals

Explanation:

The chemical composition of a rock is mainly minerals.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2230
Q:

Each item consists of six sentences of a passage. The first and sixth sentences are given in the beginning as S1 and S6. The middle four sentences in each have been jumbled up and labelled as P, Q, R and S. You are required to find the proper sequence of the four sentences and markyour response accordingly on the Answer Sheet.


S1 :The dawn of the information age opened up great opportunities for the beneficial use of data.
S6 :To some, in this era of Big Data analytics and automated, algorithm-based processing of zettabytes of information, the fear that their personal data may be unprotected may conjure up visions of a dystopian world in which individual liberties are compromised.
P :But it is the conflict between the massive scope for progress provided by digital era and the fear of loss of individual autonomy that is foregrounded in any debates about data protection laws.
Q : It also enhanced the perils of unregulated and arbitrary use of personal data.
R : It is against this backdrop that the White Paper made public to elicit views from the public on the shape and substance of a comprehensive data protection law assumes significances.
S :Unauthorised leaks, hacking and other cyber crimes have rendered databases vulnerable.


The correct sequence should be

A) S Q R P B) Q P R S
C) S R P Q D) Q S P R
 
Answer & Explanation Answer: D) Q S P R

Explanation:
QSPR is the correct order in which sentences should be arranged.
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2230
Q:

What two elements are used to make bronze?

A) Lead and copper B) copper and tin
C) Tin and lead D) copper and iron
 
Answer & Explanation Answer: C) Tin and lead

Explanation:

The two elements that are used to make bronze are tin and lead.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2229
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

The first working steam­ powered vehicle was designed and most likely built by Ferdinand Verbies, a Flemish member of a Jesuit mission in China around 1672. It was a 65 cm long scale­ model toy for the Chinese Emperor, that was unable to carry a driver or a passenger. It is not known if Verbiest's model was ever built. Nicolas- Joseph Cugnot is widely credited with building the first full­ scale, self ­propelled mechanical vehicle or automobile in about 1769; he also created a steam­ powered tricycle. He constructed two steam tractors for the French Army, one of which is preserved in the French National Conservatory of Arts and Crafts. His inventions were however handicapped by problems of water supply and maintaining steam pressure. In 1801, Richard Trevithick built and demonstrated his Puffing Devil road locomotive, believed by many to be the first demonstration of a steam ­powered road vehicle. It was unable to maintain sufficient steam pressure for long periods. Sentiment against steam ­powered road vehicles led to the Locomotive Acts of 1865. In 1807 Nicephore Niepce and his brother Claude probably created the world's first internal combustion engine which they called Pyreolophore.

The first full­scale, working steam ­powered tricycle was built by:

A) Verbiest B) Cugnot
C) Trevithick D) Niepce
 
Answer & Explanation Answer: B) Cugnot

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2229
Q:

Main bench of National Green Tribunal is located at

A) Delhi B) Pune
C) Lucknow D) Bhopal
 
Answer & Explanation Answer: A) Delhi

Explanation:

Main bench of National Green Tribunal is located at national capital city Delhi on 18th October, 2010.

 

Its other benches are:

 

West sone at Pune

Central zone at Bhopal

East zone at Kolkata

South zone at Chennai.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

3 2229
Q:

Gases in the atmosphere and their percentages?

Answer

The air around us is a mixture of gases, mainly nitrogen and oxygen, but containing much smaller amounts of water and other gases.


Earth's atmosphere is composed of many gases. Their percentages by volume is given by::


 
78% Nitrogen,


21% Oxygen,


0.9% Argon, and


0.03% Carbon dioxide 


And very small percentages of other elements.


 

Report Error

View answer Workspace Report Error Discuss

Subject: General Science Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

1 2229