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

First Indian woman, to win The silver medal in Rio Olympics 2016 ?

A) Sakshi Malik B) P V Sindhu
C) Dipa Karmakar D) Saina Nehwal
 
Answer & Explanation Answer: B) P V Sindhu

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

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

Which country has been unanimously elected as the President of the UN-Habitat  ?

A) Russia B) India
C) China D) Japan
 
Answer & Explanation Answer: B) India

Explanation:

India has been unanimously elected as the President of the UN-Habitat. UN-Habitat, an organ of the United Nations’ Organisation (UNO) reports to the United Nations General Assembly. UN-Habitat  promotes socially and environmentally sustainable human settlements across the world. India has been elected as the President of UN-Habitat after a gap of 10 years. This is only the third time that India has been elected as the President of UN-Habitat after 2007 and 1988. The UN-Habitat was established in 1978.

Report Error

View Answer Report Error Discuss

Filed Under: World Organisations
Exam Prep: Bank Exams , CAT , GATE

7 4192
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 4192
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 4191
Q:

What does it mean VISION VISION?

Answer

Double Vision

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: Bank Exams

36 4191
Q:

Which interrupts is not level-sensitive in 8085?

Answer

TST 7.5 is a raising edge-triggering interrupt.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

2 4190