Questions

Q:

Write a c program for linear search.

Answer

#include<stdio.h>
int main(){

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

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

    printf("Enter the elements of the array: ");
    for(i=0;i<=n-1;i++){
         scanf("%d",&a[i]);
    }

    printf("Enter the number to be search: ");
    scanf("%d",&m);
    for(i=0;i<=n-1;i++){
         if(a[i]==m){
             c=1;
             break;
         }
    }
    if(c==0)
         printf("The number is not in the list");
    else
         printf("The number is found");

    return 0;
}

Sample output:
Enter the size of an array: 5
Enter the elements of the array: 4 6 8 0 3
Enter the number to be search: 0
The number is found

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 6797
Q:

Which of following sectors does NOT come under tertiary sector?

 

A) Electricity B) Business Services
C) Transport D) Trade
 
Answer & Explanation Answer: A) Electricity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

2 6795
Q:

What is the currency of Indonesia?

A) rupiah B) dinar
C) rangit D) riyal
 
Answer & Explanation Answer: A) rupiah

Explanation:

Currency of Indonesia is rupiah

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

30 6794
Q:

Who is the Indian Classical dancer credited with the first female dancer to learn Chhau form ?

Answer

Sonal Mansingh

Report Error

View answer Workspace Report Error Discuss

9 6791
Q:

The correct order of events during meiosis is

A) prophase I, metaphase I, anaphase I, telophase I, cytokinesis, meiosis II. B) anaphase I, telophase I, prophase I, cytokinesis, meiosis II.
C) cytokinesis, metaphase I, anaphase I, telophase I, D) telophase I, prophase I, cytokinesis, meiosis II, anaphase
 
Answer & Explanation Answer: A) prophase I, metaphase I, anaphase I, telophase I, cytokinesis, meiosis II.

Explanation:

The correct order of events during meiosis is:

prophase I,

metaphase I,

anaphase I,

telophase I,

cytokinesis, and

meiosis II.

Report Error

View Answer Report Error Discuss

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

3 6790
Q:

Which sample of matter is a mixture?

A) KBr (S) B) NaCl (L)
C) K (S) D) NaCl (Aq)
 
Answer & Explanation Answer: D) NaCl (Aq)

Explanation:

Mixtures are combination of two or more substances physically which can be separated in to the original.

Matter can be breakdown into two categories. 

1) Pure substances 

2) Mixtures

 

Here in the given options, options A, B, C are pure substances as they are indicated as S & L in brackets. Option D) is an aqueous solution, that can be dissolved in water.

Report Error

View Answer Report Error Discuss

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

7 6789
Q:

Select the antonym of

 

repatriation

A) abolition B) animation
C) cure D) invigoration
 
Answer & Explanation Answer: A) abolition

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 6787
Q:

Productivity is the combination of

A) efficiency and energy B) efficiency and effectiveness
C) efficiency and attitude D) effectiveness and resources
 
Answer & Explanation Answer: B) efficiency and effectiveness

Explanation:

Productivity is a result of the way that a business operates – the result of the way that its people, business processes, different functional units and suppliers come together to meet the needs and wants of its customers.

Productivity is the combination of intelligent planning and focused efforts and hence, it is a combination of Efficiency and Effectiveness.

Efficiency :


Efficiency is an internal measure of performance for companies that shows how well the company converts inputs into outputs. The more the ratio of outputs to inputs approaches 100 percent, the better the efficiency of the process will be. In simple terms, it is “doing things right” and comes from proper harnessing of time, cost and efforts.

Effectiveness :


Organizational effectiveness is an external measure of performance and indicates how well an organization fulfills the demands of various organizational stakeholders. Simply put, it is “doing the right things."

Report Error

View Answer Report Error Discuss

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

1 6782