Time Left - 15:00 mins

NIELIT 2020 : Revision Quiz 28

Attempt now to get your rank among 594 students!

Question 1

Direction: Have a word followed by four answer choices. You will choose the word that is a necessary part of the word.

Simile

Question 2

elbow: arm : : knee : _________ 

Question 3

A can run 200 m in 35 seconds and B in 38 seconds. By what distance A beats B ?

Question 4

If a fair coin is tossed 5 times and comes up heads four times out of five. Then if the coin is tossed a sixth time under the same conditions, the probability of it turning up heads is :

Question 5

The Grammar can be defined as: G=(V, ∑, p, S)
In the given definition, what does S represents?


Question 6

Assume that the operators +, -, x are left associative and ^ is right associative. The order of precedence (from highest to lowest) is ^, x, +, -. The postfix expression corresponding to the infix expression
a + b x c – d ^ e ^ f is

Question 7

What is the correct HTML for adding a background color?

Question 8

A and B Throws alternatively a pair of dice. A wins if he throws a six before B throws 7, and B wins if he throws 7 before A throws 6. If A start the game, find the chances of winning of A.

Question 9

Study the following program:

//precondition: x>=0

public void demo(int x)

{

System.out.print(x % 10);

if (x % 10 != 0)

{

demo(x/10);

}

System.out.print(x%10);

}

Which of the following is printed as a result of the call demo(1234)?

Question 10

What is calloc() function used for?
  • 594 attempts
  • 0 upvotes
  • 6 comments
Nov 1GATE & PSU CS