CS301 Midterm Past Paper Online Practice Quiz

1059
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. Which one is a self- referential data type?

2 / 30

Category: CS301-mid

2. Each node in doubly link list has,

3 / 30

Category: CS301-mid

3. We access elements in AVL Tree in,

4 / 30

Category: CS301-mid

4. _________ 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?

5 / 30

Category: CS301-mid

5. Doubly Linked List always has one NULL pointer

6 / 30

Category: CS301-mid

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

7 / 30

Category: CS301-mid

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

8 / 30

Category: CS301-mid

8. Suppose currentNode refers to a node in a linked list (using the Node class with member variables called data and nextNode). What boolean expression will be true when cursor refers to the tail node of the list?

9 / 30

Category: CS301-mid

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

10 / 30

Category: CS301-mid

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

11 / 30

Category: CS301-mid

11. A tree is an AVL tree if

12 / 30

Category: CS301-mid

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

13 / 30

Category: CS301-mid

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

14 / 30

Category: CS301-mid

14. A tree is an AVL tree if

15 / 30

Category: CS301-mid

15. The expression AB+C* is called?

16 / 30

Category: CS301-mid

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

17 / 30

Category: CS301-mid

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

18 / 30

Category: CS301-mid

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

19 / 30

Category: CS301-mid

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

20 / 30

Category: CS301-mid

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

21 / 30

Category: CS301-mid

21. “+” is a _________operator.

22 / 30

Category: CS301-mid

22. Consider the function X as under
int X (int& Value)
{
return Value;
}
Now a and b are integers in a calling function. Which one of the following is a valid call to the above function
X

23 / 30

Category: CS301-mid

23. The nodes with no successor are called _________

24 / 30

Category: CS301-mid

24. When should you use a const reference parameter?

25 / 30

Category: CS301-mid

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

26 / 30

Category: CS301-mid

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

27 / 30

Category: CS301-mid

27. AVL Tree is,

28 / 30

Category: CS301-mid

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

29 / 30

Category: CS301-mid

29. Here is the start of a C++ class declaration:
class foo
{
public:
void x(foo f);
void y(const foo f);
void z(foo f) const;
...
Which of the three member functions can alter the PRIVATE member variables of the foo object that activates
the function?

30 / 30

Category: CS301-mid

30. The tree data structure is a

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.