Questions

Q:

The FROM SQL clause is used to 

A) specify what table we are selecting or deleting data FROM B) specify search condition  
C) specify range for search condition   D) None of these
 
Answer & Explanation Answer: A) specify what table we are selecting or deleting data FROM

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

40 2314
Q:

What is SLIP

Answer

It is a very simple protocol used for transmission of IP datagrams across a serial line.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 2313
Q:

What are the two types of pure substances?

Answer

An atom is the smallest particle of a substance. Chemical substances are divided into two major groups. They are


1. Pure Substances (and)


2. Mixtures.


 


There are two types of pure substances that are Elements and Compounds.


 


Elements : An element is a substance that is made up of only one kind of atoms and cannot be broken down into simpler substances by chemical means. Metals and Non- metals come under elements.


Examples of elements are Iron, Silver, Gold, Mercury etc.


 


Compounds : A Compound is a substance that is formed when two or more elements combine chemically.


Examples of compounds are Water, Carbon dioxide, methane, vinegar etc.


 


Mixtures : A Mixture is formed when two or more substances mixed together but not chemically combined.


Example: Air.

Report Error

View answer Workspace Report Error Discuss

Subject: Chemistry Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2313
Q:

Chang Lo is a folk dance of _______.

A) Arunachal Pradesh B) Punjab
C) Assam D) Nagaland
 
Answer & Explanation Answer: D) Nagaland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT

2 2313
Q:

Regarding the Magna Carta, which statement is false?

A) The document assured all English citizens freedom of speech. B) The document required trial by a jury of one's peers.
C) The meeting of the English Barons and King John occurred at Runnymede. D) King John was forced to sign the document.
 
Answer & Explanation Answer: B) The document required trial by a jury of one's peers.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2313
Q:

The longest sea beach in India is

A) Chapora beach B) Diu beach
C) Aksa beach D) Marina beach
 
Answer & Explanation Answer: D) Marina beach

Explanation:
Report Error

View Answer Report Error Discuss

2 2313
Q:

Write a program for matrix multiplication in c

Answer

#include <stdio.h>


int main() {


  int a[5][5], b[5][5], c[5][5], i, j, k, sum = 0, m, n, o, p;


  printf( "\nEnter the row and column of first matrix" );


  scanf( "%d %d", &m, &n );


  printf( "\nEnter the row and column of second matrix" );


  scanf( "%d %d", &o, &p );


  if(n!=o) {


      printf( "Matrix mutiplication is not possible" );


      printf( "\nColumn of first matrix must be same as row of second matrix" );


  }


  else {


      printf( "\nEnter the First matrix" );


      for( i=0; i<m; i++ )


      for( j=0; j<n; j++ )


           scanf( "%d", &a[i][j] );


      printf( "\nEnter the Second matrix" );


      for( i=0; i<o; i++ )


      for( j=0; j<p; j++ )


           scanf( "%d", &b[i][j] );


      printf( "\nThe First matrix is\n" );


      for( i=0; i<m; i++ ) {


      printf("\n");


      for( j=0; j<n; j++ ) {


           printf( "%d\t", a[i][j] );


      }


      }


      printf( "\nThe Second matrix is\n" );


      for( i=0; i<o; i++ ) {


      printf("\n");


      for( j=0; j<p; j++ ) {


           printf( "%d\t", b[i][j] );


      }       


      }


      for( i=0; i<m; i++ )


      for( j=0; j<p;j++ )


           c[i][j] = 0;


      for( i=0; i<m; i++ ) { //row of first matrix


      for( j=0; j<p; j++ )  {  //column of second matrix


           sum = 0;


           for( k=0; k<n; k++ )


               sum = sum + a[i][k]*b[k][j];


           c[i][j] = sum;


      }


      }


  }


  printf( "\nThe multiplication of two matrix is\n" );


  for( i=0; i<m; i++ ) {


      printf("\n");


      for( j=0; j<p; j++ ) {


           printf( "%d\t", c[i][j] );


      }


  }


  return 0;


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2312
Q:

What are the different job scheduling in operating systems?

Answer

Scheduling is the activity of the deciding when process will receive the resources they request.


FCS ---> FCSFS stands for First Come First Served. In FCFS the job that has been waiting the longest is served next.


Round Robin Scheduling--->Round Robin scheduling is a scheduling method where each process gets a small quantity of time to run and then it is preempted and the next process gets to run. This is called time-sharing and gives the effect of all the processes running at the same time


Shortest Job First ---> The Shortest job First scheduling algorithm is a nonpreemptive scheduling algorithm that chooses the job that will execute the shortest amount of time.


Priority Scheduling--->Priority scheduling is a scheduling method where at all times the highest priority process is assigned the resource.

Report Error

View answer Workspace Report Error Discuss

0 2312