BPSC TRE · Computer Science

Discrete Mathematics Previous Year Questions

6 Discrete Mathematics (Computer Science) questions asked in BPSC TRE previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 6 questions
  • Official answer key
  • Free

Other Computer Science topics

Q1BPSC TRE 2.0 (2023) Computer Class 9-10
What is the scope of the variable declared in the user-defined function?
  1. AWhole program
  2. BOnly inside the { } block
  3. CInside the main function
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (B) Only inside the { } block

Explanation

A variable declared inside a function is local and visible only within that function's { } block.

Q2BPSC TRE 3.0 (2024) Computer Science Class 11-12
Which of the following is error detection code used in digital logic?
  1. AHamming code
  2. BCyclic redundancy check (CRC)
  3. CChecksum
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (D) More than one of the above

Explanation

Hamming code, CRC and checksum are all codes for detecting errors (Hamming can also correct them), so more than one option is correct.

Q3BPSC TRE 3.0 (2024) Computer Science Class 11-12
What is the purpose of the “don’t care” condition in digital logic?
  1. ATo indicate that the value of a variable does not affect the output
  2. BTo prioritize certain inputs over others
  3. CTo ensure that all possible input combinations are covered in truth tables
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (A) To indicate that the value of a variable does not affect the output

Explanation

A don't-care condition marks an input combination whose output value does not matter, so it can be taken as 0 or 1 to simplify a K-map.

Q4BPSC TRE 1.0 (2023) Computer Science Class 11-12
Which of the following is not a valid aggregate function?
  1. ACOUNT
  2. BCOMPUTE
  3. CSUM
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (B) COMPUTE

Explanation

COUNT, SUM, AVG, MIN and MAX are aggregate functions. COMPUTE is not a standard SQL aggregate function.

Q5BPSC TRE 1.0 (2023) Computer Science Class 11-12
The matrix contains m rows and n columns. The matrix is called Sparse Matrix if
  1. Atotal number of zero elements > (m × n)/2
  2. Btotal number of zero elements = m + n
  3. Ctotal number of zero elements = m / n
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (A) total number of zero elements > (m × n)/2

Explanation

A matrix is sparse when most of its elements are zero, meaning more than half of the m × n elements.

Q6BPSC TRE 2.0 (2023) Computer Science Class 11-12
The _____ measures the number of lost or garbled messages as a fraction of the total sent in the sampling period.
  1. Aresidual error rate
  2. Btransfer failure probability
  3. Cconnection release failure probability
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (A) residual error rate

Explanation

Residual error rate is the transport-layer QoS parameter for the fraction of messages lost or garbled out of all messages sent in the sampling period.

How to use these BPSC TRE Computer Science questions

Every question here was asked in a real BPSC TRE paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full BPSC TRE papers as timed tests to check your speed under exam conditions.

More BPSC TRE subjects