VTU Updates

Programming in Java NPTEL Assignment Answers of Week 3 (2023)

In this article, you will get  NPTEL Assignment Answers  of  Week 3 (2023)  of the course  Programming in Java

1. Which of the following statement(s) is/are correct about the constructor? a. Constructors cannot be synchronized in Java. b. Java does not provide a default copy constructor. c. A constructor cannot be overloaded. d. “this” or “super” can be used in a constructor.

Answer: a, b, d

2. Which of the following statement(s) is/are true? a. You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it. b. You can write a new static method in the subclass with the same signature as the one in the superclass, thus hiding it. c. A subclass inherits all of its parent’s public and protected members, no matter what package the subclass is in. d. You cannot declare new methods in the subclass that are not in the superclass.

Answer: a, b, c

3. Consider the following piece of code.

Fill in the blank with the appropriate keyword(s) from the list given below so that the program compiles successfully. a. abstract b. final c. default d. public

Answer: b. final and d. public

4. How many instances of abstract class can be created? a. 0 b. 1 c. 2 d. Multiple

Answer: a. 0

5. Structuring a Java class such that only methods within the class can access its instance variables is referred to as ______. a. object orientation b. inheritance c. platform independence d. encapsulation

Answer: d. encapsulation

6. Which of the following statement(s) is/are true? a. A final method cannot be overridden in a subclass. b. The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable. c. Class methods cannot use this keyword as there is no instance for this to refer to. d. A final method can be overridden in a subclass.

7. Consider the following piece of code.

Which of the following is the output of the above program? a. Java b. There will be a compile-time error. c. JavaJava. d. The program will give a runtime error.

Answer: b. There will be a compile-time error.

8. Consider the following program.

What is the output of the above program? a. java b. ring c. r min d. gram

Answer: b. ring

9. Which of the following statement(s) is/are False? a. Hiding internal data from the outside world and accessing it only through publicly exposed methods is known as data encapsulation. b. Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword. c. The term “class variable” is another name for a non-static field. d. A local variable stores a temporary state; it is declared inside a method.

Answer: c. The term “class variable” is another name for a non-static field.

10. Which of the following statement(s) is/are true? a. Static methods in interfaces are never inherited. b. You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass. c. You can prevent a class from being subclassed by using the final keyword in the class’s declaration. d. An abstract class can only be subclassed; it cannot be instantiated.

Answer: a, b, c, d

Programming Assignment Answers

Week 3 : programming assignment 1.

Define a class Point with two fields x and y each of type double. Also, define a method distance(Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double. Complete the code segment given below. Use Math.sqrt( ) to calculate the square root.

Week 3 : Programming Assignment 2

This program to exercise the call of static and non-static methods. A partial code is given defining two methods, namely sum( ) and multiply ( ). You have to call these methods to find the sum and product of two numbers. Complete the code segment as instructed. 

Week 3 : Programming Assignment 3

Complete the code segment to swap two numbers using call by object reference.

Week 3 : Programming Assignment 4

This program is related to the generation of Fibonacci numbers.>

For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8 th  Fibonacci number.

A partial code is given and you have to complete the code as per the instruction given .

Week 3 : Programming Assignment 5

A class Shape is defined with two overloading constructors in it. Another class Test1 is partially defined which inherits the class Shape. The class Test1 should include two overloading constructors as appropriate for some object instantiation shown in main() method. You should define the constructors using the super class constructors. Also, override the method calculate( ) in Test1 to calculate the volume of a Shape.

Related Posts

Explain network layer design issues..

  • April 4, 2024

AngularJS application that displays the date

  • March 12, 2024

AngularJS application to convert student details to Uppercase

Leave a reply cancel reply.

Your email address will not be published. Required fields are marked *

Add Comment  *

Save my name, email, and website in this browser for the next time I comment.

Post Comment

Quizermania Logo

Programming in Java | NPTEL 2023 | Week 3 quiz solutions

This set of MCQ(multiple choice questions) focuses on the  Programming in Java NPTEL 2023 Week 3 Quiz Solutions .

Course layout (Answers Link)

Answers COMING SOON! Kindly Wait!

Week 1 : Overview of Object-Oriented Programming and Java Programming Assignment Week 2: Java Programming Elements Programming Assignment Week 3: Input-Output Handling in Java Programming Assignment Week 4: Encapsulation Programming Assignment Week 5: Inheritance Programming Assignment Week 6: Exception Handling Programming Assignment Week 7: Multithreaded Programming Programming Assignment Week 8: Java Applets and Servlets Programming Assignment Week 9: Java Swing and Abstract Windowing Toolkit Week 10: Networking with Java Week 11: Java Object Database Connectivity Week 12: Interface and Packages for Software Development

NOTE:  You can check your answer immediately by clicking show answer button. Programming in Java NPTEL 2023 Week 3 Quiz Solutions” contains 10 questions.

Now, start attempting the quiz.

Programming in Java NPTEL 2022 Week 1 Quiz Solutions

Q1. In which of the following scenario(s), the static block is used in Java?

a) To create static variables b) To initialize instance variables c) To initialize static variables d) To create new objects

Answer: c) To initialize static variables

Q2. Consider the following piece of code. Fill in the blank with the appropriate keyword(s) from the list given below so that the program compiles successfully.

a) public void b) private void c) public static void d) private static void

Answer: c), d)

Q3. What is the output of the above code?

a) A’s display method B’s display method b) A’s display method A’s dispaly method c) B’s display method B’s display method d) B’s display method A’s display method

Q4. Which of the following statement(s) is/are false?

a) You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it b) You can write a new static method in the subclass with the same signature as the one in the superclass, thus hiding it c) A subclass inherits all of its parent’s public and protected memebers, no matter what package the subclass is in d) You cannot declare new methods in the subclass that are not in the superclass

Q5. Which of the following statement(s) is/are true?

a) You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass b) You can prevent a class from being subclassed by using the final keyword in the class’s declaration c) An abstract class can be instantiated d) Common behaviour can be defined in a superclass and inherited into a subclass using the extends keyword

Answer: a), b), d)

Q6. What is the output of the above program?

a) prgam b) program c) gramm d) ing in

Answer: a) prgam

Q7. Which of the following is the output of the above program?

a) 10 100 b) 10 20 c) 100 10 d) 10 19

Q8. If the program is executed, then what will be the output from the execution?

a) 1700 b) 1300 c) 0 d) 2600

Answer: a) 1700

Q9. Which of the following statement(s) is/are true?

a) Hiding internal data from the outside world and accessing it only through publicly exposed methods is known as data encapsulation b) Static methods in interfaces are never inherited c) The term “class variable” is another name for a non-static field d) A local variable stroes a temporary state; it is declared inside a method

Answer: a), c), d)

Q10. All classes in java are inherited from which class?

a) java.lang.class b) java.class.inherited c) java.class.object d) java.lang.object

Programming in Java NPTEL 2023 Week 3 Quiz Solutions

Q1. Which of the following statement(s) is/are correct about the constructor?

a) Constructors cannot be synchronized in Java b) Java does not provide a default copy constructor c) A constructor cannot be overloaded d) “this” or “super” can be used in a constructor

Q2. Which of the following statement(s) is/are true?

a) You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it. b) You can write a new static method in the subclass with the same signature as the one in the superclass, thus hidiing it. c) A subclass inherits all of its parent’s public and protected members, no matter what package the subclass is in. d) You cannot declare new methods in the subclass that are not in the superclass.

Answer: a), b), c)

Q3. Fill in the blank with the appropriate keyword(s) from the list given below so that the program compiles successfully.

a) abstract b) final c) default d) public

Answer: b), d)

Q4. How many instances of abstract class can be created?

a) 0 b) 1 c) 2 d) Multiple

Q5. Structure a Java class such that only methods within the class can access its instance variables is referred to as ________.

a) Object orientation b) inheritance c) platform independence d) encapsulation

Q6. Which of the following statement(s) is/are true?

a) A final method cannot be overridden in a subclass b) The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable c) Class methods cannot use this keyword as there is no instance for this refer to d) A final method can be overridden in a subclass

a) Java b) There will be a compile-time error c) JavaJava d) The program will give a runtime error

Q8. What is the output of the above program?

a) java b) ring c) r min d) gram

Q9. Which of the following statement(s) is/are False?

a) Hiding internal data from the outside world and accessing it only through publicly exposed methods is known as data encapsulation b) Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword c) The term “class variable” is another name for a non-static field d) A local variable stores a temporary state; it is declared inside a method.

Q10. Which of the following statement(s) is/are true?

a) Static methods in interfaces are never inherited b) You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass c) You can prevent a class from being subclassed by using the final keyword in the class’s declaration d) An abstract class can only be subclassed; it cannot be instantiated

Answer: a), b), c), d)

Programming in Java NPTEL 2022 Week 3 Quiz Solutions

Q1. Which of this keyword can be used in a sub class to call the constructor of super class?

a) super b) this c) extent d) extends

Answer: a) super

Q2. What is the output of the above program?

a) i+j is 42 4 0 b) i+j is 6 9 2 c) i+j is 42 9 2 d) i+j is 6 4 0

Q3. What is the output of the above program?

a) 4 b) 10 c) 2 d) runtime error

Answer: c) 2

Q4. For each description on the left, find the best matching modifier on the right. You may use a choice more than once or not at all.

a) 1-A, 2-A, 3-C, 4-D, 5-E b) 1-A, 2-A, 3-A, 4-B, 5-C c) 1-C, 2-B, 3-A, 4-A, 5-D d) None of Above

Answer: b) 1-A, 2-A, 3-A, 4-B, 5-C

Q5. All the variables of interface should be?

a) default and final b) default and static c) public, static and final d) protect, static and final

Answer: c) public, static and final

Q6. Which of the following statement(s) is/are NOT true?

a) A final method cannot be overridden in a subclass. b) The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable. c) Class methods cannot use this keyword as there is no instance for this to refer to. d) A final method can be overridden in a subclass.

Answer: d) A final method can be overridden in a subclass.

Q7. Which of the following statements is/are true?

a) Hello b) There will be a compile-time error c) HelloHello d) The program will give a runtime error

Answer: d) The program will give a runtime error

Q8. Which of the following option is true about the above program?

a) Error: String cannot be a method return type like void, int, char, etc.; as it is a class. b) Error: Non-static variable ‘answer’ cannot be referenced from a static context. c) Output: The answer to the question. Which course have you opted? is Programming with Java d) Error: Compilation error as variable ‘question’ is not static.

Answer: c) Output: The answer to the question. Which course have you opted? is Programming with Java

Q9. Disadvantage(s) of inheritance in Java programming is/are

a) Code readability b) two classes (base and inherited class) get tightly coupled c) Save development time and effort d) Code reusability

Answer: b) two classes (base and inherited class) get tightly coupled

Q10. Which inheritance in Java programming is not supported?

a) Multiple inheritance using classes. b) Multiple inheritance using interfaces. c) Multilevel inheritance d) Single inheritance

Answer: a) Multiple inheritance using classes.

Previous Course – Week 3 Quiz Solutions

Q1. Consider the following piece of code in Java.

What is the output of the above program?

a) 2 3 b) 3 3 c) Runtime Error d) Compilation Error

Answer: b) 3 3

Q2. Consider the following piece of code in Java.

a) 6 b) 10 c) 21 d) error

Answer: a) 6

Q3. If a class inheriting an abstract class does not define all of its functions then it will be known as?

a) Default b) Abstract c) A simple class d) Static class

Answer: b) Abstract

Q4. Which among the following best describes polymorphism?

a) It is the ability for many messages/data to be processed in one way b) It is the ability for a message/data to be processed in only 1 form c) It is the ability for a message/data to be processed in more than one form d) It is the ability for undefined message/data to be processed in at least one way

Answer: c) It is the ability for a message/data to be processed in more than one form

Q5. Consider the following piece of code in Java

a) 30 b) 20 c) Compile error d) Runtime error

Answer: c) Compile error

Programming in Java NPTEL 2022 Week 3 quiz Solutions

Q6. All the variables of the interface should be?

Q7. Disadvantage(s) of inheritance in Java programming is/are

a) Code readability b) two classes (base and inherited class) get tightly coupled c) Code maintainability d) Code reusability

Programming in Java NPTEL 2022 Week 3 Quiz solutions

Q8. When does method overloading is determined?

a) At run time b) At coding time c) At compile time d) At execution time

Answer: c) At compile time

Which of the following statements is/are true?

a) Output: Hello b) Program will compile successfully c) There will be a compile-time error d) The program will give a runtime error

a) Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data encapsulation b) Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword c) The term “class variable” is another name for static field d) A local variable stores temporary state; it is declared inside a method

>> Next- Programming in Java Week 2 Assignment Solutions

>> Next- Programming in Java Week 4 Assignment Solutions

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Related Posts

Html mcq : html basics (multiple choice question), html mcq : html web browsers (multiple choice question).

Preprocessor Directives

C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)

C++ mcq : c++ basics(multiple choice question), 1 thought on “programming in java | nptel 2023 | week 3 quiz solutions”.

' src=

Please share assignment 3 programming answers

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

  • 1st Central Law Reviews: Expert Legal Analysis & Insights

Spread the word.

Share the link on social media.

Confirm Password *

Username or email *

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Sorry, you do not have permission to ask a question, You must login to ask a question.

SIKSHAPATH Logo

SIKSHAPATH Latest Articles

Nptel programming in java week 3 assignment answers 2023.

NPTEL Programming in Java Assignment Answer

Are you looking for help in Programming In Java NPTEL Week 3 Assignment Answers? So, here in this article, we have provided Programming In Java week 3 Assignment Answer’s hint.

Table of Contents

NPTEL Programming In Java Week 3 Assignment Answers

Q1. Which of the following statement(s) is/are correct about the constructor?

Answer : a. Constructors cannot be synchronized in Java. b. Java does not provide a default copy constructor.

d. “this” or “super” can be used in a constructor.

1000+ students getting help from instant notifications, Join us on telegram.

Q2. Which of the following statement(s) is/are true?

Answer : a. You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it. b. You can write a new static method in the subclass with the same signature as the one in the superclass, thus hiding it. c. A subclass inherits all of its parent’s public and protected members, no matter what package the subclass is in.

Q3. Consider the following piece of code.

Fill in the blank with the appropriate keyword(s) from the list given below so that the program compiles successfully.

Answer: b. final d. public

Q4. How many instances of abstract class can be created?

Answer: a. 0

Q5. Structuring a Java class such that only methods within the class can access its instance variables is referred to as _______.

Answer: d. encapsulation

Q6. Which of the following statement(s) is/are true?

Answer: a. A final method cannot be overridden in a subclass. b. The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable. c. Class methods cannot use this keyword as there is no instance for this to refer to.

Q7. Consider the following piece of code.

Which of the following is the output of the above program?

Answer: b. There will be a compile-time error.

Q8. Consider the following program.

What is the output of the above program?

Answer: b. ring

Q9. Which of the following statement(s) is/are False?

Answer: c. The term “class variable” is another name for a non-static field.

Q10. Which of the following statement(s) is/are true?

Answer: a. Static methods in interfaces are never inherited. b. You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass. c. You can prevent a class from being subclassed by using the final keyword in the class’s declaration. d. An abstract class can only be subclassed; it cannot be instantiated.

Programming In Java Week 3 Programming Assignment Answers

Disclaimer: These answers are provided only for the purpose to help students to take references. This website does not claim any surety of 100% correct answers. So, this website urges you to complete your assignment yourself.

Also Available:

NPTEL Programming In Java Week 2 Assignment Answers

NPTEL Java week 4 assignment answers

Related Posts

NPTEL Cloud Computing Assignment 3 Answers 2023

NPTEL Cloud Computing Assignment 3 Answers 2023

NPTEL Problem Solving Through Programming In C Week 1 & 2 Assignment Answers 2023

NPTEL Problem Solving Through Programming In C Week 1 & ...

NPTEL Programming In Java Week 6 Assignment Answers 2023

NPTEL Programming In Java Week 6 Assignment Answers 2023

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Search code, repositories, users, issues, pull requests...

Provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

swayam-logo

  • Review Assignment
  • Announcements
  • About the Course
  • Explore Courses

NPTEL: Exam Registration is open now for July 2023 courses!

Dear Candidate,

Here is a golden opportunity for those who had previously enrolled in this course during the Jan 2023 semester, but could not participate in the exams or were absent/did not pass the exam for this course. This course is being reoffered in July 2023 and we are giving you another chance to write the exam in October 2023 and obtain a certificate based on NPTEL norms. Do not let go of this unique opportunity to earn a certificate from the IITs/IISc.

IMPORTANT instructions for learners - Please read this carefully  

1. The exam date for this course: Oct 29, 2023

2. CLICK HERE to register for the exam.

Please fill the exam form using the same Enrolled email id & make fee payment via the form, as before.

3. Choose from the Cities where exam will be conducted: Exam Cities

4. You DO NOT have to re-enroll in the courses. 

5. You DO NOT have to resubmit Assignments OR participate in the non-proctored programming exams(if applicable) in the previous semester

6. If you do enroll in the July 2023 course, we will take the best average assignment scores/non-proctored programming exam(if applicable) score across the two semesters.

Please check once if you have >= 40/100  in average assignment score and also participated and satisfied the criteria in the non-proctored programming exams(if applicable) that were conducted in Jan 2023 to become eligible for the e-certificate, wherever applicable.

If not, please submit assignments again in the July 2023 course and also participate in the non-proctored programming exams(if applicable) to become eligible for the e-certificate.

We will not be having new assignments or unproctored exams(if applicable) in the previous semester's (Jan 2023) course. 

RECOMMENDATION: If you want to take new assignments and an unproctored exam(if applicable) or brush up on your lessons for the exam, please enroll in the July 2023 course.

Click here to enroll in the current course, links are provided corresponding to the course name.

7. Exam fees: 

If you register for the exam and pay before Aug 14, 2023, 5:00 PM, Exam fees will be Rs. 1000/- per exam .

8. 50% fee waiver for the following categories: 

Students belonging to the SC/ST category: please select Yes for the SC/ST option and upload the correct Community certificate.

Students belonging to the PwD category with more than 40% disability: please select Yes for the option and upload the relevant Disability certificate. 

9. Last date for exam registration: Aug 18, 2023, 5:00 PM (Friday). 

10. Between Aug 14, 2023, 5:00 PM & Aug 18, 2023, 5:00 PM late fee will be applicable.

11. Mode of payment: Online payment - debit card/credit card/net banking/UPI. 

12. HALL TICKET: 

The hall ticket will be available for download tentatively by 2 weeks prior to the exam date. We will confirm the same through an announcement once it is published. 

13. FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. Same day of exam – you can write exams for 2 courses in the 2 sessions. Same exam center will be allocated for both the sessions. 

14. Data changes: 

Last date for data changes: Aug 18, 2023, 5:00 PM :  

We will charge an additional fee of Rs. 200 to make any changes related to name, DOB, photo, signature, SC/ST and PWD certificates after the last date of data changes.

The following 6 fields can be changed (until the form closes) ONLY when there are NO courses in the course cart. And you will be able to edit those fields only if you: - 

REMOVE unpaid courses from the cart And/or - CANCEL paid courses 

1. Do you come under the SC/ST category? * 

2. SC/ST Proof 

3. Are you a person with disabilities? * 

4. Are you a person with disabilities above 40%? 

5. Disabilities Proof 

6. What is your role? 

Note: Once you remove or cancel a course, you will be able to edit these fields immediately. 

But, for cancelled courses, refund of fees will be initiated only after 2 weeks. 

15. LAST DATE FOR CANCELLING EXAMS and getting a refund: Aug 18, 2023, 5:00 PM  

16. Click here to view Timeline and Guideline : Guideline

Domain Certification

Domain Certification helps learners to gain expertise in a specific Area/Domain. This can be helpful for learners who wish to work in a particular area as part of their job or research or for those appearing for some competitive exam or becoming job ready or specialising in an area of study.  

Every domain will comprise Core courses and Elective courses. Once a learner completes the requisite courses per the mentioned criteria, you will receive a Domain Certificate showcasing your scores and the domain of expertise. Kindly refer to the following link for the list of courses available under each domain: https://nptel.ac.in/domains

Outside India Candidates

Candidates who are residing outside India may also fill the exam form and pay the fees. Mode of exam and other details will be communicated to you separately.

Thanks & Regards, 

Thank you for learning with NPTEL!!

Dear Learner, Thank you for taking the course with NPTEL!! Hope you enjoyed the journey with us. The results for this course have been published and we are closing this course now.  You will still have access to the contents and assignments of this course, if you click on the course name from the "Mycourses" tab on swayam.gov.in. For any further queries please write to [email protected] . - Team NPTEL

Programming In Java : Result Published!!

                                      ***THIS IS APPLICABLE ONLY FOR EXAM REGISTERED CANDIDATES***                             ****Please don't click on below link, if you are not registered/not present for the Exam****                          Dear Candidate, The exam scores and E Certificates have been released for April 2023 Exam(s). Step 1 - Are the results of my courses released? Please check the Results published courses list in the below links.:- Apr 2023 Exam - Click here Step 2 - How to check Results? Please login to internalapp.nptel.ac.in/ . and check your exam results. Use the same login credentials as used to register to the exam. What's next? Please read the pass criteria carefully and check against what you have gotten. If you still have any issues, please report the same here. internalapp.nptel.ac.in/ . We will reply within a week. Last date to report queries: 3 days within publishing of scores. Note : Hard copies of certificates will not be dispatched. The duration shown in the certificate will be based on the timeline of offering of the course in 2023, irrespective of which Assignment score that will be considered. Thanks and Best wishes. NPTEL Team

Programming In Java : Final Feedback Form !!!

Dear students, We are glad that you have attended the NPTEL online certification course. We hope you found the NPTEL Online course useful and have started using NPTEL extensively. In this regard, we would like to have feedback from you regarding our course and whether there are any improvements, you would like to suggest.   We are enclosing an online feedback form and would request you to spare some of your valuable time to input your observations. Your esteemed input will help us in serving you better. The link to give your feedback is: https://docs.google.com/forms/d/1wj9c2uRXlKpG4mjX-gnw02rXUDPu_DMp856TLm8wYoM/viewform We thank you for your valuable time and feedback. Thanks & Regards, -NPTEL Team

April 2023 NPTEL Exams - Hall Tickets Released!

***THIS IS APPLICABLE ONLY FOR EXAM REGISTERED CANDIDATES***     ****Please don't click on below link, if you are not registered for the Exam**** Dear Candidate, Your Hall Ticket / admit card for the NPTEL Exam(s) in April, 2023 has been released. Please login to https://internalapp.nptel.ac.in/ using your exam registered email id and download your hall ticket. Note:  Requests for changes in exam city, exam center, exam date, session, or course will NOT be entertained. Please write to [email protected] for any further queries. All the best for your exams! Warm Regards NPTEL Team

Programming In Java - Assignment - 12 Solution Released

Dear Participants, The  Assignment 12   (Quiz Part)  of the  Week 12  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/17kXKDbfZlOIGAH5IFedJpDNp5zv5QcJk/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Assignment - 11 Solution Released

Dear Participants, The  Assignment 11   (Quiz Part)  of the  Week 11  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/1NbTsMMdZ1-Eehe9MuDzCXK5YfCRsHbTB/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 12 Feedback Form

Dear Learners, Thank you for enrolling in this NPTEL course and we hope you have gone through the contents for this week and also attempted the assignment. We value your feedback and wish to know how you found the videos and the questions asked - whether they were easy, difficult, as per your expectations, etc. We shall use this to make the course better and we can also know from the feedback which concepts need more explanation, etc. Please do spare some time to give your feedback - comprises just 5 questions - should not take more than a minute, but makes a lot of difference for us as we know what the Learners feel. Here is the link to the form:  https://docs.google.com/forms/d/14fPCX10Pck1XLTYgfAn33-B5RzuscxctxVr-kxpMX7A/viewform NPTEL Team

Exam Format - April, 2023 !!

Dear Candidate, ****This is applicable only for the exam registered candidates**** Type of exam will be available in the list: Click Here You will have to appear at the allotted exam center and produce your Hall ticket and Government Photo Identification Card (Example: Driving License, Passport, PAN card, Voter ID, Aadhaar-ID with your Name, date of birth, photograph and signature) for verification and take the exam in person.  You can find the final allotted exam center details in the hall ticket. The hall ticket is yet to be released.  We will notify the same through email and SMS. Type of exam: Computer based exam (Please check in the above list corresponding to your course name) The questions will be on the computer and the answers will have to be entered on the computer; type of questions may include multiple choice questions, fill in the blanks, essay-type answers, etc. Type of exam: Paper and pen Exam  (Please check in the above list corresponding to your course name) The questions will be on the computer. You will have to write your answers on sheets of paper and submit the answer sheets. Papers will be sent to the faculty for evaluation. On-Screen Calculator Demo Link: Kindly use the below link to get an idea of how the On-screen calculator will work during the exam. https://tcsion.com/ OnlineAssessment/ ScientificCalculator/ Calculator.html NOTE: Physical calculators are not allowed inside the exam hall. Thank you! -NPTEL Team

Programming In Java - Assignments - 9 & 10 Solutions Released

Dear Participants, The  Assignments-9 & 10   (Quiz Part)  of the  Weeks-9 & 10  solutions for the course " Programming In Java " have been released in the portal. Please go through these solutions and in case of any doubt post your queries in the forum. Assignmnet-9: Solution Link:-   https://drive.google.com/file/d/1oOD3cQGDc3CfBoTQELMdWlJzPt2zH9bj/view?usp=share_link Assignmnet-10: Solution Link:-   https://drive.google.com/file/d/1y42gnlamNwv7XKCQfTPrT8Zi2VI3-pIq/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 11 Feedback Form

Programming in java - week 12 content is live now.

Dear Students The lecture videos for  Week 12  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=106&lesson=107 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 12  for  Week 12  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=106&assessment=210 The assignment has to be submitted on or before  Wednesday, [19/04/2023], 23:59 IST. Programming Assignment 1  for  Week 12  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=211 Programming Assignment 2  for  Week 12  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=212 Programming Assignment 3  for  Week 12  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=213 Programming Assignment 4  for  Week 12  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=214 Programming Assignment 5  for  Week 12  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=215 For all the Programming Assignments due date will be :  Thursday, [20/04/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Week 11 content is live now!!

Dear Students The lecture videos for  Week 11  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=98&lesson=99 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 11  for  Week 11  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=98&assessment=204 The assignment has to be submitted on or before  Wednesday, [12/04/2023], 23:59 IST. Programming Assignment 1  for  Week 11  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=205 Programming Assignment 2  for  Week 11  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=206 Programming Assignment 3  for  Week 11  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=207 Programming Assignment 4  for  Week 11  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=208 Programming Assignment 5  for  Week 11  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=209 For all the Programming Assignments due date will be :  Thursday, [13/04/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Week 10 Feedback Form

Programming in java - week 10 content is live now.

Dear Students The lecture videos for  Week 10  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=90&lesson=91 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 10  for  Week 10  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=90&assessment=198 The assignment has to be submitted on or before  Wednesday, [05/04/2023], 23:59 IST. Programming Assignment 1  for  Week 10  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=199 Programming Assignment 2  for  Week 10  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=200 Programming Assignment 3  for  Week 10  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=201 Programming Assignment 4  for  Week 10  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=202 Programming Assignment 5  for  Week 10  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=203 For all the Programming Assignments due date will be :  Thursday, [06/04/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Assignment - 8 Solution Released

Dear Participants, The  Assignment 8   (Quiz Part)  of the  Week 8  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/1jb2vQXaXNK6FEQZTvam6QqwB-TgVw1sJ/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 9 Feedback Form

Potential additional date (april 28th) for the april 2023 nptel exams.

***THIS IS APPLICABLE ONLY FOR EXAM REGISTERED CANDIDATES*** Dear Student, Greetings from NPTEL! The Jan 2023 session is coming to an end soon and it’s time to put all your best efforts for the certification exam. The NPTEL team has always been there to make your learning process a joyful one and we hope that with your support we will be able to overcome the challenges of conducting a nation-wide exam of this magnitude. With the closure of exam registration form for the NPTEL April 2023 exams, the final registration count stands at 5.1 Lakh compared to 3.7 Lakh reported during the Jul-Dec 2022 semester. Based on the previous semester data, seats at the certification exam centres are booked by NPTEL at the beginning of the exam registration process. As the semester progresses, sometimes these numbers exceed our estimate, especially on certain dates and certain exam cities. Our goal is to allocate the chosen exam cities to all our learners. And by and large, we are able to allocate the chosen cities and dates with active support from our exam partner and our partner colleges. All efforts are being made to allocate the city of choice or the next nearest exam city for the April 29th/30th 2023 exams, as scheduled. However, in view of the unexpectedly large volume of exam registrations & limitation of seats at certain cities on a particular date, we may be compelled to shift the exam date of certain candidates to 28th April 2023 (Friday) as a last resort, only after exhausting all possibilities. We hope that you will appreciate our logistical constraints of such rescheduling and extend all necessary support as before and participate in the exam. With best wishes for the forthcoming exam(s), Warm regards, NPTEL Team

Programming In Java : Assignment 6 question no. 4 & 7

Dear Students, There are mistakes in assignment 6 question no 4 & 7. Hence the questions are not considered for evaluation. The re-evaluation has been done. The updated score is displayed under Progress tab. Sorry for the inconvenience. -NPTEL Team

Programming In Java - Week 9 content is live now!!

Dear Students The lecture videos for  Week 9  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=82&lesson=83 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 9  for  Week 9  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=82&assessment=192 The assignment has to be submitted on or before  Wednesday, [29/03/2023], 23:59 IST. Programming Assignment 1  for  Week 9  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=193 Programming Assignment 2  for  Week 9  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=194 Programming Assignment 3  for  Week 9  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=195 Programming Assignment 4  for  Week 9  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=196 Programming Assignment 5  for  Week 9  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=197 For all the Programming Assignments due date will be :  Thursday, [30/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Assignment - 7 Solution Released

Dear Participants, The  Assignment 7   (Quiz Part)  of the  Week 7  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/1WzVlqTtOEN0ndaumi_u0sO_qjBjiI1-a/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 8 Feedback Form

Programming in java - week 8 content is live now.

Dear Students The lecture videos for  Week 8  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=74&lesson=75 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 8  for  Week 8  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=74&assessment=186 The assignment has to be submitted on or before  Wednesday, [22/03/2023], 23:59 IST. Programming Assignment 1  for  Week 8  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=187 Programming Assignment 2  for  Week 8  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=188 Programming Assignment 3  for  Week 8  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=189 Programming Assignment 4  for  Week 8  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=190 Programming Assignment 5  for  Week 8  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=191 For all the Programming Assignments due date will be :  Thursday, [23/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Assignment - 6 Solution Released

Dear Participants, The  Assignment 6   (Quiz Part)  of the  Week 6  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/1pHAgfvjoS2IlL5CRMHj5fxkm1n7cEQ0I/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Assignment - 5 Solution Released

Dear Participants, The  Assignment 5   (Quiz Part)  of the  Week 5  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/1APYhy02duItifW_QLxAAPIXY6unYbqMo/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 7 Feedback Form

Programming in java - week 7 content is live now.

Dear Students The lecture videos for  Week 7  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=66&lesson=67 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 7  for  Week 7  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=66&assessment=185 The assignment has to be submitted on or before  Wednesday, [15/03/2023], 23:59 IST. Programming Assignment 1  for  Week 7  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=179 Programming Assignment 2  for  Week 7  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=181 Programming Assignment 3  for  Week 7  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=182 Programming Assignment 4  for  Week 7  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=183 Programming Assignment 5  for  Week 7  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=184 For all the Programming Assignments due date will be :  Thursday, [16/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Reference books for Programming In Java

Dear Learners, Please go through the following links for reference books for the course "Programming In Java". https://www.cambridge.org/ highereducation/books/joy- with-java/ 2E20B87BFB4767DA913804FE37953E F3#overview https://books.google.co.in/ books?hl=en&lr=&id= PSysEAAAQBAJ&oi=fnd&pg=PR35& ots=T8RXQzCEyh&sig= pjafsdrh5mi4-CT87tIavNB_F2c#v= onepage&q&f=false https://cse.iitkgp.ac.in/~ dsamanta/joywithjava/index.php Best regards,

Programming In Java - Assignment - 4 Solution Released

Dear Participants, The  Assignment 4   (Quiz Part)  of the  Week 4  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/18ndVnyguhZufz73hmQoyjawH2LrFY7fc/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 6 Feedback Form

Programming in java - week 6 content is live now.

Dear Students The lecture videos for  Week 6  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=58&lesson=59 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 6  for  Week 6  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=58&assessment=177 The assignment has to be submitted on or before  Wednesday, [08/03/2023], 23:59 IST. Programming Assignment 1  for  Week 6  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=172 Programming Assignment 2  for  Week 6  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=173 Programming Assignment 3  for  Week 6  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=174 Programming Assignment 4  for  Week 6  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=175 Programming Assignment 5  for  Week 6  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=176 For all the Programming Assignments due date will be :  Thursday, [09/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Week 5 Feedback Form

Programming in java - assignment - 3 solution released.

Dear Participants, The  Assignment 3   (Quiz Part)  of the  Week 3  solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:-  https://drive.google.com/file/d/1wbKzM1HRz4MGsoykqdhMHVkGaIWpGMMQ/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 5 content is live now!!

Dear Students The lecture videos for  Week 5  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=50&lesson=51 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 5  for  Week 5  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=50&assessment=171 The assignment has to be submitted on or before  Wednesday, [01/03/2023], 23:59 IST. Programming Assignment 1  for  Week 5  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=166 Programming Assignment 2  for  Week 5  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=167 Programming Assignment 3  for  Week 5  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=168 Programming Assignment 4  for  Week 5  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=169 Programming Assignment 5  for  Week 5  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=170 For all the Programming Assignments due date will be :  Thursday, [02/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Week 4 Feedback Form

Programming in java - week 4 content is live now.

Dear Students The lecture videos for  Week 4  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=42&lesson=43 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 4  for  Week 4  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=42&assessment=160 The assignment has to be submitted on or before  Wednesday, [22/02/2023], 23:59 IST. Programming Assignment 1  for  Week 4  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=161 Programming Assignment 2  for  Week 4  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=162 Programming Assignment 3  for  Week 4  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=163 Programming Assignment 4  for  Week 4  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=164 Programming Assignment 5  for  Week 4  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=165 For all the Programming Assignments due date will be :  Thursday, [23/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Assignments - 1 & 2 (MCQ Part) Solutions Released

Dear Participants, The Assignments-1 & 2 (MCQ Part)  of the Weeks-1 & 2 solutions for the course " Programming In Java " have been released in the portal. Please go through these solutions and in case of any doubt post your queries in the forum. Assignmnet-1: Solution Link:-   https://drive.google.com/file/d/1Zj5bBlc37UDfBLgJZddr-aIzM22lzLVm/view?usp=share_link Assignmnet-2: Solution Link:-   https://drive.google.com/file/d/1oAyKFIIrG9RTZbyq4Qx4LeQPOTlcZmO0/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 3 Feedback Form

Programming in java - week 3 content is live now.

Dear Students The lecture videos for  Week 3  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=34&lesson=35 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 3  for  Week 3  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=34&assessment=159 The assignment has to be submitted on or before  Wednesday, [15/02/2023], 23:59 IST. Programming Assignment 1  for  Week 3  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=148 Programming Assignment 2  for  Week 3  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=149 Programming Assignment 3  for  Week 3  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=150 Programming Assignment 4  for  Week 3  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=151 Programming Assignment 5  for  Week 3  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=152 For all the Programming Assignments due date will be :  Thursday, [16/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Week 2 Feedback Form

Dear Learners, Thank you for enrolling in this NPTEL course and we hope you have gone through the contents for this week and also attempted the assignment. We value your feedback and wish to know how you found the videos and the questions asked - whether they were easy, difficult, as per your expectations, etc We shall use this to make the course better and we can also know from the feedback which concepts need more explanation, etc. Please do spare some time to give your feedback - comprises just 5 questions - should not take more than a minute, but makes a lot of difference for us as we know what the Learners feel. Here is the link to the form:  https://docs.google.com/forms/d/14fPCX10Pck1XLTYgfAn33-B5RzuscxctxVr-kxpMX7A/viewform NPTEL Team

Programming In Java - Week 2 content is live now!!

Dear Students The lecture videos for  Week 2  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=26&lesson=27 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 2  for  Week 2  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=26&assessment=153 The assignment has to be submitted on or before  Wednesday, [08/02/2023], 23:59 IST. Programming Assignment 1  for  Week 2  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=154 Programming Assignment 2  for  Week 2  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=155 Programming Assignment 3  for  Week 2  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=156 Programming Assignment 4  for  Week 2  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=157 Programming Assignment 5  for  Week 2  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=158 For all the Programming Assignments due date will be :  Thursday, [09/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note :  Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Download video links are available now!!

Dear Learners, The download video link for the course Programming In Java is available now in the course outline. Please check the download video link:  https://nptel.ac.in/courses/106105191 NPTEL Team

Programming In Java - Week 1 Feedback Form

Programming in java - week 1 content is live now.

Dear Students The lecture videos for Week 1 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=18&lesson=19 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 1 for Week 1 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=18&assessment=147 The assignment has to be submitted on or before Wednesday, [08/02/2023], 23:59 IST. Programming Assignment 1 for Week 1 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=143 Programming Assignment 2 for Week 1 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=142 Programming Assignment 3 for Week 1 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=144 Programming Assignment 4  for  Week 1  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=145 Programming Assignment 5  for  Week 1  is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=146 For all the Programming Assignments due date will be : Thursday, [09/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team

Programming In Java - Assignment-0-RELEASED

Dear Learners,

We welcome you all to this course. The assignment 0 for the course Programming In Java  has been released. This assignment is based on a prerequisite of the course. Kindly note that marks obtained in this assignment will not be considered for the final assessment. You can find the assignment under Week 0 unit on the left-hand side of your screen. You can submit the assignment multiple times. All the best !!    

--NPTEL Team

Programming In Java : Exam certification criteria

Dear Learners, Please see the certification criteria of this course  below 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 (in person)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. NOTE: Please note that there will not be an unproctored programming exam for this course this term.  -NPTEL Team

NPTEL: Exam Registration is open now for Jan 2023 courses!

Dear Learner, 

Here is the much-awaited announcement on registering for the Jan 2023 NPTEL course certification exam. 

1. The registration for the certification exam is open only to those learners who have enrolled in the course. 

2. If you want to register for the exam for this course, login here using the same email id which you had used to enroll to the course in Swayam portal. Please note that Assignments submitted through the exam registered email id ALONE will be taken into consideration towards final consolidated score & certification. 

3 . Date of exam: Apr 30, 2023

CLICK HERE to register for the exam. 

Choose from the Cities where exam will be conducted: Exam Cities

4. Exam fees: 

If you register for the exam and pay before Mar 17, 2023, 5:00 PM, Exam fees will be Rs. 1000/- per exam .

5. 50% fee waiver for the following categories: 

6. Last date for exam registration: Mar 17, 2023, 5:00 PM (Friday). 

7. Mode of payment: Online payment - debit card/credit card/net banking/UPI. 

8. HALL TICKET: 

The hall ticket will be available for download tentatively by 2 weeks prior to the exam date . We will confirm the same through an announcement once it is published. 

9. FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. Same day of exam – you can write exams for 2 courses in the 2 sessions. Same exam center will be allocated for both the sessions. 

10. Data changes: 

Last date for data changes: Mar 17, 2023, 5:00 PM :  

All the fields in the Exam form except for the following ones can be changed until the form closes. 

The following 6 fields can be changed ONLY when there are NO courses in the course cart. And you will be able to edit the following fields only if you: - 

6. What is your role ? 

11. LAST DATE FOR CANCELLING EXAMS and getting a refund: Mar 17, 2023, 5:00 PM  

12. Click here to view Timeline and Guideline : Guideline

Programming In Java: Welcome to NPTEL Online Course - Jan 2023!!

  • Every week, about 2.5 to 4 hours of videos containing content by the Course instructor will be released along with an assignment based on this. Please watch the lectures, follow the course regularly and submit all assessments and assignments before the due date. Your regular participation is vital for learning and doing well in the course. This will be done week on week through the duration of the course.
  • Please do the assignments yourself and even if you take help, kindly try to learn from it. These assignments will help you prepare for the final exams. Plagiarism and violating the Honor Code will be taken very seriously if detected during the submission of assignments.
  • The announcement group - will only have messages from course instructors and teaching assistants - regarding the lessons, assignments, exam registration, hall tickets, etc.
  • The discussion forum (Ask a question tab on the portal) - is for everyone to ask questions and interact. Anyone who knows the answers can reply to anyone's post and the course instructor/TA will also respond to your queries.
  • Please make maximum use of this feature as this will help you learn much better.
  • If you have any questions regarding the exam, registration, hall tickets, results, queries related to the technical content in the lectures, any doubts in the assignments, etc can be posted in the forum section
  • The course is free to enroll and learn from. But if you want a certificate, you have to register and write the proctored exam conducted by us in person at any of the designated exam centres.
  • The exam is optional for a fee of Rs 1000/- (Rupees one thousand only).
  • Date and Time of Exams: April 30, 2023  Morning session 9am to 12 noon; Afternoon Session 2 pm to 5 pm.
  • Registration URL: Announcements will be made when the registration form is open for registrations.
  • The online registration form has to be filled and the certification exam fee needs to be paid. More details will be made available when the exam registration form is published. If there are any changes, it will be mentioned then.
  • Please check the form for more details on the cities where the exams will be held, the conditions you agree to when you fill the form etc.
  • Once again, thanks for your interest in our online courses and certification. Happy learning.

A project of

java nptel assignment answers 2023 week 3

In association with

java nptel assignment answers 2023 week 3

  • Fri. Mar 31st, 2023

Brokenprogrammers

Learning platform for programmers

NPTEL Programming in Java Assignment 3 Answers 2023

' data-src=

By Brokenprogrammers

NPTEL Programming in Java Assignment 3 Answers 2023

Hello Learners, In this Post, you will find NPTEL Programming in Java Assignment 3 Week 3 Answers 2023 . All the Answers are provided below to help the students as a reference don’t straight away look for the solutions.

NPTEL Programming in Java Assignment 4 Answers Join Group👇

Note: First try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

NPTEL Programming in Java Assignment 3 Answers 2023

NPTEL Programming in Java Assignment 3 Answers 2023:

We are updating answers soon Join Group for update: CLICK HERE

Q.1. Which of the following statement(s) is/are correct about the constructor?

  • a. Constructors cannot be synchronized in Java.
  • b. Java does not provide a default copy constructor.
  • c. A constructor cannot be overloaded.
  • d. “this” or “super” can be used in a constructor.

Q.2. Which of the following statement(s) is/are true?

  • a. You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it.
  • b. You can write a new static method in the subclass with the same signature as the one in the superclass, thus hiding it.
  • c. A subclass inherits all of its parent’s public and protected members, no matter what package the subclass is in.
  • d. You cannot declare new methods in the subclass that are not in the superclass.

Q.3. Consider the following piece of code.

Fill in the blank with the appropriate keyword(s) from the list given below so that the program compiles successfully.

  • a. abstract

java nptel assignment answers 2023 week 3

Q.4. How many instances of abstract class can be created?

  • d. Multiple

Q.5. Structuring a Java class such that only methods within the class can access its instance variables is referred to as __ .

  • a. object orientation
  • b. inheritance
  • c. platform independence
  • d. encapsulation

Q.6. Which of the following statement(s) is/are true?

  • a. A final method cannot be overridden in a subclass.
  • b. The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable.
  • c. Class methods cannot use this keyword as there is no instance for this to refer to.
  • d. A final method can be overridden in a subclass.

Q.7. Consider the following piece of code.

Which of the following is the output of the above program.

  • b. There will be a compile-time error.
  • c. JavaJava.
  • d. The program will give a runtime error.

NPTEL Programming in Java Week 3 Answers Join Group👇

Q.8. consider the following program..

What is the output of the above program?

Q.9. Which of the following statement(s) is/are False?

  • a. Hiding internal data from the outside world and accessing it only through publicly exposed methods is known as data encapsulation.
  • b. Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword.
  • c. The term “class variable” is another name for a non-static field.
  • d. A local variable stores a temporary state; it is declared inside a method.

Q.10. Which of the following statement(s) is/are true?

  • a. Static methods in interfaces are never inherited.
  • b. You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass.
  • c. You can prevent a class from being subclassed by using the final keyword in the class’s declaration.
  • d. An abstract class can only be subclassed; it cannot be instantiated.

NPTEL Programming in Java Assignment 3 Answers Join Group👇

java nptel assignment answers 2023 week 3

Disclaimer : This answer is provided by us only for discussion purpose if any answer will be getting wrong don’t blame us. If any doubt or suggestions regarding any question kindly comment. The solution is provided by  Brokenprogrammers . This tutorial is only for Discussion and Learning purpose.

About NPTEL Programming in Java Course:

With the growth of Information and Communication Technology, there is a need to develop large and complex software. 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. Now, Java programming language is being used for mobile programming, Internet programming, and many other applications compatible to distributed systems. This course aims to cover the essential topics of Java programming so that the participants can improve their skills to cope with the current demand of IT industries and solve many problems in their own filed of studies. 

Course Layout:

  • Week 1   :  Overview of Object-Oriented Programming and Java
  • Week 2   :  Java Programming Elements
  • Week 3   :  Input-Output Handling in Java
  • Week 4   :  Encapsulation
  • Week 5   :  Inheritance
  • Week 6   :  Exception Handling 
  • Week 7   :  Multithreaded Programming 
  • Week 8   :  Java Applets and Servlets 
  • Week 9   :  Java Swing and Abstract Windowing Toolkit (AWT)
  • Week 10  : Networking with Java
  • Week 11 :  Java Object Database Connectivity (ODBC)
  • Week 12 :  Interface and Packages for Software Development

CRITERIA TO GET A CERTIFICATE :

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.

If you have not registered for exam kindly register Through https://examform.nptel.ac.in/

Related Post

Nptel data science for engineers assignment 6 answers 2023, nptel data mining assignment 6 answers 2023, nptel programming in java assignment 6 answers 2023, leave a reply cancel reply.

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

NPTEL Data Base Management System Assignment 6 Answers 2023

Programming In Java | Week 3

Session: JAN-APR 2024

Course name: Programming In Java

Course Link: Click Here

For answers or latest updates join our telegram channel: Click here to join

These are NPTEL Programming In Java Week 3 Assignment 3 Answers

Q1. Which of the following statement is true regarding the order of execution of constructors in an inheritance hierarchy? a. Base class constructor will be called followed by the derived class constructor. b. Derived class constructor will be called followed by the base class constructor. c. Only Base class constructor will be called. d. Only derived class constructor will be called.

Answer: a. Base class constructor will be called followed by the derived class constructor.

Q2. The super() method is used to: a. Call constructor of friend class b. Is a declared method c. Call constructor of the parent class d. Call constructor

Answer: c. Call constructor of the parent class

Q3. What will be the output of the following Java program? a. 0 b. 1 c. 2 d. Compilation Error

Answer: c. 2

Q4. In Java, is it possible to override a static method? a. Yes, we can override a static method just like we do with instance methods. b. No, static methods cannot be overridden because they belong to the class, not the object. c. It depends on whether the static method is declared as final or not. d. It depends on the access modifier of the static method.

Answer: b. No, static methods cannot be overridden because they belong to the class, not the object.

Q5. What is the output of the following Java program? a. “The vehicle moves” b. “The car moves” c. The code does not compile d. None of the above

Answer: b. “The car moves”

Q6. What is the output of the below Java program with inheritance? a. Sweet=$10 Sugar=$20 b. Sweet=$10 Sugar=$10 c. Sweet=$20 Sugar=$20 d. Compiler error

Answer: a. Sweet=$10 Sugar=$20

Q7. What is the purpose of method hiding in Java inheritance? a. To prevent a subclass from inheriting methods b. To override superclass methods with new implementations c. To expose private methods of the superclass d. To define methods with the same name in both the superclass and subclass

Answer: d. To define methods with the same name in both the superclass and subclass

Q8. What is the output of the following Java program? a. “parent from parent” b. “child from child” c. “parent from child” d. “child from parent”

Answer: c. “parent from child”

Q9. Can a class be marked as both “final” and “abstract” in Java? a. Yes, but only if it has no methods. b. Yes, a class can be marked as both “final” and “abstract.” c. No, a class cannot be both “final” and “abstract.” d. Yes, but only if it is marked as “protected.”

Answer: c. No, a class cannot be both “final” and “abstract.”

Q10. In Java, is it possible to override a static method? a. Yes, we can override a static method just like we do with instance methods. b. No, static methods cannot be overridden because they belong to the class, not the object. c. It depends on whether the static method is declared as final or not. d. It depends on the access modifier of the static method.

More Weeks of Programming In Java: Click here

More Nptel Courses: https://progiez.com/nptel-assignment-answers

Session: JULY-DEC 2023

Course Name: Programming In Java

Programming Assignment

Question 1 This program is related to the generation of Fibonacci numbers. For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8th Fibonacci number. A partial code is given and you have to complete the code as per the instruction given .

Question 2 Define a class Point with two fields x and y each of type double. Also, define a method distance(Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double.

Question 3 A class Shape is defined with two overloading constructors in it. Another class Test1 is partially defined which inherits the class Shape. The class Test1 should include two overloading constructors as appropriate for some object instantiation shown in main() method. You should define the constructors using the super class constructors. Also, override the method calculate( ) in Test1 to calculate the volume of a Shape.

Question 4 This program to exercise the call of static and non-static methods. A partial code is given defining two methods, namely sum( ) and multiply ( ). You have to call these methods to find the sum and product of two numbers. Complete the code segment as instructed.

Question 5 Complete the code segment to swap two numbers using call by object reference.

More Nptel Courses: Click here

Session: JAN-APR 2023

Course Name: Programming in Java

Q1. Which of the following statement(s) is/are correct about the constructor? a. Constructors cannot be synchronized in Java. b. Java does not provide a default copy constructor. c. A constructor cannot be overloaded. d. “this” or “super” can be used in a constructor.

Answer: a, b, d

Q2. Which of the following statement(s) is/are true? a. You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it. b. You can write a new static method in the subclass with the same signature as the one in the superclass, thus hiding it. c. A subclass inherits all of its parent’s public and protected members, no matter what package the subclass is in. d. You cannot declare new methods in the subclass that are not in the superclass.

Answer: a, b, c

Q3. Consider the following piece of code. Fill in the blank with the appropriate keyword(s) from the list given below so that the program compiles successfully. a. abstract b. final c. default d. public

Answer: b, d

Q4. How many instances of abstract class can be created? a. 0 b. 1 c. 2 d. Multiple

Answer: a. 0

Q5. Structuring a Java class such that only methods within the class can access its instance variables is referred to as ______. a. object orientation b. inheritance c. platform independence d. encapsulation

Answer: d. encapsulation

Q6. Which of the following statement(s) is/are true? a. A final method cannot be overridden in a subclass. b. The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable. c. Class methods cannot use this keyword as there is no instance for this to refer to. d. A final method can be overridden in a subclass.

Q7. Consider the following piece of code. Which of the following is the output of the above program? a. Java b. There will be a compile-time error. c. JavaJava. d. The program will give a runtime error.

Answer: b. There will be a compile-time error.

Q9. Consider the following program. What is the output of the above program? a. java b. ring c. r min d. gram

Answer: b. ring

Q9. Which of the following statement(s) is/are False? a. Hiding internal data from the outside world and accessing it only through publicly exposed methods is known as data encapsulation. b. Common behavior can be defined in a superclass and inherited into a subclass using the extends keyword. c. The term “class variable” is another name for a non-static field. d. A local variable stores a temporary state; it is declared inside a method.

Answer: c. The term “class variable” is another name for a non-static field.

Q10. Which of the following statement(s) is/are true? a. Static methods in interfaces are never inherited. b. You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass. c. You can prevent a class from being subclassed by using the final keyword in the class’s declaration. d. An abstract class can only be subclassed; it cannot be instantiated.

Answer: a, b, c, d

Programming In Java Programming Assignment Solution

Define a class Point with two fields x and y each of type double. Also, define a method distance(Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double. Complete the code segment given below. Use Math.sqrt( ) to calculate the square root.

This program to exercise the call of static and non-static methods. A partial code is given defining two methods, namely sum( ) and multiply ( ). You have to call these methods to find the sum and product of two numbers. Complete the code segment as instructed.

Complete the code segment to swap two numbers using call by object reference.

This program is related to the generation of Fibonacci numbers.> For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8 th Fibonacci number. A partial code is given and you have to complete the code as per the instruction given .

A class Shape is defined with two overloading constructors in it. Another class Test1 is partially defined which inherits the class Shape. The class Test1 should include two overloading constructors as appropriate for some object instantiation shown in main() method. You should define the constructors using the super class constructors. Also, override the method calculate( ) in Test1 to calculate the volume of a Shape.

More Weeks of Programming In Java: Click Here

Session: JULY-DEC 2022

Course Name: Programming in Java NPTEL

Q1. Which of this keyword can be used in a sub class to call the constructor of super class? a. super b. this c. extent d. extends

Answer: a. super

Q2. What is the output of the above program? a. i+jis 42 4 b. i+jis6 9 2 c. i+jis 42 9 2 d. i+jis 6 4

Answer: a. i+jis 42 4

Q3. What is the output of the above program? a. 4 b. 10 c. 2 d. runtime error

Q4. For each description on the left, find the best matching modifier on the right. You may use a choice more than once or not at all.

a. 1-A, 2-A, 3-C, 4-D, 5-E b. 1-A, 2-A, 3-A, 4-B, 5-C c. 1-C, 2-B, 3-A, 4-A, 5-D d. None of Above

Answer: b. 1-A, 2-A, 3-A, 4-B, 5-C

Q5. All the variables of interface should be? a) default and final b) default and static c) public, static and final d) protect, static and final

Answer: c) public, static and final

Q6. Which of the following statement(s) is/are NOT true? a. A final method cannot be overridden in a subclass. b. The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable. c. Class methods cannot use this keyword as there is no instance for this to refer to. d. A final method can be overidden in a subclass.

Answer: d. A final method can be overidden in a subclass.

Q7. Which of the following statements is/ are true? a. Hello b. There will be a compile-time error c. HelloHello. d. The program will give a runtime error.

Answer: d. The program will give a runtime error.

Q8. Which of the following option is true about the above program? a. Eror: String cannot be a method return tpe like void, int, char, etc.; as it isa class. b. Eror: Non-static variable ‘answer’ cannot be referenced from a static context. c. Output: The answer to the question, Which course have you opted? is Programming with Java d. Error: Compilation error as variable question’ is not static.

Answer: c. Output: The answer to the question, Which course have you opted? is Programming with Java

Q9. Disadvantage(s) of inheritance in Java programming is/are

a. Code readability b. two classes (base and inherited class) get tightly coupled c. Save development time and effort d. Code reusability

Answer: b. two classes (base and inherited class) get tightly coupled

Q10. Which inheritance in Java programming is not supported? a. Multiple inheritance using classes. b. Multiple inheritance using interfaces. c. Multilevel inheritance. d. Single inheritance.

Answer: a. Multiple inheritance using classes.

Programming Assignment Solutions

This program is related to the generation of Fibonacci numbers. For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8 th Fibonacci number. A partial code is given and you have to complete the code as per the instruction given below.

Define a class Point with two fields x and y each of type double. Also, define a method distance(Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double.

More NPTEL Solutions: https://progiez.com/nptel

These are NPTEL Programming In Java Week 3 Assignment 3 Answers

[Week 4] NPTEL Programming In Java Assignment Answers 2023

NPTEL Programming In Java Assignment Solutions

[Week 4] NPTEL Programming In Java Assignment Answers 2023

Table of Contents:-

NPTEL Programming In Java Week 4 Quiz Assignment Answers 2023

Q1. Which of the following is the correct statement for creating a package? a. package; b. package «package name>; c. package: d. «package name>;

2. How Java Runtime Environment (JRE) knows where to look for a package that you create? a. It searches in the current directory. b. It searches in the location set in the CLASSPATH environment variable. c. A user can set the path during runtime using the -classpath option. d. Using the -path option, a user can set the path.

3. Which of the following statements) is/are false? a. Java packages are hierarchical. b. system.out.println () is a predefined java function. c. Java can have a nested class structure. d. The Java static kevword is a non-access modifier.

4. Which of the following is/are NOT correct regarding packages in Java? a. Java supports both pre-defined and user-defined packages. b. Packages are used to organize a set of related classes and interfaces. c. Pre-defined packages help to develop programs easily by providing thousands of classes. d. Packages are used to organize only a set of related classes and not interfaces.

5. Consider the program given below.

What will be the output if the above program is executed? a. It will give compile-time error b. It will give run-time ertor c. 1.0 d. 3.14

6. Which of the following is the minimum requirement for executing a Java program? a. JDK b. RE c. JDK without JRE d. JRE without JDK

7. Which of the following is required for developing a Java program? a. DK b. IRE c. JDK without JRE d. JRE without JDK

8. Which of the following is/are valid declaration(s) of an interface?

9. Which of the following statements) is/are NOT true? a. The default package in the Java language is java lang. b. String is a final class and it is present in java.lang package. c. Runnable is a class present in java.lang package. d. Thread is a class present in java.lang package.

10. Which of the following statements) is/are true? a. With the import statement, generally import only a single package member or an entire package. b. To import all the types contained in a particular package, use the import statement with the asterisk ( ) wildcard character. import package. ; C. import package.A: it used to match a subset of the classes in a package starts with “A” d. import package.A: it generates compilation error.

NPTEL Programming In Java Week 4 Programming Assignment Solutions 2023

Q1. Complete the code segment to execute the following program successfully.  You should import the correct package(s) and/or class(s) to complete the code. Solution:-

Q2. Complete the code segment to print the current year. Your code should compile successfully.

Note: In this program, you are not allowed to use any import statement. Use should use predefined class Calendar defined in java.util package.

Q3. The program in this assignment is attempted to print the following output:

—————–OUTPUT——————- This is large This is medium This is small This is extra-large ———————————————–

However, the code is intentionally injected with some bugs. Debug the code to execute the program successfully.

Q4. Complete the code segment to call the default method in the interface First and Second.

Q5. Modify the code segment to print the following output.

—————–OUTPUT——————- Circle: This is Shape1 Circle: This is Shape2 ————————————————-

NPTEL Programming In Java Week 3 Quiz Assignment Answers 2023

1. In which of the following scenario(s), the static block is used in Java? a. To create static variables. b. To initialize instance variables. c. To initialize static variables. d. To create new objects.

2. Consider the following piece of code.

Fill in the blank with the appropriate k eyword(s) from the list given below so that the program compiles successfully. a. public void b. private void c. public static void d. private static void

3. Consider the following piece of code.

What is the output of the a b ove code? a. A’s display method B’s display method b. A’s display method A’s display method c. B’s display method B’s display method d. B’s display method A’s display method

4. Which of the following statements) is/are false? a. You can write a new instance method in the subclass with the same signature as the one in the superclass, thus overriding it. b. You can write a new static method in the subclass with the same signature as the one in the superclass, th u s hiding it. c. A subclass inherits all of its parent’s public and protected members, no matter what package the subclass is in. d. You cannot declare new methods in the subclass that are not in the superclass.

5. Which of the following statement(s) is/are true? a. You will get a compile-time error if you attempt to change an instance method in the superclass to a static method in the subclass. b. You can prevent a clas s from being subclassed by using the final keyword in the class’s declaration. c. An abstract class can be instantiated. d. Common behaviour can be defined in a superclass and inherited into a subclass using the extends keyword.

6. Consider the following program.

What is the output of the abo v e program? a. prgam b. program c. gramm d. ing in

7. Consider the following piece of code.

[Week 4] NPTEL Programming In Java Assignment Answers 2023

Which of the following is the output of the abo v e program? a. 10 100 b. 10 20 c. 100 1 0 d. 10 10

8. Consider the following program.

If the program is executed, then w h at will be the output from the execution? a. 1700 b. 1300 c. 0 d. 2600

9. Which of the following statement(s) is/are true? a. Hiding internal data from the outside world and accessing it only through publicly exposed methods is known as data encapsulation. b. Static methods in interfaces are never inherited. c. The term “class variable” is another name for a non-s t atic field. d. A local variable stores a temporary state; it is declared inside a method.

10. All classes in java are inherited from which class? a. java.lang.class b. java.class.inherited c. java.class . object d. java.lang.Object

NPTEL Programming In Java Week 3 Programming Assignment Solutions 2023

Q1. This program is related to the generation of Fibonacci numbers.

For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8th Fibonacci number.

A partial code is given and you have to complete the code as per the instruction given .

Q2. Define a class Point with two fields x and y each of type double. Also, define a method distance(Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double.

Complete the code segment given below. Use Math.sqrt( ) to calculate the square root.

Q3. A class Shape is defined with two overloading constructors in it. Another class Test1 is partially defined which inherits the class Shape. The class Test1 should include two overloading constructors as appropriate for some object instantiation shown in main() method. You should define the constructors using the super class constructors. Also, override the method calculate( ) in Test1 to calculate the volume of a Shape.

Q4. This program to exercise the call of static and non-static methods. A partial code is given defining two methods, namely sum( ) and multiply ( ). You have to call these methods to find the sum and product of two numbers. Complete the code segment as instructed.

Q5. Complete the code segment to swap two numbers using call by object reference.

NPTEL Programming In Java Week 2 Assignment Answers 2023

1. Consider the following code segment: 1 class Question{ 2 public static void main(String args){ 3. System.out.print(“Welcome to NPTEL”); 4. } 5. } Identify the numbers where there is/are error(s) in the above code. a. 1 b. 2 c. 3 d. 4 and 5

2. Consider the following code segment: 1 class Question{ 2 public static void main(String[] param 0{ 3 System.out.print(“Welcome to NPTEL”);)) 4 } 5 } Identify the numbers where there is/are error(s) in the above code. a. 1 b. 2 c. 3 d. 4 and 5

3. Consider the following code segment: 1 class Question{ 2 public static void main(String args[]) { 3. for(int n=1; n<=10; n++){ 4. system.out.print(n+” “); 5. } 6. } 7. } Select the correct output description for the above code. a. Prints first n natural numbers in a single line. b. Prints first n natural numbers, one number in a single line. c. Prints first 10 natural numbers in a single line. d. Prints first 10 natural numbers in a single line with no spaces.

4. Consider the following code segment: 1 class Question{ 2 public static void main(String args[]) { 3. for(int n=1; n<=10; n++){ 4. system.out.print(n+” “); 5. } 6. } 7. } Modify the above code such that it prints all the even numbers till 100. a. Replace line 3 with for (int n=2; n<=100; n++){ b. Replace line 3 with for (int n=2; n<=100; n+=2){ c. Replace line 4 with system.out.print(++n + ” “); d. Both option a and c.

5. Following is a program given for this question.

[Week 4] NPTEL Programming In Java Assignment Answers 2023

What will be the output of the above program? a. 22221018 b. 22222018 c. 22101018 d. 22221218

6. Consider the following incorrect program. 1 public class Question 2 public static void main (String[] args) { 3. short x = 10; 4. x = x * 5; 5. System.out.print (x); 6. } 7. } How to correct the above code segment? a. Change line 4 as x = (short) (x * 5); b. Change line 4 as x = (short) x * 5; c. Change line 4 as x = (short) x * (short) 5; d. Change line 4 as (short) x = x * 5;

7. What will be the output of the above program?

[Week 4] NPTEL Programming In Java Assignment Answers 2023

a. 210 b. 120 c. 012 d. 000

8. Consider the following piece of code. public class Question! public static void main (String[] args) { String str = “anpotdelqjpava”; System.out.printin(str.substring (1, 3) +str.substring (4, 5) + str.substring (6, 8)); Which of the following option is the output of the above program? a. java b. nptel java c. nptel java d. nptel

9. What is the output of the following program? public class Main{ public void static main (string args []) { char a = ‘a int b = 20; System.out.printin (a+b); } } a. 60 b. 117 c. 33 d. Compilation error

10. Consider the following program. public class Question public static void main (String[] args) { int x = 5; x *= (2 + 8) ; System.out.printin (x) ; } } What will be the output of the program if it is executed? a. 50 b. 10 c. Compiler error d. 5

NPTEL Programming In Java Week 2 Programming Assignment Answers

1. Complete the code segment to call the method   print()  of class Student first  and then call  print()   method of class School .

2. Complete the code segment  to call the method   print()  of class given class Printer to print the following.

——————————–

Hi! I am class STUDENT

Hi! I class SCHOOL. ——————————–

3. Complete the code segment to call print() method of class Question by creating a method named  ‘studentMethod()’.

4. Complete the code segment  to call default constructor first and then any other constructor in the class.

5. Complete the code segment to  debug / complete the program which is intended to print ‘NPTEL JAVA’.

NPTEL Programming In Java Week 1 Assignment Answers 2023

1. Which of the following is NOT a primitive data type in Java??

a. int b. boolean c. S t ring d. char

2. Consider the following program.

[Week 4] NPTEL Programming In Java Assignment Answers 2023

What is the output of the above code?

a. 127 b. -127 c. 129 d. 2

3.Which of the following concept that Java doesn’t support?

a. inheritance b. en c apsulation c. pointer d. arrey

4. Which of the following is not a keyword in java?

a. import b. super c. method d. class

5. Consider the following program.

[Week 4] NPTEL Programming In Java Assignment Answers 2023

What will be the output of the program if it is executed?

a. 12 20 13 b. 12 20 15 c. 12 2 0 015 d. 12 20 F

6 . Match the following java terms with their descriptions?

[Week 4] NPTEL Programming In Java Assignment Answers 2023

a. A-1. B-2, C-3 b. A-2, B-3. C-1 c. A-3, B-2,C-1 d. A-3, B-1.C-2

7. Consider the following program.

[Week 4] NPTEL Programming In Java Assignment Answers 2023

What will be the output of the program if it is executed ?

a. 20 b. 2 C. Compiler error d. 40

8. What is the output of the following code?

[Week 4] NPTEL Programming In Java Assignment Answers 2023

a. null b. true c. false d. 1

9. Which pr o gram is used to compile Java source code into bytecode?

a. javap b. javac C. java d. javad

10. Consider the following program.

[Week 4] NPTEL Programming In Java Assignment Answers 2023

What will be the output of the program if it is executed? a. 50 b. 10 c. Com p iler error d. 5

NPTEL Programming In Java Week 1 Programming Assignment Answers

Complete the code segment  to find the perimeter and area of a circle given a value of radius .

1.You should use Math.PI constant in your program. If radius is zero or less than zero then print ” please enter non zero positive number “.

2. Complete the code segment to find the largest among three numbers x,y, and z. You should use if-then-else construct in Java.

3. Consider First n even numbers starting from zero(0).Complete the code segment to calculate sum of  all the numbers divisible by 3 from 0 to n. Print the sum.

Example: Input: n = 5 ——- 0 2 4 6 8 Even number divisible by 3:0 6 sum:6

4. Complete the code segment to  check whether the number is an Armstrong number or not.

Armstrong Number: A positive number is called an Armstrong number if it is equal to the sum of cubes of its digits for example 153 = 1 3 +5 3 +3 3 , 370, 371, 407, etc.

5. Complete the code segment to  help Ragav , find the highest mark and average mark secured by him in “s” number of subjects.

Leave a comment Cancel reply

Save my name, email, and website in this browser for the next time I comment.

Data Structure And Algorithms Using Java Assignment 3 Answers 2023

In this post we have provided answers of NPTEL Data Structure And Algorithms Using Java Assignment 3. We provided answers here only for reference. Plz, do your assignment at your own knowledge.

NPTEL Data Structure And Algorithms Using Java Assignment 3 Answers 2022

1. What will be the output of following: int arr [] = new int[]; System.out . println (arr) ; a. Garbage Value b. Pointer to Address c. Compile time Error d. None of the above

2. What is the output of the followving code snippet? int arr [] = new int[5] System. out. println (arr) ; a . Garbage Value b. Reference Value c. Compile time Error d. None of the above

Answers will be Uploaded Shortly and it will be Notified on Telegram, So  JOIN NOW

Data Structure And Algorithms Using Java Assignment 3 Answers 2023

3. What is the output of the following code snippet? int arr [] = new int[-5] a. Compilation Error b . Logical Error C. Exception d. None of the above

4. Is the statement in red a legal statement? int[] a = new int[30]: int[] b = new int[50]: a =b; //22 a . Legal Statement b. Compile time error c. Runtime error d. None of these

5. Which of the following is not a legal declaration of array? a. int arr|]= new int[3]: b. int| arr = new int[3]: C. int arr[|]= {1,2,3,4,5}; d. int arr[]= new int[3]{1,2,3};

6. Which of the followving is a linear Data Structure? a . Array b. Graph c. Binary Tree d. Heap Tree

👇 For Week 04 Assignment Answers 👇

7. What will be the output of the given command? int arr[] = new int[5]; System.out.print(arr[5]); a. Compile Time Error b. Garbage Value c. Reference Address d. ArrayIndexOutOfBoundsException

8. What is the default value of Object type array? a. 0 b. ” “ c. False d. null

9. Which of the following returns the length of an Array? a . length b. length() c. size() d. len()

10. Which of the following statement is ? a. Size of an array can be declared at runtime b. Array is a dynamic data structure. c. Same Array can store different data types d . Array is a collection of similar types of elements.

For More NPTEL Answers:-  CLICK HERE

Join Our Telegram:-  CLICK HERE

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

Now, Java programming language is being used for mobile programming, Internet programming, and many other applications compatible to 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, to cope with the current demand of IT industries and solve many problems in their own filed of studies.

COURSE LAYOUT

  • Week 1:  1D array, list and vector, 2D matrices and tables of objects
  • Week 2: Java implementation of 1D and 2D arrays and its operations
  • Week 3:  Linked lists and its various operations, stack and queue
  • Week 4:  Java implementation of linked lists, stack and queue
  • Week 5:  Binary trees: Representation and operations. Variations of binary tree: Binary search tree, Height balanced search tree, Heap tree
  • Week 6:  Java implementation of binary trees and its variations
  • Week 7:  Graph : Structure, representation and operations
  • Week 8:  Java implementations of graph data structures
  • Week 9:  Algorithms (Part-I): Searching and sorting algorithms
  • Week 10: Java implementation of Part-I algorithms
  • Week 11: Algorithms (Part-II): Greedy algorithms, shortest path algorithms
  • Week 12: Java implementation of Part-II algorithms

CRITERIA TO GET A CERTIFICATE

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.

Leave a Comment Cancel reply

You must be logged in to post a comment.

  • Tuesday, April 16, 2024

NPTEL Programming in Java Week3 Assignment Solution July 2023

NPTEL-Programming-in-Java-Week3-Assignment-Solution-July-2023

NPTEL Programming in Java Week3 All Programming Assignment Solutions – July 2023 | Swayam. With the growth of Information and Communication Technology, there is a need to develop large and complex software.

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.

Now, Java programming language is being used for mobile programming, Internet programming, and many other applications compatible to distributed systems.

This course aims to cover the essential topics of Java programming so that the participants can improve their skills to cope with the current demand of IT industries and solve many problems in their own filed of studies.

COURSE LAYOUT

  • Week 1 : Overview of Object-Oriented Programming and Java
  • Week 2 : Java Programming Elements
  • Week 3 : Input-Output Handling in Java
  • Week 4 : Encapsulation
  • Week 5 : Inheritance
  • Week 6 : Exception Handling
  • Week 7 : Multithreaded Programming
  • Week 8 : Java Applets and Servlets
  • Week 9 : Java Swing and Abstract Windowing Toolkit (AWT)
  • Week 10 : Networking with Java
  • Week 11: Java Object Database Connectivity (ODBC)
  • Week 12: Interface and Packages for Software Development

Course Name : “Programming in Java 2023”

Question : 1 This program is related to the generation of Fibonacci numbers.

For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8 th  Fibonacci number.

Question : 2  Define a class Point with two fields x and y each of type double . Also, define a method distance(Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double.

Question : 3 A class Shape is defined with two overloading constructors in it. Another class Test1 is partially defined which inherits the class Shape.  The class Test1 should include two overloading constructors as appropriate for some object instantiation shown in main() method . You should define the constructors using the super class constructors. Also, override the method calculate( ) in Test1 to calculate the volume of a Shape.

Question : 4 This program to exercise the call of static and non-static methods. A partial code is given defining two methods, namely sum( ) and multiply ( ) . You have to call these methods to find the sum and product of two numbers. Complete the code segment as instructed. 

Question : 5 Complete the code segment to swap two numbers using call by object reference.

IMAGES

  1. NPTEL: Programming in Java Assignment 3 Quiz Answers |Week 3 Quiz

    java nptel assignment answers 2023 week 3

  2. {Week 3} NPTEL Data Structure And Algorithms Using Java Assignment

    java nptel assignment answers 2023 week 3

  3. Data Mining || NPTEL week 3 assignment answers 2023 #nptel #datamining

    java nptel assignment answers 2023 week 3

  4. Programming in Java

    java nptel assignment answers 2023 week 3

  5. NPTEL

    java nptel assignment answers 2023 week 3

  6. Nptel java week 3 Assignment Solutions..!!! Swayam

    java nptel assignment answers 2023 week 3

VIDEO

  1. NPTEL Programming In Java WEEK2 Programming Assignment Solutions

  2. NPTEL Programming In Java WEEK 8 Quiz Assignment Solutions💡

  3. NPTEL Programming In Java WEEK3 Quiz Assignment Solutions💡

  4. NPTEL Programming In Java Week 6 Assignment 6 Answers Solution Quiz

  5. NPTEL Programming In Java WEEK 11 Quiz Assignment Solutions💡

  6. NPTEL Programming In Java WEEK0 Quiz Assignment Solutions💡

COMMENTS

  1. Programming in Java NPTEL Assignment Answers of Week 3 (2023)

    Programming Assignment Answers. Week 3 : Programming Assignment 1. Define a class Point with two fields x and y each of type double. Also, define a method distance (Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double. Complete the code segment given below.

  2. NPTEL Programming In Java WEEK3 Quiz Assignment Solutions

    🔊 NPTEL Programming In Java WEEK3 Quiz Assignment Solutions | Swayam July 2023 | IIT Kharagpur | GATE NPTEL⛳ABOUT THE COURSE :With the growth of Information...

  3. NPTEL Programming In Java WEEK3 Programming Assignment ...

    🔊 Programming In Java NPTEL Elective Course 2023 | GATE NPTEL | https://techiestalk.in/NPTEL Programming In Java WEEK3 Programming Assignment Solutions | Sw...

  4. Programming in Java nptel quiz solutions 2023 week 3 solutions

    programming in java nptel assignment solutions week 3. Consider the following piece of code. class A {public void display { System.out.println("A's display method");}} ... Introduction To Packet Tracer Quiz Answers 2023. Nptel Design And Analysis Of Algorithms Week 1 Quiz Solutions. NPTEL Soft Skills Assignment Answers 2023. News. Breaking ...

  5. NPTEL Programming In Java WEEK 3 Quiz Assignment Solutions

    🔊 Programming In Java NPTEL Elective Course 2023 | https://techiestalk.in/🔗Programming Assignment Link : https://bit.ly/3K0fba7NPTEL Programming In Java WE...

  6. NPTEL Programming in Java Week3 Assignment Solution 2023

    Course Name : "Programming in Java 2023". Question : 1 This program is related to the generation of Fibonacci numbers. For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8th Fibonacci number. Question : 2 Define a class Point with two fields x and y each of type double. Also, define a method distance (Point p1 ...

  7. bkkothari2255/Programming_In_Java_NPTEL

    Java Week 6:Q2 In the following program, a thread class ThreadRun is created using the Runnable interface which prints "Thread using Runnable interface". Complete the main class to create a thread object of the class ThreadRun and run the thread, Java Week 6:Q3 A part of the Java program is given, which can be completed in many ways, for example using the concept of thread, etc. Follow the ...

  8. Programming In Java

    3. There will be sections under the course outline "Online Programming Test (October 22)" that will have the online programming exam link. 4. You can click on this link and attempt the programming exam. Date: October 22, 2022 (Saturday) (Duration of the session will be 2 hrs) First Session: 10.00AM - 12.00PM.

  9. nptel-solutions · GitHub Topics · GitHub

    Add this topic to your repo. To associate your repository with the nptel-solutions topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

  10. Programming in Java

    Week 10: Networking with Java. Week 11: Java Object Database Connectivity. Week 12: Interface and Packages for Software Development. NOTE: You can check your answer immediately by clicking show answer button. Programming in Java NPTEL 2023 Week 3 Quiz Solutions" contains 10 questions. Now, start attempting the quiz.

  11. NPTEL Programming In Java Week 3 Assignment Answers 2023

    NPTEL Programming In Java Week 3 Assignment Answers. Q1. Which of the following statement (s) is/are correct about the constructor? Answer: a. Constructors cannot be synchronized in Java. b. Java does not provide a default copy constructor. d. "this" or "super" can be used in a constructor.

  12. NPTEL Week 3 Assignment: Programming in Java July 2023

    Immerse yourself in the world of Java programming with our comprehensive guide to NPTEL's Week 3 Assignment in the course "Programming in Java" for July 2023...

  13. Programming-in-Java-NPTEL/README.md at master

    Java Week 1:Q1 To find the perimeter and area of a circle given a value of radius. Java Week 1:Q2 To find the largest among three numbers x, y, and z. Java Week 1:Q3 Consider First n even numbers starting from zero (0) and calculate sum of all the numbers divisible by 3 from 0 to n. Print the sum. Java Week 1:Q4 To check whether the number is ...

  14. Programming In Java

    The assignment 0 for the course Programming In Java has been released. This assignment is based on a prerequisite of the course. Kindly note that marks obtained in this assignment will not be considered for the final assessment. You can find the assignment under Week 0 unit on the left-hand side of your screen.

  15. NPTEL Programming In Java Assignment 3 Answers July 2023

    NPTEL Programming In Java Week 3 Programming Assignment Solutions 2023. Q1. This program is related to the generation of Fibonacci numbers. For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8th Fibonacci number. A partial code is given and you have to complete the code as per the instruction given .

  16. NPTEL Programming in Java Assignment 3 Answers 2023

    Hello Learners, In this Post, you will find NPTEL Programming in Java Assignment 3 Week 3 Answers 2023. All the Answers are provided below to help the students as a reference don't straight away look for the solutions. NPTEL Programming in Java Assignment 4 Answers Join Group👇. Note: First try to solve the questions by yourself. If you ...

  17. NPTEL Programming In Java Week 3 Assignment 3 Answers ...

    Programming In Java Week 3 Assignment 3 Answers Solution Quiz | 2023-JanJoin our Telegram Channel : https://telegram.me/SwayamSolverNPTEL - Programming in Ja...

  18. NPTEL Programming In Java Week 3 Assignment 3 Answers

    Solution: //Code. These are NPTEL Programming In Java Week 3 Assignment 3 Answers. Question 2. Define a class Point with two fields x and y each of type double. Also, define a method distance (Point p1, Point p2) to calculate the distance between points p1 and p2 and return the value in double. Solution:

  19. [Week 4] NPTEL Programming In Java Assignment Answers 2023

    Answer :- d NPTEL Programming In Java Week 3 Programming Assignment Solutions 2023. Q1. This program is related to the generation of Fibonacci numbers. For example: 0,1, 1,2, 3,5, 8, 13,… is a Fibonacci sequence where 13 is the 8th Fibonacci number. A partial code is given and you have to complete the code as per the instruction given ...

  20. Data Structure And Algorithms Using Java Assignment 3 Answers 2023

    a. ArrayList is a synchronized data structure, making it thread-safe. b. ArrayList allows duplicate elements and maintains insertion order. c. ArrayList is a resizable array that automatically increases its size when elements are added. d. ArrayList can only store primitive data types like int, double, and char.

  21. NPTEL Programming in Java Week3 Assignment Solution July 2023

    Course Name : "Programming in Java 2023". Question : 4 This program to exercise the call of static and non-static methods. A partial code is given defining two methods, namely sum ( ) and multiply ( ). You have to call these methods to find the sum and product of two numbers. Complete the code segment as instructed.

  22. Programming in Java|| WEEK-3 Quiz assignment Answers 2023||NPTEL||#

    Guys!!!For Exam preparation PDF MCQs, mail us at:[email protected] bits === 300/-(access for upto 3 members)300 bits === 500/-(access for upto 5 members)

  23. Programming in Java|| WEEK-3 Quiz assignment Answers 2023||NPTEL||#

    Programming in Java|| WEEK-3 Quiz assignment Answers 2023||NPTEL||#SKumarEdu

  24. Deep Learning Week 12 || NPTEL ANSWERS 2024

    Deep Learning Week 12 || NPTEL ANSWERS 2024 #nptel #nptel2024 || NPTEL 2024ABOUT THE COURSE : "Deep Learning"🚀 Dive into the fascinating world of Deep Learn...