Pages

CS301 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-2 || DATA STRUCTURES || VuTech

CS301 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-2 || DATA STRUCTURES || VuTech

CS301 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-2 || DATA STRUCTURES || VuTech

Visit Website For More Solutions
www.vutechofficial.blogspot.com

CS301

Data Structures

Solved Mid Term Past Papers

______________________________

MCQs

______________________________


Group-2


Question No: 1

The abstract data type refers to the basic mathematical concept that defines the _____ 


a) Variable

b) Functions

c) Pointer

d) Data Type


Correct Answer:


The correct answer is 'd'.


Question No: 2

When a function calls another function, the parameters and return address of the calling function are put in _______ .


a) Stack

b) Tree

c) Heap

d) Pointer


Correct Answer:

 

The correct answer is 'a'.


Question No: 3

The balance of a node in a binary tree is defined as the height of its ______ sub tree minus height of its right sub tree.


a) Left 

b) Right

c) Upper

d) Lower


Correct Answer: 


The correct answer is 'a'.


Visit Website For More Solutions
www.vutechofficial.blogspot.com


Question No: 4

Function signatures are also called ______ .


a) Function definition

b) Function prototype

c) Function overriding

d) Function overloading


Correct Answer: 


The correct answer is 'b'.


Question No: 5

If we return the reference of a local variable from a function it will cause:


a) Dangling reference

b) reference overloading

c) duplication of local variable

d) deletion of local variable from memory


Correct Answer: 


The correct answer is 'a'.


Visit Website For More Solutions
www.vutechofficial.blogspot.com


Question No: 6

In the perspective of memory organization each process is divided into ______ sections.


a) 2

b) 4

c) 6

d) 8


Correct Answer: 


The correct answer is 'b'.


Question No: 7

The process of getting the value of a variable using pointers is called _______ .


a) Referencing

b) Dereferencing

c) Memory allocation

d) Memory deallocation


Correct Answer: 


The correct answer is 'b'.


Question No: 8

We allocate memory dynamically by using _____ operator.


a) New

b) This

c) Increment

d) Decrement


Correct Answer: 


The correct answer is 'a'.


Visit Website For More Solutions
www.vutechofficial.blogspot.com


Question No: 9

_______ parameter passing (by value or by reference) is similar to PASCAL.


a) C++

b) JAVA

c) COBOL

d) FORTRAN


Correct Answer: 


The correct answer is 'a'.


Question No: 10

Which of the following is known as "Last-In, First-Out" or LIFO Data Structure?


a) Tree

b) Stack

c) Heap

d) Pointer


Correct Answer: 


The correct answer is 'b'.


Visit Website For More Solutions
www.vutechofficial.blogspot.com