# Data Structure And Algorithms Using Java Assignment 5 Answers 2022

Data Structure And Algorithms Using Java Assignment 5 Answers 2022:- In this post, we have provided answers to NPTEL Data Structure And Algorithms Using Java Assignment 5. We provided answers here only for reference. Please, do your assignment to your own knowledge.

## About Data Structure And Algorithms Using Java

With the growth of Information and Communication Technology, there is a need to develop large and complex software. For developing large software, software developers should have enough proficiency in data structures and algorithms. Further, that software should be platform independent, Internet-enabled, easy to modify, secure, and robust. To meet this requirement object-oriented paradigm has been developed and based on this paradigm the Java programming language emerges as the best programming environment.

Now, Java programming language is being used for mobile programming, Internet programming, and many other applications compatible with distributed systems. This course aims to cover the essential topics of data structures and algorithms and how the same can be implemented using Java programming language. The participants of the proposed course will be able to improve their skills, cope with the current demand of IT industries and solve many problems in their own field of studies.

CRITERIA TO GET A CERTIFICATE

Average assignment score = 25% of the average of the best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF THE AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

## Data Structure And Algorithms Using Java Assignment 5 Answers 2022

1. Which data structure is used during recursion?

a. Queue
b. Stack
c. Tree
d. Map

`Answer:- b`

2. Which data structure is used for infix expression evaluation?

a. Stack
b. Queue
c. Tree
d. Graph

`Answer:-  a`

3. Which of the following is/are NOT TRUE?

a. Amray is a linear data structure.
b. Linked List is a linear data structure.
c. Stack is a linear data structure.
d. Data insertion in a stack must be from bottom.

`Answer:-  d`

4. What is the complexity of Pop operation in an array?

a. O(1)
b O(n)
c. O(n*n)
d. O(logn)

`Answer:-  a`

5. Tower of Hanoi Uses which data structure?

a. Stack
b. Queue
c. Priority Queue
d. Tree

`Answer:- a`

6. How many minimum number of stacks can be used to implement a Queue?

a 1
b 2
c 3
d 4

`Answer:- b`

7. Which data structure is used for DFS of a graph?

a. Stack
b. Queue
c. Circular Queue
d. Tree

`Answer:- a`

8.

`Answer:- a`

9.

`Answer:- a`

10. Stacks can be implemented using which of the following data structure?

`Answer:- c`