1.

Let n be some integer greater than 1,then floor((n-1)/n) is 1.(a) True(b) FalseThis question was addressed to me in an online interview.Question is taken from Floor and Ceiling Function topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct option is (b) False

Explanation: Since (n-1)/n will always be LESS than one THUS f floor((n-1)/n) is 0.



Discussion

No Comment Found

Related InterviewSolutions