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 3485
Q:

The term 'Progeria' refers to which of the following ?

A) A natural satellite of planet jupiter B) A widely used Tuberculosis(TB) drug
C) A genetic disorder with symptoms of pre-mature aging D) None
 
Answer & Explanation Answer: C) A genetic disorder with symptoms of pre-mature aging

Explanation:

Progeria is a rare genetic disordr which involves symptoms resembloing aspects of aging, manifested at a very early age.
The term is often used in reference to Hutchinson - gilford progeria syndrome(HGPS).

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank PO

1 3485
Q:

In general, which is the cause of a sea breeze?

A) Pressure B) Specific heat
C) Heat D) All the above
 
Answer & Explanation Answer: B) Specific heat

Explanation:

The usual cause of sea breeze is the difference in specific heat capacity between land and water Land heats and cools more quickly than water.

 

What is the cause of a sea breeze?

The air over the land is warmed and rises, to a greater temperature than that over the sea. This produces a convection current, with cooler air flowing in from over the sea to replace that rising from the land. At night the land cools more than the sea, so the action reverses to produce a land-breeze, blowing off the land.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

3 3485
Q:

Fat in the body helps to protect vital organs.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

In the body, the fat stored can be served as a cushions or insulation which protects the vital organs in the body from the external damage in the environment.

Report Error

View Answer Workspace Report Error Discuss

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

0 3484
Q:

The Number of officially recognised languages in india is

A) 12 B) 15
C) 18 D) 21
 
Answer & Explanation Answer: C) 18

Explanation:

India has 18 officially recognised languages - Konkani, Manipur and Nepali were added to the official list of 15 in 1992. The other 15 languages are Assamese, Bengali, Gujarati, Hindi, Kannada, Kashmiri, Malayalam, Marathi, Oriya, Punjabi, Sanskrit , Tamil, Telugu , Urdu and sindhi.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

4 3484
Q:

Iodex, a pain relief balm, has the smell of __________ .

A) Methyl salicylate B) Ethyl salicylate
C) Propyl salicylate D) Butyl salicylate
 
Answer & Explanation Answer: A) Methyl salicylate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3484
Q:

The project life cycle can be broken into five phases that tend to overlap with each other frm one phase to another;however ,the control phase does not overlap with a specific phase. why?

A) Change control management is seperate from the other phases B) Change control management has a plan that can be usede throughout the initiation, planning, execution, and closeout of the project
C) Because the project sponsor is responsible for change control management , the project manager is not involved with that phase of the project D) Change control extends throughout the entire project from initiation to closeout
 
Answer & Explanation Answer: D) Change control extends throughout the entire project from initiation to closeout

Explanation:

Change control management is utilized from the begining to the end of the project in order to keep it focused with an emphasis on the time and budget. Answer A is incorrect because change control management is not seperate from the other phases. Answer B is incorrect because the control plan must be throughout the other phases of a project. Its usage is not optional, and consistent utilization is imperative to managing scope creep and other scope expansions. Answer C is incorrect because the project sponsors is generally not responsible for the change control documentation, although it should be involved in the buy-in and approval process.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 3483
Q:

Excise duty is a tax levied on the

A) Export of goods B) Import of goods
C) sale of goods D) Production of goods
 
Answer & Explanation Answer: D) Production of goods

Explanation:

An excise or excise tax or excise duty is a type of tax charged on goods produced within the country (as opposed to customs duties, charged on goods from outside the country). It is a tax on the production of a good. This tax is now known as the Central Value Added Tax (CENVAT).

Report Error

View Answer Report Error Discuss

5 3481