Questions

Q:

Select the synonym of

 

swine

 

A) hog B) simple
C) immaculate D) shine
 
Answer & Explanation Answer: A) hog

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 6796
Q:

Which among the following statements are TRUE regarding synthetic fibre?

 

I. They melt after catching fire.

II. They are more durable.

III. They are prepared by a number of processes using petrochemicals.

 

A) Only I and II B) Only I and III
C) Only II and III D) All I, II and III
 
Answer & Explanation Answer: D) All I, II and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 6793
Q:

The prime meridian passes through

A) Paris B) Greenwich
C) New York D) Delhi
 
Answer & Explanation Answer: B) Greenwich

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

13 6793
Q:

In the following pieces of code, B and D will compile without any error. True or false ?

A: StringBuffer sb1 = "abcd";

B: Boolean b = new Boolean("abcd");

C: byte b = 255;

D: int x = 0x1234;

E: float fl = 1.2;

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

The code segments B and D will compile without any error. A is not a valid way to construct a StringBuffer, you need to create a StringBuffer object using "new". B is a valid construction of a Boolean (any string other than "true" or "false" to the Boolean constructor will result in a Boolean with a value of "false"). C will fail to compile because the valid range for a byte is -128 to +127 (i.e., 8 bits, signed). D is correct, 0x1234 is the hexadecimal representation in java. E fails to compile because the compiler interprets 1.2 as a double being assigned to a float (down-casting), which is not valid. You either need an explicit cast, as in "(float)1.2" or "1.2f", to indicate a float.

Report Error

View Answer Workspace Report Error Discuss

6 6790
Q:

Syadvad is a doctrine of

A) Lokayatism B) Saivism
C) Jainism D) Vaishnavism
 
Answer & Explanation Answer: C) Jainism

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

7 6789
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 6789
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 6787
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 6784