Questions

Q:

The process of encoding refers to

A) getting information into memory. B) the recall of information previously learned.
C) a clear memory of an emotionally significant event. D) the persistence of learning over time.
 
Answer & Explanation Answer: A) getting information into memory.

Explanation:

Encoding refers to the getting information into memory.

Report Error

View Answer Report Error Discuss

6 4184
Q:

Atomic weight of an element is given by

A) sum of neutrons and electrons B) sum of neutrons and protons
C) only neutrons D) only protons
 
Answer & Explanation Answer: A) sum of neutrons and electrons

Explanation:

Atomic weight=number of neutrons+number of protons

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

7 4183
Q:

What is the official language of African Export and import Bank

A) Egypt B) Senegal
C) Dauber D) None of these
 
Answer & Explanation Answer: A) Egypt

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

4 4183
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 4182
Q:

Difference between Candidate key and Primary key?

Answer

Candidate Key – A Candidate Key can be any column or a combination of columns that can qualify as unique key in database. There can be multiple Candidate Keys in one table. Each Candidate Key can qualify as Primary Key. 


Primary Key – A Primary Key is a column or a combination of columns that uniquely identify a record. Only one Candidate Key can be Primary Key.






        • One needs to be very careful in selecting the Primary Key as an incorrect selection can adversely impact the database architect and future normalization. For a Candidate Key to qualify as a Primary Key, it should be Non-NULL and unique in any domain.




Report Error

View answer Workspace Report Error Discuss

6 4179
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 4179
Q:

What is the name for the process that is used to convert a series of instructions or programs, written in a high-level language into instructions(or a program) that can be run on a computer? 

A) Assembling B) Compiling
C) Translating D) Uploading
 
Answer & Explanation Answer: B) Compiling

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams
Job Role: Bank Clerk

7 4178
Q:

What makes an election democratic?

A) Elections should be held at regular intervals. B) The candidate preferred by the people should get elected.
C) Every citizen should have one vote ad every vote should have an equal value. D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

In short, Democracy is a government "of the people, by the people, and for the people."

 

Definition :

Democracy "is government by the people in which the supreme power is vested in the people and exercised directly by them or by their elected agents under a free electoral system." 


The conditions of a democratic election are:

 

* Every citizen should have one vote ad every vote should have an equal value.

* Voters choose from the political parties and candidates should be free to contest elections giving the voters a real choice.

* Elections should be held at regular intervals.

* The candidate preferred by the people should get elected.

* Elections should be conducted in free and fair manner where people can choose as they really wish.

Report Error

View Answer Report Error Discuss

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

2 4177