Questions

Q:

' In CUstody ' , an english novels, is written by which one of the following

A) Vikram Seth B) Shoba De
C) Anita Desai D) VS.Naipaul
 
Answer & Explanation Answer: C) Anita Desai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

4 3793
Q:

If I use the following printf() to print a long int why I am not warned about the type mismatch?

printf ("%d",num );

Answer

When a function accepts a variable number of arguments , its prototype cannot provide any information about the number of arguments and type of those variable arguments. Hence the compiler cannot warn about the mismatches. The programmer must make sure that arguments match or must manually insert explicit typecast.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3791
Q:

Which state government has observed “Parents’ Worship Day” on February 14 ? 

A) Odisha B) Madhya Pradesh
C) Assam D) Chhattisgarh
 
Answer & Explanation Answer: D) Chhattisgarh

Explanation:

The 'Parents’ Worship Day' (or 'Matru-Pitru Diwas' ) is celebrated every year by the Chhattisgarh government on February 14 at all schools in the state to teach 'Bharatiya sanskriti' to students.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank PO

4 3791
Q:

Which of the following is true?

A) It is appropriate to use assertions to validate arguments to methods marked public B) It is appropriate to catch and handle assertion errors
C) It is NOT appropriate to use assertions to validate command-line arguments D) None
 
Answer & Explanation Answer: C) It is NOT appropriate to use assertions to validate command-line arguments

Explanation:

A is incorrect. It is acceptable to use assertions to test the arguments of private methods.

 

B is incorrect. While assertion errors can be caught, Sun discourages you from doing so.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 3788
Q:

Classify the Hashing Functions based on the various methods by which the key value is found.

Answer

Direct method,


 Subtraction method,


 Modulo-Division method,


 Digit-Extraction method,


 Mid-Square method,


 Folding method,


Pseudo-random method

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

5 3788
Q:

Missing Letter Challenge

18739822_1315678848539216_348955014883925877_n1499155394.jpg image

A) N B) K
C) L D) P
 
Answer & Explanation Answer: A) N

Explanation:
The alphabetical value of the letters in the left hand column follows through the sequence of Prime Numbers, with the letters in the right hand column representing the corresponding reverse alphabetical values. So,
 
M = Reverse of M = N.
Report Error

View Answer Report Error Discuss

Filed Under: Missing letters puzzles
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

8 3788
Q:

Dimond is

A) an element B) a compound
C) a mixture D) a liquid
 
Answer & Explanation Answer: A) an element

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3786
Q:

Which of the following national parks of India is also a UNESCO world heritage site ?

A) Keoladeo national park B) Jim Corbett national park
C) Namdapha national park D) Keibul Lamjao national park
 
Answer & Explanation Answer: A) Keoladeo national park

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

8 3786