Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

101.

Which of the following sequeces in GP will have common ratio 3, where n is an Integer?(a) gn = 2n^2 + 3n(b) gn = 2n^2 + 3(c) gn = 3n^2 + 3n(d) gn = 6(3^n-1)I had been asked this question in an online quiz.This interesting question is from Geometric Sequences in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct choice is (d) gn = 6(3^n-1)

For EXPLANATION I WOULD say: gn = 6( 3^n-1) it is a geometric EXPRESSION with coefficient of constant as 3^n-1.So it is GP with common RATIO 3.

102.

Let the sequence be 2, 8, 32, 128,……… then this sequence is _______________(a) An arithmetic sequence(b) A geometic progression(c) A harmonic sequence(d) None of the mentionedI got this question in homework.I'd like to ask this question from Geometric Sequences topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The CORRECT ANSWER is (b) A geometic progression

Explanation: The RATIO of any TERM with previous term is same.

103.

If a, b, c are in APthen relation between a, b, c can be _________(a) 2b = 2a + 3c(b) 2a = b + c(c) 2b = a + c(d) 2c = a + cI got this question during an online exam.The question is from Arithmetic Sequences in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct CHOICE is (c) 2b = a + c

Easiest EXPLANATION: The TERM B should be the airthmetic mean of of term a and c.

104.

Let the sum of the 3 consecutive terms in AP be 180 then midlle of those 3 terms would be ________(a) 60(b) 80(c) 90(d) 179The question was asked in an interview for job.This key question is from Arithmetic Sequences in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct choice is (a) 60

Easy EXPLANATION: Let a1, b1, C1 be three TERMS, then a1 + b1 + c1 = 180, a1 + c1 = 2b1(A M property), 3B1 = 180, b1=60.

105.

A series can either be AP only or GP only or HP only but not all at the same time.(a) True(b) FalseThe question was posed to me in my homework.My query is from Arithmetic Sequences topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct CHOICE is (B) False

Easiest explanation: 1, 1, 1, 1, 1…….. is AP, GP and HP series.

106.

Which of the following sequeces in AP will have common difference 3, where n is an Integer?(a) an = 2n^2 + 3n(b) an = 2n^2 + 3(c) an = 3n^2 + 3n(d) an = 5 + 3nI had been asked this question by my college professor while I was bunking the class.Asked question is from Arithmetic Sequences in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»
107.

Let the sequence be 1, 3, 5, 7, 9……… then this sequence is ____________(a) An arithmetic sequence(b) A geometric progression(c) A harmonic sequence(d) None of the mentionedThis question was addressed to me in homework.My question is taken from Arithmetic Sequences topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT option is (a) An ARITHMETIC sequence

To elaborate: The difference in any TERM with the PREVIOUS term is same.
108.

Let f(x) = x then number of solution to f(x) = f ^-1(x) is zero.(a) True(b) FalseThe question was asked in my homework.My doubt stems from Inverse of a Function topic in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» CORRECT option is (B) False

Best EXPLANATION: Since inverse of a function is the mirror IMAGE of function in line y = x, therefore in this case INFINTE solution will exist.
109.

If f is a function defined from R to R, is given by f(x) = x^2 then f ^-1(x) is given by?(a) 1/(3x-5)(b) (x+5)/3(c) does not exist since it is not a bijection(d) none of the mentionedI got this question during an interview for a job.Question is from Inverse of a Function in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The CORRECT option is (c) does not exist SINCE it is not a bijection

To explain: It is not a ONE one FUNCTION HENCE Inverse does not exist.

110.

The solution to f(x) = f ^-1(x) are __________(a) no solutions in any case(b) same as solution to f(x) = x(c) infinite number of solution for every case(d) none of the mentionedI have been asked this question in an interview for internship.The query is from Inverse of a Function topic in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT answer is (b) same as solution to f(X) = x

To EXPLAIN: Inverse of a function is the mirror image of function in line y = x.
111.

For any function fof ^-1(x) is equal to?(a) x(b) 1(c) x^2(d) none of the mentionedI had been asked this question in a national level competition.I want to ask this question from Inverse of a Function topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct CHOICE is (a) X

The EXPLANATION: COMPOSTION of a function with its inverse gives x.

112.

f(x) is a bijection than f ^-1(x) is a mirror image of f(x) around y = x.(a) True(b) FalseThe question was posed to me in an internship interview.Enquiry is from Inverse of a Function in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»
113.

If f is a function defined from R to R, is given by f(x) = 3x – 5 then f ^–1(x)is given by __________(a) 1/(3x-5)(b) (x+5)/3(c) does not exist since it is not a bijection(d) none of the mentionedThe question was asked during an interview.Enquiry is from Inverse of a Function in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct CHOICE is (B) (x+5)/3

Explanation: y = 3x-5, x = (y+5)/3, F ^-1(x) = (x+5)/3.

114.

For some bijective function inverse of that function is not bijective.(a) True(b) FalseThe question was posed to me in exam.Origin of the question is Inverse of a Function in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The CORRECT OPTION is (b) False

Easy EXPLANATION: If F(x) is a bijection than f ^-1(x) is also a bijection.

115.

A function f(x) is defined from A to B then f ^-1 is defined __________(a) from A to B(b) from B to A(c) depends on the inverse of function(d) none of the mentionedI got this question during an online interview.My question is based upon Inverse of a Function in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct answer is (b) from B to A

To explain I would SAY: Inverse ASSOCIATE each element in B with corresponding element in A.

116.

If f(x) = y then f^-1(y) is equal to __________(a) y(b) x(c) x^2(d) none of the mentionedThe question was asked in my homework.I need to ask this question from Inverse of a Function in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»
117.

For an inverse to exist it is necessary that a function should be __________(a) injection(b) bijection(c) surjection(d) none of the mentionedThe question was asked by my school principal while I was bunking the class.My question comes from Inverse of a Function in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct CHOICE is (B) bijection

To explain: Inverse EXIST only for those functions which are ONE one and ONTO.

118.

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.

119.

If X = Floor(X) = Ceil(X) then __________(a) X is a fractional number(b) X is a Integer(c) X is less than 1(d) none of the mentionedThe question was asked in an interview for internship.This key question is from Floor and Ceiling Function topic in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Right OPTION is (B) X is a Integer

To EXPLAIN I would say: Only in case of integersX = Floor(X) = Ceil(X) holds GOOD.

120.

If x, and y are positive numbers both are less than one, then maximum value of ceil(x + y) is?(a) 0(b) 1(c) 2(d) -1This question was posed to me in an interview for job.I'm obligated to ask this question of Floor and Ceiling Function topic in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct CHOICE is (c) 2

For explanation I WOULD say: Since X < 1 and y < 1 this implies x + y < 2 which MEANS maximum value of ceil(x + y) is 2.

121.

If x, and y are positive numbers both are less than one, then maximum value of floor(x + y) is?(a) 0(b) 1(c) 2(d) -1The question was asked at a job interview.My doubt stems from Floor and Ceiling Function topic in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT answer is (b) 1

Explanation: SINCE X < 1 and y < 1 this implies x + y < 2 which means maximium VALUE of floor(x + y) is 1.
122.

For some number x, Floor(x)

Answer» RIGHT choice is (a) True

Explanation: FLOOR FUNCTION f(x) is the largest INTEGER not greater than x and CEIL function f(x) is the smallestinteger not less than x.
123.

For some integer n such that x < n < x + 1, ceil(x) < n.(a) True(b) FalseI have been asked this question during an interview.My question is taken from Floor and Ceiling Function topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Right answer is (B) False

Best explanation: IFX < N < X + 1then CEIL(x) = n.

124.

Floor(2.4) + Ceil(2.9) is equal to __________(a) 4(b) 6(c) 5(d) none of the mentionedThe question was asked in an online quiz.The above asked question is from Floor and Ceiling Function topic in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Right CHOICE is (c) 5

The EXPLANATION: Floor(2.4) = 2, Ceil(2.9) = 3, 2 + 3 = 5.

125.

A ceil function map a real number to __________(a) smallest previous integer(b) greatest previous integer(c) smallest following integer(d) none of the mentionedThe question was posed to me in an online interview.My doubt is from Floor and Ceiling Function topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct choice is (C) smallest following integer

Explanation: CEIL FUNCTION f(x) is the smallestinteger not LESS than x.

126.

A function f(x) is defined as f(x) = x – [x], where [.] represents GIF then __________(a) f(x) will be intergral part of x(b) f(x) will be fractional part of x(c) f(x) will always be 0(d) none of the mentionedThe question was asked during an internship interview.My question is based upon Floor and Ceiling Function topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The CORRECT CHOICE is (b) f(x) will be FRACTIONAL PART of x

Explanation: A integral part of a number is subtracted from that number we are left with the fractional part of that number.

127.

A floor function map a real number to ___________(a) smallest previous integer(b) greatest previous integer(c) smallest following integer(d) none of the mentionedThis question was posed to me in quiz.This intriguing question originated from Floor and Ceiling Function in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT answer is (B) greatest previous integer

The explanation: FLOOR FUNCTION f(x) is the largest integer not greater than x.
128.

A bijection is a function which is many-one and onto.(a) True(b) FalseThis question was posed to me at a job interview.My query is from Number of Functions in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct option is (B) False

Easy explanation: A BIJECTION is a FUNCTION which is one-one(INJECTION) and ONTO(surjection).

129.

A function is defined by mapping f : A → B such that A contains m elements and B contains n elements and 1≤n≤m then number of onto functions are ________(a) r=1∑^r=n ^nCr (-1)^n-r r^m(b) r=1∑^r=n ^nCr (-1)^n-r r^n(c) r=1∑^r=n ^nCr (-1)^m-r r^n(d) None of the mentionedI have been asked this question in unit test.The above asked question is from Number of Functions topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» CORRECT answer is (a) r=1∑^r=N ^NCR (-1)^n-r r^m

Explanation: The number of onto function is equal tpo the COFFECIENT of x^m in m!(e^x – 1)n.
130.

A function is defined by mapping f:A→B such that A contains m elements and B contains n elements and m > n then number of bijections are ________(a) ^nCm x m!(b) ^nCm x n!(c) 0(d) none of the mentionedThis question was addressed to me by my college professor while I was bunking the class.This interesting question is from Number of Functions topic in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»
131.

Set A has 3 elements and set B has 4 elements then number of injections defined from A to B are?(a) 12(b) 24(c) 36(d) 48I have been asked this question during an interview.Enquiry is from Number of Functions in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT OPTION is (b) 24

To explain: Injections will be ^4C3 X 3!=24.
132.

Onto function are known as injection.(a) True(b) FalseThe question was asked during an online interview.This is a very interesting question from Number of Functions in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct OPTION is (b) False

The EXPLANATION: Onto functions are KNOWN as SURJECTION.

133.

A function is defined by mapping f : A -> B such that A contains m elements and B contains n elements and m>n then number of one one functions are ________(a) ^nCm x m!(b) ^nCm x n!(c) 0(d) none of the mentionedI had been asked this question during an internship interview.My query is from Number of Functions topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct choice is (c) 0

Easy explanation: Since for function to be defined every element should have a IMAGE, since m > N atleast one element need to have same image, thus we can’t form any unique images and hence the NUMBER of one one function are ZERO.

134.

For an onto function range is equivalent to codomain.(a) True(b) FalseI have been asked this question during an interview.Question is from Number of Functions topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct ANSWER is (a) True

Easiest explanation: Since in onto function EVERY image should have PREIMAGE thus all the ELEMENTS in codomain should have preimages.

135.

A function is defined by mapping f : A → B such that A contains m elements and B contains n elements and m ≤ n then number of one one functions are _________(a) ^nCm x m!(b) ^nCm x n!(c) 0(d) none of the mentionedI got this question by my college director while I was bunking the class.The above asked question is from Number of Functions in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct CHOICE is (a) ^NCM x m!

For explanation: From N elements in B we need to select m elements and then arrange them in all WAYS, thusanswer=^nCm x m!.

136.

A mapping f : X → Y is one one if __________(a) f(x1) ≠ f(x2) for all x1, x2 in X(b) If f(x1) = f(x2) then x1 = x2 for all x1, x2 in X(c) f(x1) = f(x2) for all x1, x2 in X(d) None of the mentionedI got this question in an international level competition.I want to ask this question from Number of Functions topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct choice is (B) If f(X1) = f(X2) then x1 = x2 for all x1, x2 in X

The explanation is: In one one function EVERY element in A should have UNIQUE image in B,thus if two image are equal this means there preimages are same.

137.

An injection is a function which is?(a) many-one(b) one-one(c) onto(d) none of the mentionedThe question was posed to me during an online exam.The query is from Number of Functions in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»
138.

Let f(x)=sin^2(x) + log(x) then domain of f(x) is (-∞, ∞).(a) True(b) FalseThe question was posed to me during a job interview.This is a very interesting question from Domain and Range of Functions in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT option is (b) False

The best I can explain: DOMAIN is (0, ∞), since log(X) is not defined for negative numbers and zero.
139.

If f(x) = x^2 + 4 then range of f(x) is given by?(a) [4, ∞)(b) (-∞, ∞) – {0}(c) (0, ∞)(d) None of the mentionedThis question was addressed to me during an online exam.I'd like to ask this question from Domain and Range of Functions in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» RIGHT option is (a) [4, ∞)

To EXPLAIN: Since minimum VALUE of x^2 is 0, THUS x^2 +4 may take any value between [4,∞).
140.

If f(x) = 2^x then range of the function is?(a) (-∞, ∞)(b) (-∞, ∞) – {0}(c) (0, ∞)(d) None of the mentionedI have been asked this question during an online interview.Enquiry is from Domain and Range of Functions in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct option is (c) (0, ∞)

The explanation: The function cannot take NEGATIVE values,HENCE RANGE is (0, ∞).

141.

What is range of function f(x) = x^-1 which is defined everywhere on its domain?(a) (-∞, ∞)(b) (-∞, ∞) – {0}(c) [0, ∞)(d) None of the mentionedThis question was posed to me during a job interview.My question comes from Domain and Range of Functions in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Right answer is (a) (-∞, ∞)

The EXPLANATION is: FUNCTION x^-1 may take any real number hence it’s RANGE is all real NUMBERS.

142.

Codomain is the subset of range.(a) True(b) FalseThe question was asked during an online exam.I'd like to ask this question from Domain and Range of Functions topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct ANSWER is (b) False

To EXPLAIN I would say: Range is the SUBSET of CODOMAIN, that is every value in the range is in codomain but vice-versa it is not TRUE.

143.

The range of function f(x) = sin(x) is (-∞, ∞).(a) True(b) FalseThis question was addressed to me in my homework.My question is taken from Domain and Range of Functions topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The correct OPTION is (B) False

Easiest EXPLANATION: A sine function takes values between -1 and 1,THUS range is [-1, 1].

144.

What is domain of function f(x) = x^-1 for it to be defined everywhere on domain?(a) (2, ∞)(b) (-∞, ∞) – {0}(c) [0, ∞)(d) None of the mentionedThe question was asked in an interview.Query is from Domain and Range of Functions topic in division Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

The CORRECT option is (B) (-∞, ∞) – {0}

The explanation is: FUNCTION x^-1 is not defined for x=0, otherwise it defined for every real number.

145.

What is the range of a function?(a) the maximal set of numbers for which a function is defined(b) the maximal set of numbers which a function can take values(c) it is set of natural numbers for which a function is defined(d) none of the mentionedThe question was asked in an international level competition.My question is based upon Domain and Range of Functions topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct answer is (B) the maximal set of numbers which a function can take VALUES

Easy EXPLANATION: Range is the set of all values which a function may take.

146.

What is domain of function f(x)= x^1/2?(a) (2, ∞)(b) (-∞, 1)(c) [0, ∞)(d) None of the mentionedI had been asked this question during an interview.Enquiry is from Domain and Range of Functions topic in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»
147.

What is the domain of a function?(a) the maximal set of numbers for which a function is defined(b) the maximal set of numbers which a function can take values(c) it is a set of natural numbers for which a function is defined(d) none of the mentionedI had been asked this question during a job interview.I want to ask this question from Domain and Range of Functions topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct answer is (a) the maximal set of numbers for which a FUNCTION is defined

Best EXPLANATION: DOMAIN is the set of all the numbers on which a function is defined. It MAY be REAL as well.

148.

The big-Omega notation for f(x) = 2x^4 + x^2 – 4 is?(a) x^2(b) x^3(c) x(d) x^4I had been asked this question in an international level competition.I need to ask this question from The Growth of Functions in chapter Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» CORRECT answer is (d) x^4

To ELABORATE: 2x^4 + x^2 – 4 is GREATER than or EQUAL to x^4.
149.

The big-O notation for f(x) = 5logx is?(a) 1(b) x(c) x^2(d) x^3This question was addressed to me in final exam.My question is from The Growth of Functions in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer» CORRECT choice is (B) x

Explanation: logx < x, it FOLLOWS that 5logx < x.
150.

The big-O notation for f(n) = 2log(n!) + (n^2 + 1)logn is?(a) n(b) n^2(c) nlogn(d) n^2lognI have been asked this question during an online interview.I want to ask this question from The Growth of Functions in section Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics

Answer»

Correct answer is (d) n^2logn

Easy EXPLANATION: LOG(n!) < n^2logn, it follows that 2LOG(n!) + (n^2 + 1)logn is less than or equal n^2logn.