Questions

Q:

Anti lock braking systems can significantly

A) Improve your breaking stability B) Impede your break instability
C) Impede your breaking power D) Improve your breaking power
 
Answer & Explanation Answer: A) Improve your breaking stability

Explanation:

An anti-lock braking system (ABS) is a safety anti-skid braking system used on aircraft and on land vehicles , such as cars, motorcycles, trucks and buses.

 

ABS is only on the front wheels and it can improve your ability and the stability of your car by keeping the front wheels from locking under severe braking it will allow the wheels to continue to roll so the car can stop straight and stop as safe and as soon as possible

Report Error

View Answer Report Error Discuss

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

3 3884
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 3883
Q:

6 B in an O?

A) 6 books in an order B) 6 balls in an over
C) 6 bats in an odd D) None of the above
 
Answer & Explanation Answer: B) 6 balls in an over

Explanation:

6 b in an o means 6 balls in an over in cricket.

Report Error

View Answer Report Error Discuss

4 3883
Q:

What is the name of India’s initiative to deliver Covid-19 vaccines to friendly countries?

 

A) Bharat Vaccine Mitra B) Vaccine Maitri
C) India Contributes D) Vaccine to Mitron
 
Answer & Explanation Answer: B) Vaccine Maitri

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 3881
Q:

What element is used in bright flashing advertising signs?

A) Neon B) Helium
C) Mercury D) Radon
 
Answer & Explanation Answer: A) Neon

Explanation:

Neon is the element that is used in bright flashing advertising signs as Neon particulary gives bright color.

Report Error

View Answer Report Error Discuss

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

6 3880
Q:

200 P for P G in M

Answer

Letter equation 200 P for P G in M denotes that 200 Pounds for Passing Go in Monopoly.

Report Error

View answer Workspace Report Error Discuss

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

7 3880
Q:

Who invented logarithms?

A) Mandeleef B) Shockley
C) Amundson D) John Napier
 
Answer & Explanation Answer: D) John Napier

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

2 3880
Q:

The DBA can set the registry variable DB2_HASH_JOIN on or off because:

A) hash joins may require more resources to run. B) hash joins are not used unless outer joins are requested.
C) If hash joins are enabled, no other join method can be used. D) Hash joins are only needed when the tables are portioned using hash keys.
 
Answer & Explanation Answer: A) hash joins may require more resources to run.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

5 3880