Questions

Q:

An Oracle System Change Number (SCN):

A) is a value that is incremented whenever a dirty read occurs. B) is incremented whenever a deadlock occurs.
C) is a value that keeps track of explicit locks. D) is a value that is incremented whenever database changes are made.
 
Answer & Explanation Answer: D) is a value that is incremented whenever database changes are made.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 4273
Q:

The Prestigious 'Ramanujan Mathematics Award' at Eighth National Mathematical Convention on January 28, 2014,  was awarded to

A) Mr. Sushanta Kumar B) Mr. Anand Kumar
C) Mr. Vinod Kumar Singh D) None of the above
 
Answer & Explanation Answer: B) Mr. Anand Kumar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

5 4270
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 4269
Q:

The term Upari refers to which one of the following?

A) A category of proprietary tenure under the Mughal rule B) A category of tenancy tenure under the Maratha rule
C) A soldier in the Maratha army D) A village headman in the Mughal period.
 
Answer & Explanation Answer: B) A category of tenancy tenure under the Maratha rule

Explanation:

Upari refers to a category of tenancy tenure held under the Maratha Regime.The Government used to assign land to various cultivators for cultivation and getting maximum revenue. The land allotted to original settlers of villages came to be known as Mirasi land whereas the land assigned to the migrant settlers was known as the Upari land.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 4269
Q:

A cavern is an underground chamber formed by

A) Erosion B) Runoff
C) Deposition D) Evaporation
 
Answer & Explanation Answer: A) Erosion

Explanation:

Caverns are openings in the ground. Some famous caverns in the United States are Mammoth Cave, Carlsbad Caverns, Wind Cave, and Luray Caverns.

 

When rainwater trickles down through the soil, it carries carbon dioxide from the air with it. This turns acidic as it moves through the soil, joining with carbon from decaying plants. This acidic rainwater then eats away at, or erodes, the rock under the ground, forming a cave or cavern. For this process to occur, the rock must be the right type; limestone, dolomite, and gypsum are common.

Report Error

View Answer Report Error Discuss

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

3 4269
Q:

In the given question, a statement divided into different segments is given. The first segment is fixed, rearrange the other segments to form a coherent statement.

It was hard for the Afghans/ leading to the subtle plummeting of the morale (P)/ to withstand the wave after wave of enemy attacks (Q)/ their plight further worsened the situation (R)/ and the indifference of the allies towards (S)

A) QSRP B) PQRS
C) RQPS D) SRPQ
 
Answer & Explanation Answer: A) QSRP

Explanation:

Clearly, only segment Q fits after the first segment. This eliminates all the options except 1.

Option 2: It is incorrect because it ends in S which ends in 'towards' which can't be used to any statement.

Option 3: It is incorrect for the same reason as option 2.

Option 4: 'towards their plight further worsened' makes no sense; hence it can be eliminated.

Option 5: R is a clear misfit after the first segment; hence it can also be eliminated. Hence, the correct sequence is QSRP.

Report Error

View Answer Report Error Discuss

Filed Under: English

0 4264
Q:

The arbor vitae refers to

A) the pleatlike convolutions of the cerebellum B) cerebellar gray matter
C) flocculonodular nodes D) cerebellar white matter
 
Answer & Explanation Answer: D) cerebellar white matter

Explanation:

In the brain cerebellum, the arbor vitae refers to the cerebellar white matter which resembles the structure of arborvitae plant leaves and branches structure.

arbor-vitae1540288058.png image

Report Error

View Answer Report Error Discuss

Filed Under: Biology

4 4263
Q:

Modem is used mostly for ?

A) A modern empty memory modules B) Connecting to internet
C) Mostly for file system D) All the above
 
Answer & Explanation Answer: B) Connecting to internet

Explanation:

A modem is nothing but short for Modulator and Demodulator. It is used mostly for connecting to the internet.

A modem is a device or program that enables a computer to transmit data over, for example, telephone or cable lines. Computer information is stored digitally, whereas information transmitted over telephone lines is transmitted in the form of analog waves.

 

Report Error

View Answer Report Error Discuss

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

4 4263