DSSSB TGT / PGT · Computer Science

Discrete Mathematics Previous Year Questions (page 2)

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

  • 65 questions
  • Official answer key
  • Free

Other Computer Science topics

Q51DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
C++ provides inline functions to facilitate a reduced function call overhead mainly for ______.
  1. Anon-member functions
  2. Blibrary functions
  3. Csmall functions
  4. Dlarge functions
Show answerHide answer

Correct answer: (C) small functions

Explanation

Inline functions put the function body at the call site, which removes call overhead. This is useful mainly for small, frequently called functions.

Q52DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)
A tlu•ee-variable function (A B C)' =?
  1. A(A ⊙ B ⊙ C)'
  2. BA ⊕ B ⊙ C'
  3. CA ⊙ B ⊕ C
  4. DA ⊕ B ⊙ C
Show answerHide answer

Correct answer: (D) A ⊕ B ⊙ C

Explanation

Complementing one input of an XOR complements the whole result: A ⊕ (B ⊙ C) = A ⊕ (B ⊕ C)' = (A ⊕ B ⊕ C)'. That is the complement of the three-variable function.

Q53DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)
The values of x are I, 3, 4 and those off(x) are I, 27, 64. What is the polynomial equation by using the Lagrange interpolation formula?
  1. A8x² − 19x + 12
  2. B8x² + 9x + 12
  3. C8x² − 9x + 12
  4. D8x² + 9x + 12
Show answerHide answer

Correct answer: (A) 8x² − 19x + 12

Explanation

Check 8x² − 19x + 12: at x = 1 it gives 1, at x = 3 it gives 72 − 57 + 12 = 27, and at x = 4 it gives 128 − 76 + 12 = 64. It matches all three points.

Q54DSSSB TGT Computer Science, 7 Feb 2024, Shift 2 (12:30 PM)
Which of the following printer is type of impact printer?
  1. AInk-Jet
  2. BLaser
  3. CDot matrix
  4. DT hermal
Show answerHide answer

Correct answer: (C) Dot matrix

Explanation

A dot matrix printer strikes pins against an inked ribbon, so it is an impact printer. Inkjet, laser and thermal printers are non-impact.

Q55DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
Who invented the probability definition?
  1. AEuclid
  2. BSimon Laplace
  3. CEinstein
  4. DNone of the given answer
Show answerHide answer

Correct answer: (C) Einstein

Explanation

Note: the answer key gives (C), but Einstein had nothing to do with it. The classical definition of probability (favourable cases ÷ total equally likely cases) was given by Pierre-Simon Laplace.

Q56DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
Which of the following are matrix types? Types: i) Row matrix ii) Column matrix iii) Square matrix iv) Null matrix v) Diagonal matrix vi) Case matrix
  1. Ai and ii only
  2. Bi, ii and in only
  3. Ci, ii, in, iv and v only
  4. Di, in and vi only
Show answerHide answer

Correct answer: (C) i, ii, in, iv and v only

Explanation

Row, column, square, null and diagonal are standard types of matrix. There is no "case matrix", so i, ii, iii, iv and v are correct.

Q57DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
Interpolation is a method of:
  1. AInterrelating
  2. BEstimating
  3. CIntegrating
  4. Dcombining
Show answerHide answer

Correct answer: (B) Estimating

Explanation

Interpolation is a method of estimating unknown values that lie between known data points.

Q58DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
What will be the probability that the selected number is a multiple of 3 and 4, if a number is selected at random from the first 50 natural numbers?
  1. ANone of the given options
  2. B2/25
  3. C4/25
  4. D7/50
Show answerHide answer

Correct answer: (B) 2/25

Explanation

A multiple of both 3 and 4 is a multiple of 12. From 1 to 50 these are 12, 24, 36 and 48, so P = 4/50 = 2/25.

Q59DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
______ is/are a function of e-Commerce.
  1. AMarketing
  2. BFinance, supply chain and marketing
  3. CFinance
  4. DSupply chain
Show answerHide answer

Correct answer: (B) Finance, supply chain and marketing

Explanation

E-commerce supports several business functions, including marketing, finance (online payments) and supply chain management.

Q60DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)
The primary function of ICMP is ______.
  1. Aerror and diagnostic functions
  2. Bforwarding
  3. Crouting
  4. Daddressing
Show answerHide answer

Correct answer: (A) error and diagnostic functions

Explanation

ICMP is used for error reporting and diagnostics, such as "destination unreachable" and "time exceeded", and by ping and traceroute.

Q61DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)
In order to move objects in computer graphics that generate animation effects which of the following is necessary?
  1. AVarious transformation operations
  2. BLine rasterisation sequencing
  3. CPhong model of lighting
  4. DEigen value computations
Show answerHide answer

Correct answer: (A) Various transformation operations

Explanation

Animation moves objects by applying geometric transformations frame by frame: translation, rotation and scaling, usually as matrix operations. Rasterisation and lighting models only affect how each frame is drawn.

Q62DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)
Which method creates interpolants that are softer?
  1. APolynomial and spline interpolation
  2. BPiecewise constant interpolation
  3. CPolynomial interpolation
  4. DLinear interpolation and spline interpolation
Show answerHide answer

Correct answer: (B) Piecewise constant interpolation

Explanation

Piecewise constant (nearest-neighbour) interpolation simply gives each point the value of the nearest data point, so it is the simplest and least demanding interpolant. The key treats this as the softer method. In terms of smoothness, spline interpolation gives the smoothest curves.

Q63DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)
Which probability calculus of views obeys particular rules?
  1. AStandard deviation
  2. BVariance
  3. CBayesian probability
  4. DFrequency probability
Show answerHide answer

Correct answer: (C) Bayesian probability

Explanation

In Bayesian probability, probability is a degree of belief or view held about an event, and these beliefs must obey the rules of probability calculus, with updates made by Bayes' theorem.

Q64DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)
Who invented the probability definition?
  1. ASimon Laplace
  2. BEuclid
  3. CNone of the given answer
  4. DEinstein
Show answerHide answer

Correct answer: (A) Simon Laplace

Explanation

Pierre-Simon Laplace gave the classical definition of probability: the ratio of favourable outcomes to the total number of equally likely outcomes.

Q65DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)
Identify the generic probability density function that corresponds with discrete random variables.
  1. ACumulative distribution
  2. BGaussian distribution
  3. CPoisson distribution
  4. DRayleigh distribution
Show answerHide answer

Correct answer: (C) Poisson distribution

Explanation

The Poisson distribution is a discrete distribution (given by a probability mass function) for counting events. Gaussian and Rayleigh are continuous distributions, and the CDF is not a density.

How to use these DSSSB TGT / PGT Computer Science questions

Every question here was asked in a real DSSSB TGT / PGT 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 DSSSB TGT / PGT papers as timed tests to check your speed under exam conditions.

More DSSSB TGT / PGT subjects