Time Left - 05:00 mins
BARC CS 2018 Nuclear Quiz -1 (Algo)
Attempt now to get your rank among 656 students!
Question 1
A machine needs a minimum of 100 sec to sort 1000 names by quick sort. The minimum time needed to sort 100 names will be approximately _____ sec
Question 2
Consider the hashing table with ‘m’ slots and ‘n’ keys. If the expected number of probes in unsuccessful search is 3 then find the expected number of probes in a successful search.
Question 3
Consider the vertices and that are simultaneously on the function call stack at some point during the execution of depth-first search from vertex s in a digraph. Which of the following must be true?
I. There exist directed path from s to and directed path from s to .
II. There exist both a directed path from to and a directed path from to
III. If there is no directed path from to then there exist a directed path from to
Which of the above statements is/are true?
I. There exist directed path from s to and directed path from s to .
II. There exist both a directed path from to and a directed path from to
III. If there is no directed path from to then there exist a directed path from to
Which of the above statements is/are true?
Question 4
In tower of Hanoi we need 3 needles and 6 disks, how many total no of moves to solve this problem?
Question 5
Which of the following statement is false?
- 656 attempts
- 1 upvote
- 15 comments
Tags :
GATE & PSU CSAlgorithmsApr 5GATE & PSU CS