Questions

Q:

How do you detect a sequence of "1101" arriving serially from a signal line?

Answer

A SIPO and AND gate circuit can detect this sequence.The output of SIPO is connected to a four input AND gate ,the third SIPO output should be connected through a NOT gate.When the 1101 sequence is loaded in to the SIPO the AND output goes HIGH otherwise keeps LOW.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 4139
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 4139
Q:

Which is smallest state by area of India ?

Answer

Goa

Report Error

View answer Workspace Report Error Discuss

18 4138
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 4138
Q:

Nobel Prize is established in  ?

A) 1931 B) 1911
C) 1901 D) 1951
 
Answer & Explanation Answer: C) 1901

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: CAT , Bank Exams

8 4138
Q:

Solids have definite shapes.This is because

A) the forces of cohesion of the molecules within are very much less in them B) the forces of cohesion are very large
C) the forces of adhesion are large D) the forces of adhesion are less
 
Answer & Explanation Answer: B) the forces of cohesion are very large

Explanation:

Cohesion refers to attraction between molecules of the same kind while adhesion refers to attraction between different kinds of molecules

Report Error

View Answer Report Error Discuss

Filed Under: Physics

3 4137
Q:

President Pranab Mukherjee inaugurated the biggest river festival of India in 2017, Namami Brahmaputra, in which of the following states ?

A) Arunachal Pradesh B) Assam
C) Orissa D) Tripura
 
Answer & Explanation Answer: B) Assam

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 4137
Q:

The outer membrane that covers the lungs

A) Dura mater B) pleura
C) Pia mater D) Myelin sheath
 
Answer & Explanation Answer: B) pleura

Explanation:

The pleura is the membrane that covers the lungs, according to InnerBody. The pleura consists of two layers, with the parietal pleura forming the membrane's outer layer and the visceral pleura forming the membrane's inner layer.

 

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

5 4137