Time Left - 15:00 mins

NIELIT STQC 2021 Quiz-3

Attempt now to get your rank among 272 students!

Question 1

The mean and variance of a binomial distribution are 8, 2 respectively. Find n and p

Question 2

If the probability of an event is , then

Question 3

Given the data set:

The median of the above data set is:

Question 4

A class of 30 students occupy a classroom containing 5 rows of seats, with 8 seats in each row. If the students seat themselves at random, the probability that the sixth seat in the fifth row will be empty is

Question 5

A partial ordered relation is transitive, reflexive and

Question 6

Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.

Question 7

Ring counter is analogous to

Question 8

Which of the following is operator precedence grammar

1) E E + E |E * E | id

2) S A+B; A a; B b | ϵ

Question 9

What is the correct way to round off x, a float, to an int value

Question 10

Which of the following is correct regarding the below C-code?

int main()

{

int n;

for (n = 9; n != 0; n--)

printf("%d", n--);

}

  • 272 attempts
  • 0 upvotes
  • 0 comments
Jun 18GATE & PSU CS