Time Left - 15:00 mins

NIELIT STQC 2021 Quiz-39

Attempt now to get your rank among 123 students!

Question 1

Consider a Binary tree, whose root is at level 1. Each level ‘i’ of it subsequently has exactly ‘i’ nodes. The height of such a Binary tree, having a total of “n” elements is

Question 2

Consider the following graph


Which of the following is NOT a valid topological sort sequence

Question 3

Which of the following is correct about self-relocating program?

Question 4

Consider a scenario where packetization needs to be implemented, where

3 hops to reach the destination

Data available= 1000 Bytes

Header size, H= 100 B

Bandwidth, Bw = 10 Bps and neglect the propagation time.

which of the following packet size will result in less total time delay?

Question 5

Consider the heap tree (max heap):

After two deletion operation, which of the following max heap are valid:
1. 20, 8, 19, 7, 6, 9, 3, 1, 2
2. 20, 19, 8, 7, 6, 3, 9, 1, 2
3. 20, 8, 19, 7, 6, 9, 1, 3, 2
4. 20, 19, 8, 7, 6, 9, 3, 1, 2

Question 6

Consider a relation Employees and assertion A be declared by the following:

CREATE TABLE Employees (

Name CHAR (50) PRIMARY KEY,

dept CHAR (20),

salary INT

);

CREATE ASSERTION A CHECK (‘’Toy’ IN (

SELECT dept

FROM Employees

GROUP BY dept

HAVING AVG (salary) 50000)

);

Which of the following best describes the constraints enforce by this assertion?

Question 7

Let G be a graph with p vertices and q edges. Suppose degree of each vertex is n or n + 1. If number of vertices with degree n is x, then x = _____ .

Question 8

Consider the following function:

Which of the following is true?

Question 9

What are the eigen values of matrix given below:

A =

Question 10

Matrix multiplication is associative if _____ condition satisfied
  • 123 attempts
  • 1 upvote
  • 0 comments
Oct 12GATE & PSU CS