Searching for "M"

Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

What is a Microprocessor?

Answer

Microprocessor is a program-controlled device, which fetches the instructions from memory. decodes and executes the instructions. Most Micro Processors are single-chip devices.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

Q:

Vipin's and Javed's salaries are in the proportion of 4 : 3 respectively. What is Vipin's salary ?

I. Javed's salary is 75% that of Vipin's salary. 

II. Javed's salary is Rs 4500. 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data even in both the statements together are not sufficient to answer the question
 
Answer & Explanation Answer: B) If the data in statement II alone are sufficient answer the question

Explanation:

Statement I is merely an interpretation of the information contained in the question

However, Vipin's salary can be determined from statement II as follows

Let Vipin's and Javed's salaries be 4x and ax respectively.

Then, 3x = 4500 or x = 1500 Vipin's salary = 4x = Rs 6000.

Thus, II alone is sufficient. 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

How is B related to A ? 

I. A is B's sister. 

II. is the father of A and B. 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data even in both the statements together are not sufficient to answer the question
 
Answer & Explanation Answer: D) If the data even in both the statements together are not sufficient to answer the question

Explanation:

From statements I and II together, we can conclude only that either B is the sister or brother of A.

So, even from both the statements, the exact relation cannot be known. 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

In a certain code language, '297' means 'tie clip button'. Which number means 'button' ? 

I. In that language '926' means 'clip your tie'. 

II. In that language '175' means 'hole and button'. 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data even in both the statements together are not sufficient to answer the question
 
Answer & Explanation Answer: C) If the data either in I or II alone are sufficient to answer the question;

Explanation:

Comparing the information in the question with statement 1. we find that '2' and '9' are the codes for 'tie' and 'dip'. So, '7' represents 'button'.

Thus, I alone iS sufficient.

Again, comparing the information in the question with II, WO find that the common code number '7' stands for the common word 'button'.

Thus, II alone also is sufficient. 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

In a code, 'lee pee tin' means 'Always keep smiling'. What is the code for ? 

I. 'tin lut lee' means 'Always keep left'.

II. 'dee pee' means 'Rose smiling. 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data even in both the statements together are not sufficient to answer the question
 
Answer & Explanation Answer: C) If the data either in I or II alone are sufficient to answer the question;

Explanation:

Comparing the information in the question with I. we find that 'tin' and 'lee' are the codes for 'always' and 'keep'.

So. 'pee' represents 'smiling' Thus, I alone is sufficient Am.

comparing the information in the question with II, we find that the common code word 'pee' stands for the common word 'smiling'.

Thus, II alone is also sufficient 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

How many visitors saw the exhibition yesterday ?

I. Each entry pass holder can take up to three persons with him/her. 

II. In all, 243 passes were sold yesterday

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data even in both the statements together are not sufficient to answer the question
 
Answer & Explanation Answer: D) If the data even in both the statements together are not sufficient to answer the question

Explanation:

From the two statements, we find that maximum (243 x 3)  i.e, 729 visitors saw the exhibition, But the exact number cannot be determined  

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

Which of the following modifiers can be used with Local inner class?

A) Final or Abstract B) Final or Transcient
C) Abstract or Transcient D) Final or public
 
Answer & Explanation Answer: A) Final or Abstract

Explanation:

It can either be Final or Abstract

Report Error

View Answer Report Error Discuss

Filed Under: Java