Questions

Q:

What will be output of following c code?

void main()
{
struct bitfield
{
unsigned a:5;
unsigned c:5;
unsigned b:6;

}bit;
char *p;
struct bitfield *ptr,bit1={1,3,3};
p=&bit1;
p++;
clrscr();
printf("%d",*p);
getch();
}

Answer

Output: 12

Explanation:
Binary value of a=1 is 00001 (in 5 bit)
Binary value of b=3 is 00011 (in 5 bit)
Binary value of c=3 is 000011 (in 6 bit)

In memory it is represented as:
Let address of bit1 is 500 which initialize to char pointer p. Since can is one byte data type so p++ will be 501. *p means content of memory location 501 which is (00001100) and its binary equivalent is 12. Hence output is 12.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3425
Q:

How many medals has been bagged by India in 5th Asian Indoor and Martial Arts Games ?

A) 19 B) 33
C) 27 D) 40
 
Answer & Explanation Answer: D) 40

Explanation:

With 9 gold, 12 silver and 19 bronze, India won 40 medals in 5th Asian Indoor and Martial Arts Games and finished the Games at 11th.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

19 3425
Q:

If people sleep in closed rooms where charcoal fire is burning , they die due to 

A) carbon monoxide B) carbon dioxide
C) methane D) phosgene
 
Answer & Explanation Answer: A) carbon monoxide

Explanation:

A closed room is aplace where charcoal is burnt in limited supply of air. There is every chance for the formation of the deadly poisonous carbon monoxide, which when inhaled, reacts with the iron in haemoglobin of blood and prevents the supply of oxygen. It is said to be treacherous as there can be no previous warning of its presence because it is an odourless and colourless gas.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 3425
Q:

Man has...............pairs of salivary glands

A) 4 B) 6
C) 3 D) 8
 
Answer & Explanation Answer: C) 3

Explanation:

Salivary glands of man are 3 pairs = 6. They are one pair of parotid glands, one pair of submaxillary or submandibular glands and one pair of sublingual glands.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

9 3424
Q:

Which best matches the description with the genetic material?

A) Chromosomes are located in the cytoplasm. B) DNA is located in the nucleus.
C) Nucleotides form a helical structure that is called a gene. D) Chromosomes create genes.
 
Answer & Explanation Answer: B) DNA is located in the nucleus.

Explanation:

DNA is the genetic material in the cell. 

 

Hence, option B) DNA is located in the nucleus best matches the description with the genetic material.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

4 3423
Q:

Crack the code?

english1526360782.jpg image

Answer

STARTLING is a required 9 letter English word is still a word each time you remove a letter from the word. And how it is shown below: 


 


1. Remove the L, and the word becomes: STARTING


2. Remove one T, and the word becomes: STARING


3. Remove the A, and the word becomes: STRING


4. Remove the R, and the word becomes: STING


5. Remove the other T, and the word becomes: SING


6. Remove the G, and the word becomes: SIN


7. Remove the S, and the word becomes: IN


8. Remove the N, and the word becomes: I

Report Error

View answer Workspace Report Error Discuss

5 3423
Q:

Name the two Indian companies that have been named in the list of world's most ethical companies by American think tank Ethisphere Institute.

A) Dabur and Tata B) Mahindra and Tata
C) Patanjali and Dabur D) Tata Steel and Wipro
 
Answer & Explanation Answer: D) Tata Steel and Wipro

Explanation:
      • Two Indian companies, Tata SteelBSE and Wipro have been named in the list of world’s most ethical companies by American think tank Ethisphere Institute.
      • Ethisphere honors those companies who recognize their role in society to influence and drive positive change in the business community and organizations around the world.
      • In 2017, 124 honorees were spanning five continents, 19 countries, and 52 industry sectors.
      • Wipro is one of the two information technology companies named in the list, the other being Xerox Corporation.
Report Error

View Answer Report Error Discuss

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

3 3423
Q:

Point out which from the following is NOT a right enumerated in the Constitution of India but has been articulated by the Supreme Court to be a Fundamental Right

A) Right to privacy B) Certiorari
C) Abolition of untouchability D) Right to form association or Union
 
Answer & Explanation Answer: A) Right to privacy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

7 3422