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

Missing letters puzzle

Answer

Answer: J


Explanation:   Start with the letter J in the top left square, and move clockwise around the other squares. Letters follow the alphabetic sequence, skipping 4 letters at a time. Start with the X in the inner square in the top left, and move clockwise. These inner letters also follow the alphabetic sequence, skipping 5 letters at a time

Report Error

View answer Workspace Report Error Discuss

24 3893
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 3893
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 3892
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 3891
Q:

Select the synonym of

 

melodramatic

 

A) tranquil B) halcyon
C) bucolic D) theatrical
 
Answer & Explanation Answer: D) theatrical

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 3891
Q:

Name the only animal which cannot jump.

 

A) Guinea Pig B) The elephant
C) Giraffe D) Donkey
 
Answer & Explanation Answer: B) The elephant

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: Bank Exams

7 3890
Q:

The Supreme Court has reconstituted the special Investigation Team(SIT) to expedite probe into Black Money Cases and directed the government to issue the necessary notification. Who of the following is the chairman of this team?

A) Arijit Pasayat B) M.B.Shah
C) R.M.Lodha D) Vinod Rai
 
Answer & Explanation Answer: B) M.B.Shah

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 3889