Questions

Q:

The DBA can set the registry variable DB2_HASH_JOIN on or off because:

A) hash joins may require more resources to run. B) hash joins are not used unless outer joins are requested.
C) If hash joins are enabled, no other join method can be used. D) Hash joins are only needed when the tables are portioned using hash keys.
 
Answer & Explanation Answer: A) hash joins may require more resources to run.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

5 3904
Q:

Sometimes project managers forget all of the expenses that they can incur on a project, such as capital resources and assets. This can have an impact upon their budgets and the economic return on the project. A cost that has been incurred and cannot be reversed is known as a 

A) Fixed Cost B) Direct Cost
C) Variable Cost D) Sunk Cost
 
Answer & Explanation Answer: D) Sunk Cost

Explanation:

Answer D is correct because a sunk cost is a project expense that will eventualy need to be paid. Answer A is incorrect because a fixed cost remains constant, regardless of any change in a company's activity. Answer B is incorrect because direct cost can be directly linked to producing specific goods or services. Answer C is incorrect because a variable cost changes in proportion to a change in the company's activity or business.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 3904
Q:

Moti Masjid in Red fort was constructed by

A) Humayun B) Aurangzeb
C) Akbar D) Jahangir
 
Answer & Explanation Answer: B) Aurangzeb

Explanation:

Moti Masjid was built by the Mughal emperor Aurangzeb from 1659-1660. The Moti Masjid is a white marble mosque inside the Red Fort complex in Delhi, India.

Report Error

View Answer Report Error Discuss

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

10 3903
Q:

Garba a popular folk dance is associated with Indian state

Answer

Gujarat

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

53 3902
Q:

Where does the chemical reactions called Mellaird reaction takes place?

Answer

In cooking

Report Error

View answer Workspace Report Error Discuss

Subject: General Science

14 3901
Q:

Which is a common first indicator of an approaching thunderstorm?

A) too hot B) heavy wind
C) a buildup of dark clouds D) lightning
 
Answer & Explanation Answer: C) a buildup of dark clouds

Explanation:

The first indicator of an approaching thunderstorm is a buildup of dark clouds.

A thunderstorm is a storm with lightning and thunder; it is usually produced by heavy rain, gusty wind, and the cumulonimbus cloud. The thunderstorm is made up of moisture, unstable air and lift.

Report Error

View Answer Report Error Discuss

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

2 3900
Q:

A gas is found to have the formula . Its vapour density is 70.The value of n must be

A) 5 B) 4
C) 9 D) 6
 
Answer & Explanation Answer: A) 5

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3900
Q:

How would you use qsort() function to sort an array of structures?

Answer

#include "string.h"


#include "stdlib.h"


struct stud


{


       int rollno;


       int marks;


       char name[30];


};


int sort_m (struct stud *, struct stud *);


int sort_name (struct stud *, struct stud *);


int sort_marks (struct stud *, struct stud *);


 


main()


{


static struct stud ss[] = {


                                            { 15, 96, "Akshay" },


                                            { 2, 97, "Madhuri" },


                                            { 8, 85, "Aishvarya" },


                                            { 10, 80, "Sushmita" }


                                   };


int x,w;


clrscr();


w = sizeof (struct stud);


 


printf ('\nIn order of roll numbers:");


qsort (ss, 4, w, sort_rn);


for(x=0; x<4;x++)


     printf ("\n%d%s%d", ss[x].rollno, ss[x].name,ss[x].marks);


 


printf("\n\nIn order of names:");


qsort(ss, 4, sort_name);


 


for (x=0; x<4;x++)


      printf("\n%d%s%d",ss[x].rollno, ss[x].name,ss[x].marks);


printf("\n\nIn order of marks:");


qsort(ss,4,w,sort_marks);


 


for (x=0;x<4;x++)


      printf ("\n%d%s%d",ss[x].rollno,ss[x].name,ss[x].marks);


}


int sort_rn (struct stud *t1, struct stud *t2)


{


     return (t1->rollno-t2->rollno);


}


 


int sort_name (struct stud *t1, struct stud *t2)


{


     return (strcmp(t1->name,t2->name));


}


int sort_marks (struct stud *t1, struct stud *t2)


{


     return (t2->marks-t1->marks);


}


 


 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3900