Questions

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

The Yarlung Zangbo river in India is known as

A) Godavari B) Brahmaputra
C) Ganga D) Indus
 
Answer & Explanation Answer: B) Brahmaputra

Explanation:

The Yarlung Zangbo river in India is known as Brahmaputra. The river Brahmaputra in China is called Yarlung Tsangpo or Yarlung Zangbo river. In Assam and Arunachal Pradesh it is called Lohit or luit meaning blood.

the_yarlung_zangbo_river_in_india_is_known_as1560848958.jpg image 

The Brahmaputra is one of the major rivers of Asia, a trans-boundary river which flows through China, India and Bangladesh.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

7 4096
Q:

What cannot be performed from the windows task manager?

A) Open a program B) Check recent CPU usage
C) Delete a program from the hard drive D) View what applications are running in the background
 
Answer & Explanation Answer: C) Delete a program from the hard drive

Explanation:

The task manager enables you to monitor processes, applications and services currently running on your computer. You can use it to start and stop programs and processes. In addition, you can use the task manager to show informative stats about your PC’s performance and network.

 


Hence, to delete a program from the hard drive, you have to go to the control panel to uninstall an application properly.

 

Report Error

View Answer Report Error Discuss

6 4096
Q:

The term protoplasm was coined by

A) Hugo von Mohl B) J. E. Purkinje
C) Oken D) Kolliker
 
Answer & Explanation Answer: B) J. E. Purkinje

Explanation:

Protoplasm is the living content of a cell that is surrounded by a plasma membrane.

J.E_._Purkinje_1533211732.jpg image

J. E. Purkinje in the year 1839 coined the term 'protoplasm' for the fluid substance of the cell.

Report Error

View Answer Report Error Discuss

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

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

Write a c program to find out sum of diagonal element of a matrix.

Answer

#include<stdio.h>

int main(){

  int a[10][10],i,j,sum=0,m,n;

  printf("\nEnter the row and column of matrix: ");
  scanf("%d %d",&m,&n);

  printf("\nEnter the elements of matrix: ");
  for(i=0;i<m;i++)
      for(j=0;j<n;j++)
           scanf("%d",&a[i][j]);
  printf("\nThe matrix is\n");

  for(i=0;i<m;i++){
      printf("\n");
      for(j=0;j<m;j++){
      printf("%d\t",a[i][j]);
      }
 }
 for(i=0;i<m;i++){
     for(j=0;j<n;j++){
          if(i==j)
              sum=sum+a[i][j];
     }
 }
 printf("\n\nSum of the diagonal elements of a matrix is: %d",sum);

 return 0;
}

Sample output:

Enter the row and column of matrix: 3 3
Enter the elements of matrix:
2
3
5
6
7
9
2
6
7
The matrix is
2       3       5
6       7       9
2       6       7
Sum of the diagonal elements of a matrix is: 16

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 4095
Q:

Who was the founder of Mahakali Pathshala in Calcutta?

A) Her Holiness Mataji Maharani Tapaswini B) Sister Nivedita
C) Madamee Blavatsky D) Sarojini Naidu
 
Answer & Explanation Answer: A) Her Holiness Mataji Maharani Tapaswini

Explanation:

Mataji Maharani Tapaswini was one of the strongest proponents of female education in India. Her greatest contribution came in the form of the Mahakali Pathshala which she set up in Kolkata in 1893.

The school was a completely indigenous affair which did not rely on either foreign aid or assistance. The education of girls was carried out on a strictly national basis in the hopes that they would be able to revive and regenerate Hindu society.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

6 4094
Q:

What is the official language of African Export and import Bank

A) Egypt B) Senegal
C) Dauber D) None of these
 
Answer & Explanation Answer: A) Egypt

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

4 4093