Searching for "%"

Q:

What value does read() return when it has reached the end of a file?

A) 1 B) -1
C) 0 D) None
 
Answer & Explanation Answer: B) -1

Explanation:

It returns -1

Report Error

View Answer Report Error Discuss

Filed Under: Programming

Q:

What is Tri-state logic?

Answer

Three Logic Levels are used and they are High, Low, HIgh impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri-state logic has a third line called enable line.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

Q:

In 8085 which is called as High order / Low order Rigister?

Answer

Flag is called as Low order rigister & Accumulator is called as High order Rigister.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

Q:

Why crystal is a preferred clock source?

Answer

Because of high stability, large Q (Quality Factor) & the frequency that doesn't drift with aging. Crystal is used as a clock source most of the times.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

Q:

What are the flags in 8086?

Answer

In 8086 Carry flag, Parity flag, Ausiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sing flag.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

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