Objective Questions for Online Practical Exams under CBCS Scheme Subject: Data Structure-I (CS-113)

Similar documents
Fundamentals of Data Structure

Sample Question Paper

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

Department of Computer Science and Technology

Data Structure. IBPS SO (IT- Officer) Exam 2017

CS8391-DATA STRUCTURES QUESTION BANK UNIT I

MCA SEM-II Data Structure

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012 DATA STRUCTURE

R10 SET - 1. Code No: R II B. Tech I Semester, Supplementary Examinations, May

1 P age DS & OOPS / UNIT II

CS8391-DATA STRUCTURES

12 Abstract Data Types

CS DATA STRUCTURES AND ALGORITHMS

1. Two main measures for the efficiency of an algorithm are a. Processor and memory b. Complexity and capacity c. Time and space d.

Prepared By: Ms. Nidhi Solanki (Assist. Prof.) Page 1

Data Structures Question Bank Multiple Choice

17CS33:Data Structures Using C QUESTION BANK

CS 8391 DATA STRUCTURES

E.G.S. PILLAY ENGINEERING COLLEGE (An Autonomous Institution, Affiliated to Anna University, Chennai) Nagore Post, Nagapattinam , Tamilnadu.

R13. II B. Tech I Semester Supplementary Examinations, May/June DATA STRUCTURES (Com. to ECE, CSE, EIE, IT, ECC)

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

INSTITUTE OF AERONAUTICAL ENGINEERING

CS301 - Data Structures Glossary By

MID TERM MEGA FILE SOLVED BY VU HELPER Which one of the following statement is NOT correct.

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

Stacks, Queues and Hierarchical Collections

End-Term Examination Second Semester [MCA] MAY-JUNE 2006

EC8393FUNDAMENTALS OF DATA STRUCTURES IN C Unit 3

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- MARCH, 2012 DATA STRUCTURE (Common to CT and IF) [Time: 3 hours

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

GUJARAT TECHNOLOGICAL UNIVERSITY COMPUTER ENGINEERING (07) / INFORMATION TECHNOLOGY (16) / INFORMATION & COMMUNICATION TECHNOLOGY (32) DATA STRUCTURES

Stacks, Queues and Hierarchical Collections. 2501ICT Logan

Operations on Heap Tree The major operations required to be performed on a heap tree are Insertion, Deletion, and Merging.

First Semester - Question Bank Department of Computer Science Advanced Data Structures and Algorithms...

3. Fundamental Data Structures

MAHARASHTRASTATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Data Structures. Outline. Introduction Linked Lists Stacks Queues Trees Deitel & Associates, Inc. All rights reserved.

Answers. 1. (A) Attempt any five : 20 Marks

Content: Learning Objectives

R10 SET - 1. Code No: R II B. Tech I Semester, Supplementary Examinations, May

DATA STRUCTURE UNIT I

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

a) State the need of data structure. Write the operations performed using data structures.

Total No. of Questions :09] [Total No. of Pages : 02. II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC First Semester CSE/IT DATA STRUCTURES USING C

Abstract Data Structures IB Computer Science. Content developed by Dartford Grammar School Computer Science Department

Introduction p. 1 Pseudocode p. 2 Algorithm Header p. 2 Purpose, Conditions, and Return p. 3 Statement Numbers p. 4 Variables p. 4 Algorithm Analysis

Visit ::: Original Website For Placement Papers. ::: Data Structure

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Frequently asked Data Structures Interview Questions

MIDTERM EXAMINATION Spring 2010 CS301- Data Structures

FINALTERM EXAMINATION Fall 2009 CS301- Data Structures Question No: 1 ( Marks: 1 ) - Please choose one The data of the problem is of 2GB and the hard

Course Name: B.Tech. 3 th Sem. No of hours allotted to complete the syllabi: 44 Hours No of hours allotted per week: 3 Hours. Planned.

DATA STRUCTURE. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Adapted By Manik Hosen

PESIT Bangalore South Campus Department of MCA Course Information for

Data Structures. 1. Each entry in a linked list is a called a (a)link (b)node (c)data structure (d)none of the above

Formal Languages and Automata Theory, SS Project (due Week 14)

Revision Statement while return growth rate asymptotic notation complexity Compare algorithms Linear search Binary search Preconditions: sorted,

CS24 Week 8 Lecture 1

Discuss the following operations on One-Dimensional array with algorithms.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING B.E SECOND SEMESTER CS 6202 PROGRAMMING AND DATA STRUCTURES I TWO MARKS UNIT I- 2 MARKS

DATA STRUCTURES AND ALGORITHMS

ROOT: A node which doesn't have a parent. In the above tree. The Root is A.

DYNAMIC MEMORY ALLOCATION AND DEALLOCATION

Table of Contents. Chapter 1: Introduction to Data Structures... 1

An Introduction to Trees

Representation Techniques for Logical Spaces

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

DS ata Structures Aptitude

Solution: The examples of stack application are reverse a string, post fix evaluation, infix to postfix conversion.

Trees. Truong Tuan Anh CSE-HCMUT

and 6.855J February 6, Data Structures

MLR Institute of Technology

The time and space are the two measure for efficiency of an algorithm.

6-TREE. Tree: Directed Tree: A directed tree is an acyclic digraph which has one node called the root node

Basic Data Structures (Version 7) Name:

DEEPIKA KAMBOJ UNIT 2. What is Stack?

CSI33 Data Structures

logn D. Θ C. Θ n 2 ( ) ( ) f n B. nlogn Ο n2 n 2 D. Ο & % ( C. Θ # ( D. Θ n ( ) Ω f ( n)

8. Write an example for expression tree. [A/M 10] (A+B)*((C-D)/(E^F))

1 P a g e A r y a n C o l l e g e \ B S c _ I T \ C \

( D. Θ n. ( ) f n ( ) D. Ο%

Bharati Vidyapeeth s College Of Engineering for Women Pune-43 Department E & TC. SE- Unit Test I Subject-DS

1. Attempt any three of the following: 15

COSC 2007 Data Structures II Final Exam. Part 1: multiple choice (1 mark each, total 30 marks, circle the correct answer)

VALLIAMMAI ENGINEERING COLLEGE

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY THIRD SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017 CS205: DATA STRUCTURES (CS, IT)

Postfix (and prefix) notation

Insert. SEMCOM Page 1 of 11

CS 171: Introduction to Computer Science II. Binary Search Trees

UCS-406 (Data Structure) Lab Assignment-1 (2 weeks)

TREES. Trees - Introduction

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Draw a diagram of an empty circular queue and describe it to the reader.

CS W3134: Data Structures in Java

Second Semester - Question Bank Department of Computer Science Advanced Data Structures and Algorithms...

Summer Final Exam Review Session August 5, 2009

) $ f ( n) " %( g( n)

Chapter 4 Trees. Theorem A graph G has a spanning tree if and only if G is connected.

Transcription:

Objective Questions for Online Practical Exams under CBCS Scheme Subject: Data Structure-I (CS-113) 1. The number of interchanges required to sort 5, 1, 6, 2 4 in ascending order using Bubble Sort (A) 6 (B) 5 (C) 7 (D) 8 2. The postfix form of the expression (A+ B)*(C*D E)*F / G is a) AB+ CD E FG / b) AB + CD E F G / c) AB + CD E F G / d) AB + CDE F G / 3. A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as a a) Queue b) Stack c)tree d) Linked list 4. In a circular linked list a) Components are all linked together in some sequential manner. b) There is no beginning and no end. c) Components are arranged hierarchically. d) Forward and backward traversal within the list is permitted. 5. The data structure required for Breadth First Traversal on a graph is a) Stack. B). Queue. C). Array. D). Tree 6. The postfix form of A*B+C/D is a) *AB/CD+ b) AB*CD/+ c) A*BC+/D d) ABCD+/* 7. An adjacency matrix representation of a graph cannot contain information of : a) nodes. B) direction of edges. C) edges d) parallel edges 8. O(N) (linear time) is better than O(1) constant time. a) True b) False. 9. Which data structure is needed to convert infix notation to postfix notation? a)linked list b) Queue c)tree d) Stack 10. Stack is also called as A) Last in first out B) First in last out C) Last in last out D) First in first out 11. Inserting an item into the stack when stack is not full is called. Operation and deletion of item form the stack, when stack is not empty is called..operation. A) push, pop B) pop, push C) insert, delete D) delete, insert 12.. Is a pile in which items are added at one end and removed from the other. A) Stack B) Queue C) List D) None of the above 13 is very useful in situation when data have to stored and then retrieved in reverse order. A) Stack B) Queue

C) List D) Link list 14. Which of the following is non-liner data structure? A) Stacks B) List C) Strings D) Trees 15. Which of the following data structure is non linear type? A) Strings B) Lists C) Stacks D) Graph 16. To represent hierarchical relationship between elements, Which data structure is suitable? A) Dequeue B) Priority C) Tree D) Graph 17. In a circular queue the value of r will be.. A) r=r+1 B) r=(r+1)% [QUEUE_SIZE 1] C) r=(r+1)% QUEUE_SIZE D) r=(r-1)% QUEUE_SIZE 18. Which of the following statement is true? i) Using singly linked lists and circular list, it is not possible to traverse the list backwards. ii) To find the predecessor, it is required to traverse the list from the first node in case of singly linked list. A) i-only B) ii-only C) Both i and ii D) None of both 19. The advantage of.. is that they solve the problem if sequential storage representation. But disadvantage in that is they are sequential lists. A) Lists B) Linked Lists C) Trees D) Queues 20. What will be the value of top, if there is a size of stack STACK_SIZE is 5 A) 5 B) 6 C) 4 D) None 21 is not the operation that can be performed on queue. A) Insertion B) Deletion C) Retrieval D) Traversal 22. There is an extra element at the head of the list called a. A) Antinel

B) Sentinel C) List header D) List head 23. A graph is a collection of nodes, called. And line segments called arcs or.. that connect pair of nodes. A) vertices, edges B) edges, vertices C) vertices, paths D) graph node, edges 24. A.. is a graph that has weights of costs associated with its edges. A) Network B) Weighted graph C) Both A and B D) None A and B 25 In general, the binary search method needs no more than. comparisons. A) [log2n]-1 B) [logn]+1 C) [log2n] D) [log2n]+1 26. Which of the following is not the type of queue? A) Ordinary queue B) Single ended queue C) Circular queue D) Priority queue 27. The property of binary tree is A) The first subset is called left subtree B) The second subtree is called right subtree C) The root cannot contain NULL D) The right subtree can be empty 28. State true or false. i) The degree of root node is always zero. ii) Nodes that are not root and not leaf are called as internal nodes. A) True, True B) True, False C) False, True D) False, False 29. Any node is the path from the root to the node is called A) Successor node B) Ancestor node C) Internal node D) None of the above 30. State true of false. i) A node is a parent if it has successor nodes. ii) A node is child node if out degree is one. A) True, True B) True, False C) False, True D) False, False

31.. is not an operation performed on linear list a) Insertion b) Deletion c) Retrieval d) Traversal A) only a,b and c B) only a and b C) All of the above D) None of the above 32. Which is/are the application(s) of stack A) Function calls B) Large number Arithmetic C) Evaluation of arithmetic expressions D) All of the above 33. A is an acyclic digraph, which has only one node with indegree 0, and other nodes have in-degree 1. A) Directed tree B) Undirected tree C) Dis-joint tree D) Direction oriented tree 34.. Is a directed tree in which outdegree of each node is less than or equal to two. A) Unary tree B) Binary tree C) Trinary tree D) Both B and C 35. State true or false. i) An empty tree is also a binary tree. ii) In strictly binary tree, the out-degree of every node is either o or 2. A) True, False B) False, True C) True, True D) False, False 36. Which of the following data structures are indexed structures? A. Linear arrays B. Linked lists C. Queue D. Stack 37. Which of the following data structure store the homogeneous data elements? A. Arrays B. Records C. Pointers D. Lists 38. When new data are to be inserted into a data structure, but there is not available space; this situation is usually called. A. Underflow B. overflow C. houseful D. saturated 39. A data structure where elements can be added or removed at either end but not in the middle is called A. linked lists

B. stacks C. queues D. dequeue 40. Operations on a data structure may be.. A. creation B. destruction C. selection D. all of the above 41. The way in which the data item or items are logically related defines.. A. storage structure B. data structure C. data relationship D. data operation 42. Which of the following are the operations applicable an primitive data structures? A. create B. destroy C. update D. all of the above 43. The use of pointers to refer elements of a data structure in which elements are logically adjacent is. A. pointers B. linked allocation C. stack D. queue 44. Arrays are best data structures A. for relatively permanent collections of data B. for the size of the structure and the data in the structure are constantly changing C. for both of above situation D. for non of above situation 45. Which of the following statement is false? A. Arrays are dense lists and static data structure. B. Data elements in linked list need not be stored in adjacent space in memory C. Pointers store the next data element of a list. D. Linked lists are collection of the nodes that contain information part and next pointer. Data Structures and Algorithms Multiple Choice Questions and Answers :- 46. Which of the following data structure is non-linear type? A) Strings B) Lists C) Stacks D) Tree 47. Which of the following data structure is linear type? A) Array B) Tree C) Graphs D) Hierarchy 48. The logical or mathematical model of a particular organization of data is called a A) Data structure B) Data arrangement

C) Data configuration D) Data formation 49. The simplest type of data structure is A) Multidimensional array B) Linear array C) Two dimensional array D) Three dimensional array 50. Linear arrays are also called. A) Straight line array B) One-dimensional array C) Vertical array D) Horizontal array Answer Keys 1 B 2 A 3 A 4 B 5 B 6 B 7 D 8 B 9 D 10 A 11 A 12 B 13 A 14 D 15 D 16 C 17 C 18 C 19 B 20 C 21 D 22 B 23 A 24 C 25 D 26 B 27 D 28 C 29 B 30 B 31 D 32 D 33 A

34 B 35 C 36 A 37 B 38 B 39 D 40 D 41 B 42 D 43 B 44 A 45 C 46 D 47 A 48 A 49 B 50 B