Questions

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 2666
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:

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

Operating system is an example of

A) Application software B) System software
C) Both A & B D) None of the above
 
Answer & Explanation Answer: B) System software

Explanation:

A computer software are of two types. They are :

1. System software

2. Application software

 

Systems software includes the operating system and all the utilities that enable the computer to function. 

 

Application software includes programs that do real work for users.

 

Hence, Operating system is an example of system software.

Report Error

View Answer Report Error Discuss

4 2665
Q:

Which of these liquids has the highest viscosity?

A) Milk B) Syrup
C) Pineapple juice D) Water
 
Answer & Explanation Answer: B) Syrup

Explanation:

The viscosity of a fluid is a measure of its resistance to deformation at a given rate. For liquids, it corresponds to the informal concept of "thickness".

Here in the given options, syrup has the highest viscosity.

Report Error

View Answer Report Error Discuss

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

3 2664
Q:

First country to appoint Lokpal or equivalent to a Lokpal is ________.

A) Brazil B) Burma
C) Sweden D) India
 
Answer & Explanation Answer: C) Sweden

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2664
Q:

Removal of oil and grease from sewage [waste water]

A) Skimming B) Filtration
C) Screening D) None of the above
 
Answer & Explanation Answer: A) Skimming

Explanation:

Skimming is the removal of any material or particles that are floating on the surface. Hence, Removal of oil and grease from sewage - waste water is called as skimming.

Report Error

View Answer Report Error Discuss

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

4 2664