Questions

Q:

Which one of the following is a search engine?

A) Bing B) Reddit
C) Pinterest D) Twitter
 
Answer & Explanation Answer: A) Bing

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2667
Q:

Write a c program for binary search.

Answer

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

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

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

    printf("Enter the elements in ascending order: ");
    for(i=0;i<n;i++){
         scanf("%d",&a[i]);
    }

    printf("Enter the number to be search: ");
    scanf("%d",&m);

    l=0,u=n-1;
    while(l<=u){
         mid=(l+u)/2;
         if(m==a[mid]){
             c=1;
             break;
         }
         else if(m<a[mid]){
             u=mid-1;
         }
         else
             l=mid+1;
    }
    if(c==0)
         printf("The number is not found.");
    else
         printf("The number is found.");

    return 0;
}

Sample output:
Enter the size of an array: 5
Enter the elements in ascending order: 4 7 8 11 21
Enter the number to be search: 11
The number is found.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2667
Q:

What are the operating system components?

Answer

- Process management


- Main memory management


- File management


- I/O system management


- Secondary storage management


- Networking


- Protection system


- Command interpreter system

Report Error

View answer Workspace Report Error Discuss

2 2667
Q:

What command would you use to create a backup control file?

Answer

Alter database backup control file to trace

Report Error

View answer Workspace Report Error Discuss

3 2667
Q:

The Nobel Prize in Economics was started in

A) 1901 B) 1936
C) 1957 D) 1967
 
Answer & Explanation Answer: D) 1967

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

4 2666
Q:

Select the related word from the given alternatives.

Lion : Lioness :: Bull : ?

A) Animal B) Cow
C) Calf D) Dog
 
Answer & Explanation Answer: B) Cow

Explanation:
Report Error

View Answer Report Error Discuss

2 2666
Q:

Spongy, porous bone tissue is also called

A) Compact bone B) Bone fissure
C) Yellow bone marrow D) Cancellous bone
 
Answer & Explanation Answer: D) Cancellous bone

Explanation:

Spongy, porous bone tissue is also called cancellous bone.

 

Cancellous bone is found in bones that aren't generally under significant stress like in the shoulder blades, ribs, parts of the skull, and at the ends of long bones.

 

Report Error

View Answer Report Error Discuss

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

3 2666
Q:

Economic resources are also called

Answer

Economic resources include land, labour, capital and entrepreneurship. 


Entrepreneurship is also considered an economic resource because individuals are responsible for creating businesses and moving economic resources in the business environment.


 


These economic resources are also called as Factors of production.


 

Report Error

View answer Workspace Report Error Discuss

2 2665