Questions

Q:

The shortest air route from Moscow to San Francisco is

A) Over the Atlantic Ocean B) Over the Pacific via Siberia
C) Over the North Pole D) Through the latitude which passes through them
 
Answer & Explanation Answer: A) Over the Atlantic Ocean

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

5 4129
Q:

What has a mouth but never smiles?

Answer

A bottle has a mouth from which we used to drink water or any juice. But it cannot smile.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: TOEFL , GRE , GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

13 4128
Q:

With reference to the first battle of freedom in 1857, who was related to Jhansi ?

A) Chandra Shekhar Azad B) Rani Lakshmi Bai
C) Mangal Pandey D) Bhagat Singh
 
Answer & Explanation Answer: B) Rani Lakshmi Bai

Explanation:
Report Error

View Answer Report Error Discuss

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

18 4128
Q:

The type of fracture where bone is broken at several places

A) Complicated fracture B) Green stick fracture
C) Impact fracture D) Comminuted fracture
 
Answer & Explanation Answer: D) Comminuted fracture

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

8 4128
Q:

The First step of Bacterial Replication is

A) Pinching of the plasma membrane B) Separation of daughter cells
C) Attachment of the DNA to the plasma membrane D) DNA Replication
 
Answer & Explanation Answer: D) DNA Replication

Explanation:

The First step of Bacterial Replication is DNA Replication.

DNA must be copied in order to proceed.

Report Error

View Answer Report Error Discuss

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

3 4128
Q:

Which of the following describes a relational database?

A) It retrieves data related to its queries B) It provides a relationship between floats
C) It provides a relationship between integers D) It consists of separate tables or related data
 
Answer & Explanation Answer: D) It consists of separate tables or related data

Explanation:

A relational database is a digital database based on the relational model of data, a database structured to recognize relations between stored items of information. A software system used to maintain relational databases is a relational database management system.

 

Computer database in which all data is stored in Relations which (to the user) are tables with rows and columns. Each table is composed of records (called Tuples) and each record is identified by a field (attribute) containing a unique value. Every table shares at least one field with another table in 'one to one,' 'one to many,' or 'many to many' relationships. These relationships allow the database user to access the data in almost an unlimited number of ways, and to combine the tables as building blocks to create complex and very large databases.

Report Error

View Answer Report Error Discuss

36 4127
Q:

When did Bangladesh become an independent parliamentary democracy?

A) December, 1971 B) January, 1972
C) March, 1972 D) February, 1972
 
Answer & Explanation Answer: B) January, 1972

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: Bank Exams

3 4126
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 4126