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

Which state government started the distribution of kits for new borns and mothers across the State  ?

A) Uttar Pradesh B) Haryana
C) Madhya Pradesh D) Telangana
 
Answer & Explanation Answer: D) Telangana

Explanation:

The Telangana government started the distribution of kits for new borns and mothers across the State with Chief Minister K.Chandrashekar Rao gave them at the Government Maternity Hospital. Six women, who gave birth to children recently, received them.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 3486
Q:

The land mass of India has an area of ______ million square km.

A) 1.28 B) 2.28
C) 3.28 D) 4.28
 
Answer & Explanation Answer: C) 3.28

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 3486
Q:

Who is the First Indian to win a medal in badminton at the Olympics ?

Answer

Saina Nehwal

Report Error

View answer Workspace Report Error Discuss

16 3485
Q:

The black flag signifies

the_black_flag_signifies1553164164.png image

A) protest B) danger
C) peace D) troop
 
Answer & Explanation Answer: A) protest

Explanation:

The black flag signifies a protest.

Report Error

View Answer Report Error Discuss

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

2 3484
Q:

 The ODBC Level 1 API contains which of the following functions?

A) Browse possible connections and data sources only B) Connect to data sources with driver-specific information only
C) Process a scrollable cursor only D) Both 1 and 3 above are in the OBDC Level 1 API.
 
Answer & Explanation Answer: B) Connect to data sources with driver-specific information only

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

1 3483
Q:

Which of these does not contain a structural protein?

A) Tendons B) Ovalbumin
C) Muscles D) Ligaments
 
Answer & Explanation Answer: B) Ovalbumin

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

12 3483