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

National Commission for Backward Classes was set up in 

A) 1991 B) 1992
C) 1993 D) 1994
 
Answer & Explanation Answer: C) 1993

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

6 4190
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 4188
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 4188
Q:

What is the capital of Hungary?

A) Budapest B) Reykjavik
C) Santo Domingo D) None
 
Answer & Explanation Answer: A) Budapest

Explanation:

Budapest is the capital of Hungary

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

13 4187
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 4187
Q:

"World Television Day" is observed every year on ___.

A) Nov 21 B) Oct 22
C) Sep 23 D) Aug 24
 
Answer & Explanation Answer: A) Nov 21

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

8 4187
Q:

Seagate is manufacturer of

A) harddisk B) earth moving equipment
C) picture tube D) banking software
 
Answer & Explanation Answer: A) harddisk

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

14 4187