midterm past paper quiz
midterm past paper quiz

CS301 Midterm Past Paper

You have come here while searching for CS301 midterm past papers. But before going to download the CS301 midterm past paper. I have a better option for you. That is, that you can attempt the online quiz of CS301.

Practice Quiz from CS301 Midterm Past Paper

This quiz will evaluate your preparation for the CS301 midterm examination and it is based on the past papers of CS301. The purpose of this quiz is to evaluate your performance in this subject. If you can pass this quiz, then there is a great chance that you can secure good marks in your exams.

0%
0 votes, 0 avg
0

Your Time starts now.

Times Up.


Created on By faisal_faisi
midterm past paper quiz

CS301 Mid Term Past Papers Online Practice Quiz

Welcome to CS301 Midterm Online Practice Quiz.

You can check your preparation of CS301 for your Exams here.

1 / 30

Category: CS301-mid

1. (i) A binary tree can contain at least 2L Nodes at level L.
(ii) A complete binary tree of depth d is a binary tree that contains 2L Nodes at each level L between 0 and d, both inclusive.
(iii) The total number of nodes (Tn ) in a complete binary tree of depth d is 2 d+1- 1 .
(iv) The height of the complete binary tree can be written as h = log 2 (Tn+1)-1 where Tn is Total number of nodes.

Which one of the following is correct in respect of the above statements regarding the Binary trees?

2 / 30

Category: CS301-mid

2. A queue where the de-queue operation depends not on FIFO, is called a priority queue

3 / 30

Category: CS301-mid

3. Suppose currentNode refers to a node in a linked list (using the Node class with member variables called data and nextNode). What statement changes currentNode so that it refers to the next node?

4 / 30

Category: CS301-mid

4. What is the maximum depth of recursive calls a function may make?

5 / 30

Category: CS301-mid

5. The expression AB+C* is called?

6 / 30

Category: CS301-mid

6. Suppose we have a circular array implementation of the queue class, with ten items in the queue stored at data[2] through data[11]. The CAPACITY is 42, i.e., the array has been declared to be of size 42. Where does the push member function place the new entry in the array?

7 / 30

Category: CS301-mid

7. “+” is a _________operator.

8 / 30

Category: CS301-mid

8. The nodes with no successor are called _________

9 / 30

Category: CS301-mid

9. In which of the traversal method, the recursive calls can be used to traverse a binary tree ?

10 / 30

Category: CS301-mid

10. Which one of the following calling methods does not change the original value of the argument in the calling function?

11 / 30

Category: CS301-mid

11. Suppose n is the number of nodes in a complete Binary Tree then maximum steps required for a search operation are,

12 / 30

Category: CS301-mid

12. A tree is an AVL tree if

13 / 30

Category: CS301-mid

13. A tree is an AVL tree if

14 / 30

Category: CS301-mid

14. Which one of the following statement is NOT correct .

15 / 30

Category: CS301-mid

15. We access elements in AVL Tree in,

16 / 30

Category: CS301-mid

16. In the call by value methodology, a copy of the object is passed to the called function.

17 / 30

Category: CS301-mid

17. A queue where the de-queue operation depends not on FIFO, is called a priority queue

18 / 30

Category: CS301-mid

18. AVL Tree is,

19 / 30

Category: CS301-mid

19. Let’s call the node as that requires re-balancing. Consider the two cases given below:
1) An insertion into left sub tree of the left child of a
2) An insertion into right sub tree of the right child of a.
Which of the following statement is correct about these two cases?

20 / 30

Category: CS301-mid

20. Each node in doubly link list has,

21 / 30

Category: CS301-mid

21. The data of the problem is of 2GB and the hard disk is of 1GB capacity, to solve this problem we should

22 / 30

Category: CS301-mid

22. In the linked list implementation of the stack class, where does the push member function places the new entry
on the linked list?

23 / 30

Category: CS301-mid

23. Each operator in a postfix expression refers to the previous ________ operand(s)

24 / 30

Category: CS301-mid

24. Doubly Linked List always has one NULL pointer

25 / 30

Category: CS301-mid

25. 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?

26 / 30

Category: CS301-mid

26. _________ is a binary tree where every node has a value, every node's left subtree contains only values less
than or equal to the node's value, and every node's right subtree contains only values that are greater then or
equal?

27 / 30

Category: CS301-mid

27. Suppose that the class declaration of SomeClass includes the following function prototype bool LessThan( SomeClass anotherObject );
Which of the following tests in the client code correctly compares two class objects alpha and beta?

28 / 30

Category: CS301-mid

28. The tree data structure is a

29 / 30

Category: CS301-mid

29. When should you use a const reference parameter?

30 / 30

Category: CS301-mid

30. Which one is a self- referential data type?

Your score is

The average score is 0%

Share your results with your fellow students.

LinkedIn Facebook Twitter VKontakte
0%

Exit

Note before downloading CS301 midterm past paper

One thing to note dear fellows that you must don’t rely on these papers only. They can be a source of help but not an ultimate solution. If you want to get good marks in your exams you are advised to go through all of your handouts and must watch all of the video lectures.

CS301 Data Structures

CS301 Data Structures is main subject for programmers to understand the data structures used in different programming languages. If anyone having strong grip on this subject, definitely that student will prosper in programming.

Golden rules for good marks in VU Exams.

As per my experience, I have developed some golden rules for getting good marks in Virtual University Exams based on experience. I got 3.96 CGPA by following these rules. So here they are:

  1. Never miss your Quiz, Assignment, or GDB.
  2. Always try to do your Assignment on your own.
  3. Try your best to finish your video lectures 10 days before exams.
  4. Try your best to read your handouts twice before exams.
  5. Read forward attempt backward.
  6. Never schedule more than one paper on the same day.
  7. Your most difficult paper should have a gap of 1 or more days.
  8. Toughest paper must be scheduled first.
  9. Read questions forward and attempt backward.
  10. Don’t waste your time during a paper on illegal activities.

You can also download the Latest VU Handouts

To download the CS301 midterm past paper click here.