Questions

Q:

What methodologies have you used to develop test cases?

Answer

 I have used following 4 types of Methodologies: 


 


1. Boundary value analysis   


2. Equivalence partitioning   


3. Error guessing   


4. Cause effect graphing

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2833
Q:

Write a c program for quick sort.

Answer

#include<stdio.h>

void quicksort(int [10],int,int);

int main(){
  int x[20],size,i;

  printf("Enter size of the array: ");
  scanf("%d",&size);

  printf("Enter %d elements: ",size);
  for(i=0;i<size;i++)
    scanf("%d",&x[i]);

  quicksort(x,0,size-1);

  printf("Sorted elements: ");
  for(i=0;i<size;i++)
    printf(" %d",x[i]);

  return 0;
}

void quicksort(int x[10],int first,int last){
    int pivot,j,temp,i;

     if(first<last){
         pivot=first;
         i=first;
         j=last;

         while(i<j){
             while(x[i]<=x[pivot]&&i<last)
                 i++;
             while(x[j]>x[pivot])
                 j--;
             if(i<j){
                 temp=x[i];
                  x[i]=x[j];
                  x[j]=temp;
             }
         }

         temp=x[pivot];
         x[pivot]=x[j];
         x[j]=temp;
         quicksort(x,first,j-1);
         quicksort(x,j+1,last);

    }
}

Output:
Enter size of the array: 5
Enter 5 elements: 3 8 0 1 2
Sorted elements: 0 1 2 3 8

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2832
Q:

In a projectile motion, a large angle with the horizontal produces ______.

A) flat trajectory B) curve trajectory
C) straight trajectory D) high trajectory
 
Answer & Explanation Answer: D) high trajectory

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams , CAT

0 2832
Q:

A simple rule concerning water and electrolyte regulation is

A) water passively follows salt B) salt actively follows water
C) water actively follows salt D) salt passively follows water
 
Answer & Explanation Answer: A) water passively follows salt

Explanation:

A simple rule concerning water and electrolyte regulation is water passively follows salt.

Report Error

View Answer Report Error Discuss

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

2 2832
Q:

Importance of project life cycle?

Answer

A project has a beginning and an end and passes through several phases of development known as life cycle phases. Every project has certain phases of development. A clear understanding of these phases allows managers and executives to maintain control of the project more efficiently.
These phases are varied depending upon the industry involved but all follow the same basic steps.


 


How Important is Project Life Cycle::


1. This is a tried and tested method for delivering projects on time, within budget and to the expected quality targets.


2. Aids communication and helps define roles within the project organisation as it provides a framework for the project that is visible and understood by all members of the project.


3. The project lifecycle will allow the project manager to link progress directly to each phase and recognise the completion of each phase


4. The phases within the project lifecycle provide an understanding of the evolution of the project, being able to identify areas that need greater attention at different times such as risk management in the early stages and more Project Evaluation Reviews during the Implementation stage.


5. At each stage, approval is generally required from outside the project team before proceeding to the next stage.


6. The project life cycle also allows for the gate procedure to be used.


7. At each stage, approval is generally required from outside the project team before proceeding to the next stage.

Report Error

View answer Workspace Report Error Discuss

11 2831
Q:

What are the Various Register in 8085?

Answer

Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2831
Q:

For which one of the following items Tiruppur is well known as a huge exporter to many parts of the world?

 

A) Gems and Jewellery B) Leather goods
C) Knitted garments D) Handicrafts
 
Answer & Explanation Answer: C) Knitted garments

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

19 2831
Q:

Which equation is an example of a synthesis reaction?

A) 2H2 + O2 → 2H2O B) Na + Cl → NaCl
C) HA + BOH → H2O + BA D) NaCl + AgNO3 → NaNO3 + AgCl
 
Answer & Explanation Answer: B) Na + Cl → NaCl

Explanation:

When two or more chemical species combine to form a single product, the reaction is said to be synthesis reaction. It is also called as Direct Combination reaction.

 

Here in the given options, Sodium (Na) combines with Chlorine (Cl) to form a more complex single product Sodium Chloride (NaCl).

Report Error

View Answer Report Error Discuss

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

2 2830