Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : PROGRAMMING, DATA STRUCTURES AND ALGORITHMS USING PYTHON (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Solution
Solution
Solution
Consider the following statements:
1. Cross edges cannot occur in the DFS of an undirected graph
2. DFS of a directed graph always produces the same number of tree edges independent of the node selected as the source.
3. If at least one topological order exists for a directed graph, then the DFS of that graph will not produce any back edges.
Which of the given statement(s) is/aretrue?
1. Cross edges cannot occur in the DFS of an undirected graph
2. DFS of a directed graph always produces the same number of tree edges independent of the node selected as the source.
3. If at least one topological order exists for a directed graph, then the DFS of that graph will not produce any back edges.
Which of the given statement(s) is/aretrue?
Solution
A binary search tree in which every node has either 0 or 2 children is referred as strictly binary tree. Such a tree with 25 leaves _________________.
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Consider the characterse, f, s, m, phave probability of occurrence 1/2, 1/4, 1/8, 1/16, 1/32 respectively in a text. IfHuffman encodingis used to compress the text, then what will be the
average number of bits required per character in the compressed text ?
average number of bits required per character in the compressed text ?
Solution
Solution
Solution
Which of the following combination of input text T and pattern P will exhibit the worst case running time behavior forBoyer-Moore skipping heuristic?
Solution
Which of the following sorting algorithm will have the same time complexity irrespective of the sequence of elements they are sorting?
Solution
Which of the following statement(s) is/aretrue?
Solution
Which of the following is/are true aboutAVL Tree? Assume that the height of the empty tree is 0.
Solution
Consider the following statements and choose the correct ones.
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors