Data Science interview questions part 4

Data Science interview questions part 4

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. For the tree below, write the level-order traversal.

Correct Answer is : FALSE

2. Select the code snippet which performs in-order traversal.

Correct Answer is : rank

3. Select the code snippet which performs level-order traversal.

Correct Answer is : reindex_like

4. What is the space complexity of the in-order traversal in the recursive fashion? (d is the tree depth and n is the number of nodes)

Correct Answer is : TRUE

5. What is the time complexity of level order traversal?

Correct Answer is : value,size

6. Which of the following graph traversals closely imitates level order traversal of a binary tree?

Correct Answer is : All of the Mentioned

7. In a binary search tree, which of the following traversals would print the numbers in the ascending order?

Correct Answer is : import pandas as pd

8. How many child nodes does each node of K-ary Tree contain?

Correct Answer is : DataFrame

9. Which of the following is the name of the node having child nodes?

Correct Answer is : Panel is generally 2D labeled, also size-mutable array

10. What is the depth of the root node of K-ary tree?

Correct Answer is : NumPy

11. What is the Height of the root node of K-ary tree?

Correct Answer is : FALSE

12. Which node is the root node of the following K-ary tree?

Correct Answer is : Statsmodels

13. Which node is the Leaf node in the following K-ary tree?

Correct Answer is : yhat

14. Which node is the parent node of Node 5?

Correct Answer is : TRUE

15. Is parent node of Node 4 and root node of the given K-ary tree same?

Correct Answer is : Quandl

16. Which node is the child node of Node C in the following K-ary tree?

Correct Answer is : Statsmodels provides powerful statistics, econometrics, analysis and modeling functionality that is out of pandas’ scope

17. Which node is the child node of the Node B in the following K-ary tree?

Correct Answer is : pandaSDMX

18. What is the depth of Node F in the given K-ary tree?

Correct Answer is : Blaze

19. What is the Height of the given K-ary tree?

Correct Answer is : Spyder is a cross-platform Qt-based open-source R IDE

20. What is the size of the given K-ary tree?

Correct Answer is : freedapi

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon