Questions

Q:

What are the minimum requirements to run an ad on the Search Network?

Answer

Text ad, keyword list, and a default bid.

Report Error

View answer Workspace Report Error Discuss

26 4425
Q:

Which command displays the present workig directory in UNIX?

A) $who B) $pwd
C) $who are you D) None
 
Answer & Explanation Answer: B) $pwd

Explanation:

$pwd - present working directory

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems

0 4425
Q:

The fastest moving land snake in the world is the

Answer

Black Mamba

Report Error

View answer Workspace Report Error Discuss

25 4424
Q:

What is the major monosaccharide found in the body?

A) Galactose B) Sucrose
C) Fructose D) Glucose
 
Answer & Explanation Answer: D) Glucose

Explanation:

Glucose is the major monosaccharide found in the body. It is absorbed directly into the bloodstream duringdigestion and a vital carbohydrate as it is a source of energy.

 

Report Error

View Answer Report Error Discuss

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

4 4424
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 4423
Q:

Dianna deposits $725 into a savings account that pays 2.3% simple annual interest. How much interest will Dianna earn after 18 months?

A) 23.01 B) 24.01
C) 25.01 D) 26.01
 
Answer & Explanation Answer: C) 25.01

Explanation:

I = Prt

Report Error

View Answer Report Error Discuss

0 4423
Q:

Solve this Math puzzle?

math_number_puzzle1538999808.jpg image

A) 96 B) 88
C) 40 D) 19
 
Answer & Explanation Answer: A) 96

Explanation:

The given math puzzle follows a logic that,

1 + 4 = 5 => 1 x 4 + 1 = 5

2 + 5 = 12 => 2 x 5 + 2 = 12

3 + 6 = 21 => 3 x 6 + 3 = 21

 

Similarly,

8 + 11 = > 8 x 11 + 8 = 96.

Report Error

View Answer Report Error Discuss

Filed Under: Math Puzzles
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

9 4423
Q:

The only Communist Government of Europe which had kept itself free from the influence of Soviet Union is ______

A) Czechoslovakia B) Greece
C) Romania D) Yugoslavia
 
Answer & Explanation Answer: D) Yugoslavia

Explanation:

The Communist Government of Yugoslavia had kept itself free from the Soviet Union almost from the beginning . Yugoslavia was one of the founders of the Non-Aligned Movement. It was a fedaration of 6 republics. In four of these republics, the rule of the communist parties came to an end in 1990. By 1992,Yugoslavia broke up into five independent states-the new states of yugoslavia comprising Serbia and Montenegro, Croatia, Macedonia, Slovenia and Bosnia-Herzegovina.

Report Error

View Answer Report Error Discuss

Filed Under: World History

7 4423