NPTEL Data Structure And Algorithms Using Java Assignment 1 Answers 2022

NPTEL Data Structure And Algorithms Using Java ASSIGNMENT 1 Answers:- Hello students in this article we are going to share NPTEL Data Structure And Algorithms Using Java assignment week 1 answers. All the Answers provided below to help the students as a reference, You must submit your assignment at your own knowledge.

About Data Structure And Algorithms Using Java Course:-

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 of data structures and algorithms. Further, those 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.

Criteria to get Certificate:-

This course is a week 12 course the best of 8 out 12 assignments marks will be calculated for final result.

Below are mentioned criteria for final result

Average assignment score = 25% of average of 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 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.

Below you can find NPTEL Data Structure And Algorithms Using Java Assignment 1 Answers

NPTEL Data Structure And Algorithms Using Java Assignment 1 Answers 2022:-

Q1. Which feature can be implemented using encapsulation?

a. Inheritance
b. Abstraction
c. Polymorphism

Q2. Which of the following best describes encapsulation?

a. It is a way of combining various data members into a single unit.
b. It is a way of combining various member functions into a single unit.
c. It is a way of combining various data members and member functions into a single unit which can operate on any data.
d. It is a way of combining various data members and member functions that operate on those data members into a single unit.

Q3. Which of the following should be encapsulated?

a. The data which is prone to change is near future.
b. The data prone to change in long terms.
C. The data which is intended to be changed.
d. The data which belongs to some other class.

Q4. What will be the output?

a. 100 10
b. 10 100
C. 10 10
d. 100 100

Q5. Why are generics used?

a. Generics make code more fast.
b. Generics make code more optimized and readable.
C. Generics add stability to your code by making more of your bugs detectable at compile time.
d. Generics add stability to your code by making more of your bugs detectable at a runtime.

Q6. Which of the following is true?

a. Generic programming and function overloading are very similar to each other.
b. With method overloading you can pass any type of data argument but with generic programming it is limited.
C. For generic programming to work, multiple functions of the same logic need to be created for different data types.

Q7. Fill in the missing blank to implement it as a generic program?

a. int t
b. float t
C. double t
d. Tt

Q8. How do we implement variable sized arguments in generic programming?
a. Array
b. Variable argument
C. varars
d. getch()

Q9. is used to implement which of the following?

a. Lower bound
b. Upper bound
c. Middle bound
d. None of the above.

Q10. Why do we need to study data structures?

a. Because it’s a really hot topic in this era, like Machine Learning, Deep Learning.
b. Because it’s an ancient topic and we should know the history of computers
C. It is essential for developing a large, complex and critical software.
d. Data structures help us organize and access different types of data in the most efficient format according to our needs.