VU PHY-101 Online Test Preparation

image
image
image

PHY-101 Quiz OnlineTest

PHY-101 Quiz OnlineTest

Try the PHY-101 Quiz OnlineTest.

  • Total Questions20

  • Time Allowed20

Start Test

PHY-101 Quiz OnlineTest

00:00
Question # 1

_____ only removes items in reserve order as they were entered

Question # 2

A complete binary tree of height 3 has between ________ nodes.

Question # 3

Every AVL is

Question # 4

Which of the following statement is NOT true about find operation :

Question # 5

The _______ method of list will position the currentNode and lastCurrentNode at the start of the list.

Question # 6

There is/are ________ case/s for rotation in an AVL tree,

Question # 7

I have implemented the queue with a linked list, keeping track of a front pointer and a rear pointer. Which of these pointers will change during an insertion into an EMPTY queue?

Question # 8

Suppose we have a hash table whose hash function is "n% 12",if the number 35 is already in the hash table which of the following numbers would cause a collision ?

Question # 9

While building Huffman encoding tree the new node that is the result of joining two nodes has the frequency.

Question # 10

If a max heap is implemented using a partially filled array called data, and the array contains n elements (n > 0), where is the entry with the greatest value?

Question # 11

Consider a min heap, represented by the following array: 3,4,6,7,5,10 After inserting a node with value 1.Which of the following is the updated min heap?

Question # 12

A complete binary tree us a tree that is ___ filled with the possible exception of the bottom level.

Question # 13

Here is a small function definition: void f(int i, int &k) { i = 1; k = 2; } Suppose that a main program has two integer variables x and y, which are given the value 0. Then the main program calls f(x,y); What are the values of x and y after the function f finishes?

Question # 14

Consider the following paragraph with blanks. A …….…….. is a linear list where …………… and ………… take place at the same end . This end is called the …….………. What would be the correct filling the above blank positions?

Question # 15

_________ is a data structure that can grow easily dynamically at run time without having to copy existing elements.

Question # 16

Suppose that a selection sort of 100 items has completed 42 iterations of the main loop. How many items are now guaranteed to be in their final spot (never to be moved again)?

Question # 17

Suppose we are sorting an array of eight integers using quick sort ,and we have just finished the first partitioning with the array looking like this
2 5 1 7 9 12 11 10
Which statement is correct?

Question # 18

What is the formula of approixation for the depth of a heap with n nodes?

Question # 19

A kind of expression where the operator is present between two operands called ________ expressions .

Question # 20

Double link list is always has one NULL pointer

Submit

Prepare All PHY-101 Quiz OnlineTest MCQs With Answers


Here you can prepare phy-101 Test. Click the button for phy-101 100% free full practice test.

Top Scorers of PHY-101 Quiz OnlineTest

  • J
    junaid wali 13 - Jul - 2024 05 Min 57 Sec 11/20

Test Questions