Programming in Java Nptel Week 4 Assignment Answers

Are you looking for Programming in Java Nptel Week 3 Assignment Answers? You’ve come to the right place! Access the latest and most accurate solutions for your Week 3 assignment in the Programming in Java course

Course Link:  Click Here

Table of Contents

Programming in Java Nptel Week 4 Assignment Answers

Programming in Java Nptel Week 4 Assignment Answers (July-Dec 2024)

1. Which of these access specifiers must be used for main() method? a) private b) public c) protected d) default

Answer:b) public

2. What is the output of the below Java Code Snippet with protected access modifier?

a) 100 marks b) No output c) Compiler error d) None of the above

Answer:a) 100 marks

3. What is the process by which we can control what parts of a program can access the members of a class? a) Polymorphism b) Augmentation c) Encapsulation d) Recursion

Answer : c) Encapsulation

4. Consider the 2 programs:

a) Both pre-increment and post-increment operators become pre-increment during print. b) Both pre-increment and post-increment operators become post-increment during print. c) Both Main1 and Main2 classes give the same output. d) Pre-increment and post-increment operators don’t work during print.

Answer: c) Both Main1 and Main2 classes give the same output.

5. Which is the least restrictive access modifier in Java? a) public b) private c) protected d) default

Answer: a) public

6. Choose the correct syntax of a Java Package below. a) package PACKAGE_NAME; b) package PACKAGE_NAME. ;

c) pkg PACKAGE_NAME;

d) pkg PACKAGE_NAME. ;

Answer: a) package PACKAGE_NAME;

7. What is the default package in Java? a) It is a package that contains all built-in classes. b) It is a package that needs to be defined as default. c) It is a package that does not have a name. d) It is a package used for importing external libraries.

Answer: c) It is a package that does not have a name.

8. A package is a collection of: a) classes b) interfaces c) editing tools d) classes and interfaces

Answer: d) classes and interfaces

9. In Java, can a subclass in a different package access a superclass’s protected method? a) Yes, without any restrictions. b) Yes, but only if they are in the same package. c) No, protected methods are not accessible by subclasses. d) No, protected methods are only accessible within the same class.

Answer: a) Yes, without any restrictions.

10. Consider the program given below. What will be the output if the program is executed?

a) It will give compile-time error b) It will give run-time error c) 1.0 d) 3.14

Answer: c) 1.0

All Weeks of Programming In Java:  Click Here

For answers to additional Nptel courses, please refer to this link:  NPTEL Assignment Answers

Programming in Java Nptel Week 4 Assignment Answers (Jan-Apr 2024)

Course name: Programming In Java

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

Q1. Which is the keyword used to specify the default access modifier in java? a. default b. DEFAULT c. package d. “There is no keyword”

Answer: d. “There is no keyword”

Q2. What is the output of the Java program with access modifiers? a. FOUR b. Runtime Error c. null d. Compiler Error

Answer: d. Compiler Error

Q3. What is the output of the below Java Code Snippet with access modifiers? a. Weeks = 0 b. Weeks = 12 c. No Error, blank output d. Compiler error

Answer: b. Weeks = 12

These are Programming in Java Nptel Week 4 Assignment Answers

Q4. Which of the following is the correct representation of access modifiers in order of increasing visibility? a. private < default < protected < public b. private < protected < default < public c. public < protected < default < private d. protected < default < private < public

Answer: a. private < default < protected < public

Q5. Which of the following package stores all the standard java classes? a. java.util b. java.lang c. java.java d. java.packages

Answer: b. java.lang

Q6. Which of the following is/are true about packages in Java? 1. Every class is part of some package. 2. All classes in a file are part of the same package. 3. If no package is specified, the classes in the file go into a special unnamed package. 4. If no package is specified, a new package is created with folder name of class and the class is put in this package. a. Only 1, 2 and 3 b. Only 1, 2 and 4 c. Only 4 d. Only 1 and 3

Answer: a. Only 1, 2 and 3

Q7. What is the output of following Java program? a. Compiler Error b. Runtime Error c. Welcome! d. None of the above

Answer: c. Welcome!

Q8. Which of these access specifiers can be used for an interface? a. Public b. Protected c. private d. All of the mentioned

Answer: a. Public

Q9. Which of the following is the correct way of implementing an interface salary by class manager? a. class Java extends NPTEL {} b. class Java implements NPTEL {} c. class Java imports NPTEL {} d. none of the mentioned

Answer: b. class Java implements NPTEL {}

Q10. What will be the output of the following Java program? a. 0 b. 2 c. 4 d. Compiler Error

Answer: c. 4

More Weeks of Programming In Java:  Click here

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

Programming in Java Nptel Week 4 Assignment Answers (July-Dec 2023)

Course Name: Programming In Java

Programming Assignment

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

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

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

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

Question 5 Modify the code segment to print the following output. —————–OUTPUT——————- Circle: This is Shape1 Circle: This is Shape2 ————————————————-

More Nptel Courses:  Click here

Programming in Java Nptel Week 4 Assignment Answers (Jan-Apr 2023 )

Course Name: Programming in Java

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

Answer: b. package < package name >;

Q2. Which of the following source files cannot be included in a package? a. classes b. interfaces c. enumerations d. data

Answer: d. data

Q3. Which of the following is/are used to access a public package? a. Refer to the member by its fully qualified name b. Import the package member c. Import the member’s entire package d. Import is not mandatory

Answer: a, b, c

Q4. Which of the following statement(s) 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 keyword is a non-access modifier.

Answer: a. Java packages are hierarchical.

Q5. 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 error c. 1.0 d. 3.14

Answer: a. It will give compile-time error

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

Answer: b, d

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

Answer: a. JDK

Q8. Which of the following statement(s) is/are correct? a. Java byte code is machine dependent. b. Java byte code is generated by the compiler. c. Java byte code is generated by the interpreter. d. Java byte code is machine independent.

Q9. Which of the following is an advantage of methods? a. Code re-usability b. Platform independence. c. Fast execution of codes. d. Removes compilation error.

Answer: a. Code re-usability

Q10. Consider the following programs: Choose correct statement about the output of this code segment. a. Both pre-increment and post-increment operators becomes pre-increment during print. b. Both pre-increment and post-increment operators becomes post-increment during print. c. Both Mainl and Main2 classes give the same output. d. Pre-increment and post-increment operators don’t work during print.

Answer: c. Both Mainl and Main2 classes give the same output.

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.

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

The program in this assignment is attempted to print the following output: —————–OUTPUT——————- This is small This is medium This is large This is extra-large ————————————————- However, the code is intentionally injected with some bugs. Debug the code to execute the program successfully.

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

Modify the code segment to print the following output. —————–OUTPUT——————- Circle: This is Shape1 Circle: This is Shape2 ————————————————-

More Weeks of Programming In Java:  Click Here

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

Programming in Java Nptel Week 4 Assignment Answers (July-Dec 2022)

Course Name: Programming in Java NPTEL

Link of Course:  Click Here

Q1. Which of these is a mechanism for naming and visibility control of a class and its content? a. Objects. b. Intertaces. c. Packages. d. Both a and b

Answer: c. Packages.

Q2. Which of the following is false statement about packages in java? a. Packages are used to organize a set of related classes and interfaces. b. Packages are used for preventing naming conflicts. c. Packages provide code reusabilty. d. Packages cannot be considered as data encapsulation.

Answer: d. Packages cannot be considered as data encapsulation.

Q3. Which of the following is/are interface(s) of java.awt package? a. CardLayout b. Checkbox c. Choice d. MeuContainer

Answer: d. MeuContainer

Q4. Which of the following statement(s) is/are false? 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. Cloneable is a class present in java.lang package. d. Thread is a class present in java.lang package.

Answer: c. Cloneable is a class present in java.lang package.

Q5. 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 error c. 1.0 d. 3.14

Answer: c. 1.0

Q6. Which of the following packages is used to includes utility classes like Calendar, Collections, Date? a. java.lang b. java.util c. java.net d. java.awt

Answer: b. java.util

Q7. Which of the following statement(s) is/are false? a. Comparable interface is present in java.lang package b. Iterator interface is present in java.util package. c. Compare() is a method used in Comparable interface. d. Serializable interface is present in java.io package.

Answer: c. Compare() is a method used in Comparable interface.

Q8. Image size is too small for OCR Engine 2. Please use Engine 1. a. public interface Question { void method(int value){ System.out.println(“Nptel”); } b. public interface Question { void method(int value){} c. public interface Question { } d. public interface Question { default void method(int value){ System.out.println(“Nptel”);}

Answer: b, c, d

Q9. Which of the following is false statement about interface in java? a. An interface can extend other interfaces. b. The interface body can contain abstract methods, default methods, and static methods. c. All constant values defined in an interface are implicitly public, static, and final. d. A static method in an interface are implicitly private.

Answer: d. A static method in an interface are implicitly private.

Q10. Which of these access specifier(s) can be used for an interface? a. Public b. Protected c. Private d. Both b and c

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

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

Question 5 Modify the code segment to print the following output. OUTPUT Circle: This is Shape1 Circle: This is Shape2

image-77

  • Thursday, September 26, 2024

NPTEL Programming in Java Week 4 Assignment Solution 2023

Programming-In-Java-Week4-Assignment-Solutions

NPTEL Programming in Java Week 4 All Programming Assignment Solutions – Jan 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 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.

Question : 2  Complete the code segment  to print the current year . Your code should compile successfully.

Question : 3 The program in this assignment is attempted to print the following output:

Question : 4 Complete the code segment to  call the default method in the interface Second then First.

Question : 5 Modify the code segment  to print the following output.

swayam-logo

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

Programming In Java - Unproctored Exam Test - Session 1

Dear Students, The questions for the Unproctored Programming Exam Test are available now in the course page. Please fine the questions under the course outline  Programming Exam 2022 (First Session) (10am - 12pm) You can access the questions in the below link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=216 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=217 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=218 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=219 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=220 Best of Luck! -NPTEL Team

Programming In Java - Unproctored Exam Test - Session 2

Dear Students, The questions for the Unproctored Programming Exam Test are available now in the course page. Please fine the questions under the course outline  Programming Exam 2022 (2nd Session) (8pm - 10pm) You can access the questions in the below link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=221 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=222 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=223 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=224 https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=225 Best of Luck! -NPTEL Team

Reminder 5: Programming In Java : Online Programming test (July 2022)

Dear Learners, The criteria for certification of this course " Programming In Java " is different because of the online programming exam component.  Please read the following carefully. Final score = 25% of Assignment score + 50% of Online exam score (Proctored) + 25% of Programming exam (Unproctored) - Unproctored means, candidates will be taking the exam from college/home without NPTEL team present for monitoring the test- with access to all resources. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  How to take the online programming test 1. Go to:  https://onlinecourses.nptel.ac.in/noc22_cs102/ 2. Log in using the same email id which you have been accessing the course (i.e. using to watch videos & submit Assignments) 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   Second Session: 8.00PM - 10.00PM You can take either one of the sessions. If you attend both sessions, we will take best score out of them. Note: 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 that were conducted in Jan 2022 to become eligible for the e-certificate, wherever applicable. If not, please submit assignments again in the July 2022 course and also participate in the non-proctored programming exams to become eligible for the e-certificate in July 2022. We will not be having new assignments or unproctored exams in this course. You can also submit assignments again and participate in the non-proctored programming exams if you want to take fresh assignments or need to improve your previous scores. Note: - You can take the exam from your college or home. - The exam has to be taken in pc or laptop.  DO NOT TRY TO TAKE THE EXAM USING YOUR MOBILE PHONE. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  - If you encounter any issues during the exam, please write to   [email protected] IMPORTANT: CERTIFICATION CRITERIA Candidates have to come to the exam center and take the theory test on  October 30, 2022 It is mandatory to take the Proctored in-person final exam to obtain a certificate. To pass the course and get a certificate: Assignment score >= 40/100 AND Programming exam score >= 40/100 AND Proctored exam score >= 40/100         OR Assignment score >= 10/25 AND Programming exam score >= 10/25 AND Proctored exam score >= 20/50    All 3 conditions have to be satisfied. All the best to the candidates! -NPTEL Team.

Reminder 4: Programming In Java : Online Programming test (July 2022)

Reminder 3: programming in java : online programming test (july 2022), reminder 2: programming in java : online programming test (july 2022), reminder 1: programming in java : online programming test (july 2022).

Dear Learners, The criteria for certification of this course " Programming In Java " is different because of the online programming exam component.  Please read the following carefully. Final score = 25% of Assignment score + 50% of Online exam score (Proctored) + 25% of Programming exam (Unproctored) - Unproctored means, candidates will be taking the exam from college/home without NPTEL team present for monitoring the test- with access to all resources. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  How to take the online programming test 1. Go to:  https://onlinecourses.nptel.ac.in/noc22_cs102/ 2. Log in using the same email id which you have been accessing the course (i.e. using to watch videos & submit Assignments) 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   Second Session: 8.00PM - 10.00PM You can take either one of the sessions. If you attend both sessions, we will take best score out of them. Note: 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 that were conducted in Jan 2022 to become eligible for the e-certificate, wherever applicable. If not, please submit assignments again in the July 2022 course and also participate in the non-proctored programming exams to become eligible for the e-certificate in July 2022. We will not be having new assignments or unproctored exams in this course. You can also submit assignments again and participate in the non-proctored programming exams if you want to take fresh assignments or need to improve your previous scores. LINK to enroll in the current course:  https://onlinecourses.nptel.ac.in/noc22_cs102/preview Note: - You can take the exam from your college or home. - The exam has to be taken in pc or laptop.  DO NOT TRY TO TAKE THE EXAM USING YOUR MOBILE PHONE. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  - If you encounter any issues during the exam, please write to   [email protected] IMPORTANT: CERTIFICATION CRITERIA Candidates have to come to the exam center and take the theory test on  October 30, 2022 It is mandatory to take the Proctored in-person final exam to obtain a certificate. To pass the course and get a certificate: Assignment score >= 40/100 AND Programming exam score >= 40/100 AND Proctored exam score >= 40/100         OR Assignment score >= 10/25 AND Programming exam score >= 10/25 AND Proctored exam score >= 20/50    All 3 conditions have to be satisfied. All the best to the candidates! -NPTEL Team.

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

Dear Candidate, Here is a golden opportunity for those who had previously enrolled in this course during the Jan 2022 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 2022 and we are giving you another chance to write the exam in October  2022 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:    October 30 2022 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 in the previous semester 6. If you do enroll to July 2022 course, we will take the best average assignment scores/non-proctored programming exam score across the two semesters NOTE: 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 that were conducted in Jan 2022 to become eligible for the e-certificate, wherever applicable. If not, please submit assignments again in the July 2022 course & and also participate in the non-proctored programming exams to become eligible for the e-certificate. We will not be having new assignments or unproctored exams in the previous semester's(Jan 2022) course.  You can also submit assignments again and participate in the non-proctored programming exams if you want to take fresh assignments or need to improve your previous scores. RECOMMENDATION: If you want to take new assignments and an unproctored exam or brush up on your lessons for the exam, please enroll in the July 2022 course. LINK to enroll in the current course:   https://onlinecourses.nptel.ac.in/noc22_cs102/preview 7. Exam fees:  If you register for the exam and pay before Sep 12, 2022, 10:00 AM , Exam fees will be Rs. 1000/- per exam.   If you register for exam before Sep 12, 2022, 10:00 AM and have not paid or if you register between Sep 12, 2022, 10:00 AM & Sep 16, 2022, 10:00 AM , Exam fees will be Rs. 1500/- 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: Sep 16, 2022, 10:00 AM (Friday).   10. Mode of payment: Online payment - debit card/credit card/net banking/UPI. 11. 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.  12. 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.  13. Data changes:  Last date for data changes: Sep 16, 2022, 10:00 AM:  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: -  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.  14. LAST DATE FOR CANCELLING EXAMS and getting a refund: Sep 16, 2022, 10:00 AM   15. 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,  NPTEL TEAM

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!

Dear Candidate, The exam scores and E Certificates have been released for April 2022 Exam(s). Step 1 - Are the results of my courses released? Please check the Results published courses list in the below links.:- April 2022 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 2022, irrespective of which Assignment score that will be considered. Thanks and Best wishes. NPTEL Team

Programming In Java : Final Feedback Form

Dear student, 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/1SurfaxWXMxW5rqqBouZ0hf4k1pAfxrNNOnj3bY6tEm0/viewform We thank you for your valuable time and feedback. Thanks & Regards, -NPTEL Team

NPTEL April Exams

Dear Leaner,

_NPTEL Team

Best of Luck for your Exam !!

nptel programming in java assignment solutions week 4

Hall Tickets for April Exams are released !

  • If there are any mistakes in the hall ticket such as another person's photo/sign/name, please fill the following Google form & mark the corrections.
  • GForm Link -  https://forms.gle/aqeMCN15MpnTQPpV9 (Deadline - April 22, 2022 at 11.00 AM)
  • These corrections will be reflected in your e-certificate only.
  • No changes will be made in the hall ticket.
  • We will check and verify the same and send an email confirmation.
  • You will still be allowed to write the exam. We will NOT make any changes in the hall ticket issued to you. Please come to the exam centre with the printout of the same hall ticket, along with a valid govt. approved photo id card.
  •  If the photo/sign/name is yours, we WILL NOT upload any updated photo/sign, etc.
  •  Requests for changes in exam city, exam center, session, or course will NOT be entertained.

Programming In Java - Assignment- 12 Solution Released

Dear Participants, The  Assignment- 12  of  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/1pYxYT1sZMUy8jvvjriGs_TNbmjoKvbl6/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Assignment- 11 Solution Released

Dear Participants, The  Assignment- 11  of  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/1dITVo714iX5Q3am_pkx-xWhPtnHTAfX4/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming in Java - Unproctored Exam Test - Session 1

Dear Students, The questions for the Unproctored Programming Exam Test are available now in the course page. Please fine the questions under the course outline  Programming Exam April 2022 (First Session): (10.00AM - 12:00PM).  You can access the questions in the below link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=217 https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=218 https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=219 https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=222 https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=223 Best of Luck - NPTEL  team

Programming in Java - Unproctored Exam Test - Session 2

Dear Students, The questions for the Unproctored Programming Exam Test are available now in the course page. Please fine the questions under the course outline Programming Exam April 2022 (Second Session): (8.00PM - 10:00PM). You can access the questions in the below link:  https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=224   https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=225 https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=227   https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=229 https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=230  Best of Luck -NPTEL team

Reminder 5 : Programming in Java : Online Programming test

Dear Candidate The criteria for certification of this course " Programming in Java " is different because of the online programming exam component.  Please read the following carefully. Final score = 25% of Assignment score + 50% of Online exam score (Proctored) + 25% of Programming exam (unproctored).  - Unproctored means, candidates will be taking the exam from college/home without NPTEL team present for monitoring the test- with access to all resources. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  How to take the online programming test 1. Go to:  https://onlinecourses.nptel.ac.in/noc22_cs47/course 2. Log in using the same email id which you have been accessing the course (i.e. using to watch videos & submit Assignments) 3. There will be sections under the course outline  "Programming Test - (April 16)"   that will have the online programming exam link.   4. You can click on this link and attempt the programming exam. Date:  April  16,2022  (Saturday ) First Session: 10.00AM - 12.00PM  (Duration of the session will be 2 hrs) Second Session: 8.00PM - 10.00PM  (Duration of the session will be  2 hrs ) Note - You can take any one or both sessions too; the best score will be considered towards the final certification score. - You can take the exam from your college or home. - The exam has to be taken in pc or laptop.  DO NOT TRY TO TAKE THE EXAM USING YOUR MOBILE PHONE. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  - If you encounter any issues during the exam, please write to   [email protected] IMPORTANT: CERTIFICATION CRITERIA     Candidates have to come to the exam center and take the theory test on  April 24, 2022.     It is mandatory to take the Proctored in-person final exam to obtain a certificate.     To pass the course and get a certificate:   Assignment score >= 40/100 AND Programming exam score >= 40/100 AND Proctored exam score >= 40/100         OR   Assignment score >= 10/25 AND Programming exam score >= 10/25 AND Proctored exam score >= 20/50    All 3 conditions have to be satisfied. All the best to the candidates! -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/1yG6Rf7aGvrwCL9Y7GhiI40q-bkva6L93vkkRaiL0aiE/viewform

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/noc22_cs47/unit?unit=94&lesson=95

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/noc22_cs47/unit?unit=94&assessment=215

Programming Assignment 1  for  Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=202 Programming Assignment 2  for  Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=197 Programming Assignment 3  for  Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=198 Programming Assignment 4  for  Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=199 Programming Assignment 5  for  Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=200

The Assignment has to be submitted on or before Wednesday, 20-04-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 21 -04-2022, 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

Reminder 3 : Programming in Java : Online Programming test

Dear Candidate The criteria for certification of this course " Programming in Java " is different because of the online programming exam component.  Please read the following carefully. Final score = 25% of Assignment score + 50% of Online exam score (Proctored) + 25% of Programming exam (unproctored).  - Unproctored means, candidates will be taking the exam from college/home without NPTEL team present for monitoring the test- with access to all resources. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  How to take the online programming test 1. Go to:  https://onlinecourses.nptel.ac.in/noc2 2-cs47/ 2. Log in using the same email id which you have been accessing the course (i.e. using to watch videos & submit Assignments) 3. There will be sections under the course outline  "Programming Test - (April 16)"   that will have the online programming exam link.   4. You can click on this link and attempt the programming exam. Date:  April  16,2022  (Saturday ) First Session: 10.00AM - 12.00PM  (Duration of the session will be 2 hrs) Second Session: 8.00PM - 10.00PM  (Duration of the session will be  2 hrs ) Note - You can take any one or both sessions too; the best score will be considered towards the final certification score. - You can take the exam from your college or home. - The exam has to be taken in pc or laptop.  DO NOT TRY TO TAKE THE EXAM USING YOUR MOBILE PHONE. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter.  - If you encounter any issues during the exam, please write to   [email protected] IMPORTANT: CERTIFICATION CRITERIA     Candidates have to come to the exam center and take the theory test on  April 24, 2022.     It is mandatory to take the Proctored in-person final exam to obtain a certificate.     To pass the course and get a certificate:   Assignment score >= 40/100 AND Programming exam score >= 40/100 AND Proctored exam score >= 40/100         OR   Assignment score >= 10/25 AND Programming exam score >= 10/25 AND Proctored exam score >= 20/50    All 3 conditions have to be satisfied. All the best to the candidates! -NPTEL Team.

Reminder 2 : Programming in Java : Online Programming test

Programming in java - assignment- 9 solution released.

Dear Participants, The  Assignment- 9  of  Week- 9  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/1SOs61LXM1htopoWozjMKtIEzWrjBjBlI/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 10 Feedback Form

Programming in java - week 11 content is live now.

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/noc22_cs47/unit?unit=87&lesson=88

Assignment 11 for Week 11 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=87&assessment=213

Programming Assignment 1  for  Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=150 Programming Assignment 2  for  Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=151 Programming Assignment 3  for  Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=152 Programming Assignment 4  for  Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=153 Programming Assignment 5  for  Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=154

The Assignment has to be submitted on or before Wednesday, 13-04-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 14 -04-2022, 23:59 IST.

Exam Format - April 24, 2022

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

Reminder 1 : Programming in Java : Online Programming test

Programming in java - week 10 content is live now.

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/noc22_cs47/unit?unit=80&lesson=81

Assignment 10 for Week 10 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=80&assessment=211

Programming Assignment 1  for  Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=205 Programming Assignment 2  for  Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=206 Programming Assignment 3  for  Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=207 Programming Assignment 4  for  Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=208 Programming Assignment 5  for  Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=209

The Assignment has to be submitted on or before Wednesday, 06-04-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 07 -04-2022, 23:59 IST.

Programming In Java - Assignment- 8 Solution Released

Dear Participants, The  Assignment- 8  of  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/1_S_tdA1U-Ej9MhaVrrG6wT4s3WoAYzA3/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

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

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/noc22_cs47/unit?unit=73&lesson=74

Assignment 9 for Week 9 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=73&assessment=203

Programming Assignment 1  for  Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=191 Programming Assignment 2  for  Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=192 Programming Assignment 3  for  Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=193 Programming Assignment 4  for  Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=194 Programming Assignment 5  for  Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=195

The Assignment has to be submitted on or before Wednesday, 30-03-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 31 -03-2022, 23:59 IST.

Programming In Java - Week 9 Feedback Form

Programming in java - week 8 feedback form, programming in java - assignment- 7 solution released.

Dear Participants, The  Assignment- 7  of  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/1JjoXDAdyjhKmI4wUpbLWFQmYAlC-1baJ/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Assignment- 6 Solution Released

Dear Participants, The  Assignment- 6  of  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/10m1VDM-mtUK5cQj2Yr1OuY6oAjDtcj1V/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 7 Feedback Form

Programming in java - week 8 content is live now.

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/noc22_cs47/unit?unit=66&lesson=67

Assignment 8 for Week 8 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=66&assessment=189

Programming Assignment 1  for  Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=145 Programming Assignment 2  for  Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=146 Programming Assignment 3  for  Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=147 Programming Assignment 4  for  Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=148 Programming Assignment 5  for  Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=149

The Assignment has to be submitted on or before Wednesday, 23-03-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 24 -03-2022, 23:59 IST.

Programming In Java - Week 6 Feedback Form

Programming in java - week 7 content is live now.

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/noc22_cs47/unit?unit=59&lesson=60

Assignment 7 for Week 7 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=59&assessment=187

Programming Assignment 1  for  Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=182 Programming Assignment 2  for  Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=183 Programming Assignment 3  for  Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=184 Programming Assignment 4  for  Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=185 Programming Assignment 5  for  Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=186

The Assignment has to be submitted on or before Wednesday, 16-03-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 17 -03-2022, 23:59 IST.

Programming In Java - Assignment- 5 Solution Released

Dear Participants, The  Assignment- 5  of  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/14t1aB_dzSNGMnjMF6QegcAEk1AJJdGG2/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming in Java study-materials

The link for study materials of the entire course as in the lecture video is not working. You are advised to follow the below link for accessing the materials  ( Object Oriented Programming with Java ) Programming in Java study-materials:   https://cse.iitkgp.ac.in/~dsamanta/java/index.htm

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

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/noc22_cs47/unit?unit=52&lesson=53

Assignment 6 for Week 6 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=52&assessment=180

Programming Assignment 1  for  Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=174 Programming Assignment 2  for  Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=175 Programming Assignment 3  for  Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=177 Programming Assignment 4  for  Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=176 Programming Assignment 5  for  Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=179

The Assignment has to be submitted on or before Wednesday, 09-03-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 10 -03-2022, 23:59 IST.

Programming In Java - Week 5 Feedback Form

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 - Assignment- 4 Solution Released

Dear Participants, The  Assignment- 4  of  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/1mAJHE4uof3WQE-cDsg6ewt6Wlpc3CQYb/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 4 Feedback Form

Programming in java - week 5 content is live now.

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/noc22_cs47/unit?unit=45&lesson=46

Assignment 5 for Week 5 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=45&assessment=172

Programming Assignment 1  for  Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=140 Programming Assignment 2  for  Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=141 Programming Assignment 3  for  Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=142 Programming Assignment 4  for  Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=143 Programming Assignment 5  for  Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=144

The Assignment has to be submitted on or before Wednesday, 02-03-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 03 -03-2022, 23:59 IST.

Programming In Java - Assignment- 3 Solution Released

Dear Participants, The Assignment- 3 of 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/10ZbtZy77pDRi0WCcalfgQNr5PKh84CkU/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming in Java : Online Programming test

Programming in java - week 4 content is live now.

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/noc22_cs47/unit?unit=38&lesson=39

Assignment 4 for Week 4 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=38&assessment=169

Programming Assignment 1  for  Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=164 Programming Assignment 2  for  Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=165 Programming Assignment 3  for  Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=166 Programming Assignment 4  for  Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=167 Programming Assignment 5  for  Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=168

The Assignment has to be submitted on or before Wednesday, 23-02-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 24 -02-2022, 23:59 IST.

Programming In Java - Assignment- 1 & 2 Solution Released

Dear Participants, The Assignment-1 & 2 of Week- 1 & 2 Solution 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. Link for solution of Assignment 1:  https://drive.google.com/file/d/1BaySF2TOWU8jnAM6Kc6Dzg3c1ECP8tgt/viewusp=sharing Link for solution of Assignment 2 : https://drive.google.com/file/d/1OBe9rnhThNEfK-LTiHssEOf4DG233v6-/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Programming In Java - Week 3 Feedback Form

Assignments for week 1 & 2 due on feb 9 2022 .

Dear Learner, Assignments for Week 1 & 2 are open for submission .The last date for submission is Feb 9 2022 IST 23:59 . If you have not submitted the assignments ,kindly submit the same before the due date. -NPTEL Team.

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

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/noc22_cs47/unit?unit=31&lesson=32

Assignment 3 for Week 3 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=31&assessment=163

Programming Assignment 1  for  Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=157 Programming Assignment 2  for  Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=158 Programming Assignment 3  for  Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=159 Programming Assignment 4  for  Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=161 Programming Assignment 5  for  Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=162

The Assignment has to be submitted on or before Wednesday, 16-02-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 17-02-2022, 23:59 IST.

Programming In Java - Week 2 Feedback Form

Programming in java - week 2 content is live now.

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/noc22_cs47/unit?unit=24&lesson=25

Assignment 2 for Week 2 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=24&assessment=134

Programming Assignment 1  for  Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=135 Programming Assignment 2  for  Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=136 Programming Assignment 3  for  Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=137 Programming Assignment 4  for  Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=138 Programming Assignment 5  for  Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=139

The Assignment has to be submitted on or before Wednesday, 09-02-2022, 23:59 IST and all the Programming Assignments have to be submitted on or before Thursday, 10-02-2022, 23:59 IST.

Programming In Java - Week 1 Feedback Form

Programming in java - assignment- 0 solution released.

Dear Participants, The Assignment- 0 of Week- 0 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/1MoagO_BHacKCmRFbbpGJiF11hChMKOGg/view?usp=sharing Happy Learning! Thanks & Regards, NPTEL Team

Attention: Regarding the Social media Groups

Dear Learners, The discussion forum, which is embedded on the course portal,  is the only authentic medium to communicate regarding this course . This Forum is monitored by the Faculty coordinator and team and on which we will respond. NPTEL is NOT responsible for any whatsapp group or any other group created in any social media platform.  Request the learners to refrain from sharing phone numbers and other details which may be misused as this is a public group and this information is available to all members in this group. This kind of activity is strictly prohibited and NPTEL will not be responsible for misuse of any such information. All the best, Happy Learning! -NPTEL Team

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

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/noc22_cs47/unit?unit=17&lesson=18

Assignment 1 for Week 1 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs47/unit?unit=17&assessment=128 Programming Assignment 1  for  Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=129 Programming Assignment 2  for  Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=130 Programming Assignment 3  for  Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=131 Programming Assignment 4  for  Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=132 Programming Assignment 5  for  Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs47/progassignment?name=133

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

Dear Learner, 

Here is the much-awaited announcement on registering for the Jan 2022 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: April 24, 2022

Certification exam registration URL is: https://examform.nptel.ac.in/  

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

4. Exam fees: 

If you register for the exam and pay before March 14, 2022, 10:00 AM, Exam fees will be Rs. 1000/- per exam . 

If you register for exam before March 14, 2022, 10:00 AM and have not paid or if you register between March 14, 2022, 10:00 AM & March 18, 2022, 10:00 AM, Exam fees will be Rs. 1500/- per exam 

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

6. Last date for exam registration: March 18, 2022 10:00 AM (Friday). 

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

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: March 18, 2022 10:00 AM :  

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

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. 

11. LAST DATE FOR CANCELLING EXAMS and getting a refund: March 18, 2022 10:00 AM  

12. 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/noc/Domain/discipline.html

Thanks & Regards, 

Programming In Java - Assignment-0-RELEASED

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: Welcome to NPTEL Online Course - Jan 2022!!

  • 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 24, 2022 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

nptel programming in java assignment solutions week 4

In association with

nptel programming in java assignment solutions week 4

Navigation Menu

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 You must be signed in to change notification settings

This site is to share the solution of prgramming and quiz assignment given during the Programming In java by Prof. Debasis Samantha on NPTEL.

bkkothari2255/Programming_In_Java_NPTEL

Folders and files, repository files navigation, programming_in_java_nptel.

Java

Navigate to Week

Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week 12

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 an Armstrong number or not.

Java Week 1:Q5 To help Ram , find the highest mark and average mark secured by him in "s" number of subjects.

Java Week 2:Q1 To call the method print() in class Student following the concept of inner class.

Java Week 2:Q2 To call the method print() of class Student first and then call print() method of class School.

Java Week 2:Q3 To call print() method of class Question by creating a method named ‘studentMethod()’.

Java Week 2:Q4 To call default constructor first and then any other constructor in the class Answer.

Java Week 2:Q5 To debug the program which is intended to print 'NPTEL JAVA'.

Java Week 3:Q1 To the generation of Fibonacci numbers.

Java Week 3: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.

Java Week 3: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.

Java Week 3: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.

Java Week 3:Q5 To swap two numbers using call by object reference.

Java Week 4:Q1 To execute the following program successfully. You should import the correct package(s) and/or class(s) to complete the code.

Java Week 4:Q2 To print the current year.

Java Week 4:Q3 The program in this assignment is attempted to print the following output:

Java Week 4:Q4 To call the default method in the interface First and Second.

Java Week 4:Q5 To print the following output.

Java Week 5:Q1 An interface Number is defined in the following program. You have to declare a class A, which will implement the interface Number. Note that the method findSqr(n) will return the square of the number n.

Java Week 5:Q2 This program is to find the GCD (greatest common divisor) of two integers writing a recursive function findGCD(n1,n2). Your function should return -1, if the argument(s) is(are) other than positive number(s).

Java Week 5:Q3 Complete the code segment to catch the ArithmeticException in the following, if any. On the occurrence of such an exception, your program should print “Exception caught: Division by zero.” If there is no such exception, it will print the result of division operation on two integer values.

Java Week 5:Q4 In the following program, an array of integer data to be initialized. During the initialization, if a user enters a value other than integer value, then it will throw InputMismatchException exception. On the occurrence of such an exception, your program should print “You entered bad data.” If there is no such exception it will print the total sum of the array.

Java Week 5:Q5 In the following program, there may be multiple exceptions. You have to complete the code using only one try-catch block to handle all the possible exceptions.

For example, if user’s input is 1, then it will throw and catch “java.lang.NullPointerException“.

Java Week 6:Q1 Complete the code segment to print the following using the concept of extending the Thread class in Java:

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 given code and complete the program so that your program prints the message "NPTEL Java". Your program should utilize the given interface/ class.

Java Week 6:Q4 Execution of two or more threads occurs in a random order. The keyword 'synchronized' in Java is used to control the execution of thread in a strict sequence. In the following, the program is expected to print some numbers. Do the necessary use of 'synchronized' keyword, so that, the program prints the output in the following order:

Java Week 6:Q5 Add necessary codes to print the following:

Java Week 7:Q1 Complete the following code fragment to read three integer values from the keyboard and find the sum of the values. Declare a variable "sum" of type int and store the result in it.

Java Week 7:Q2 Complete the code segment to catch the exception in the following, if any. On the occurrence of such an exception, your program should print “Please enter valid data” .If there is no such exception, it will print the "square of the number".

Java Week 7:Q3 A byte char array is initialized. You have to enter an index value"n". According to index your program will print the byte and its corresponding char value. Complete the code segment to catch the exception in the following, if any. On the occurrence of such an exception, your program should print “exception occur” .If there is no such exception, it will print the required output.

Java Week 7:Q4 The following program reads a string from the keyboard and is stored in the String variable "s1". You have to complete the program so that it should should print the number of vowels in s1 . If your input data doesn't have any vowel it will print "0".

Java Week 7:Q5 A string "s1" is already initialized. You have to read the index "n" from the keyboard. Complete the code segment to catch the exception in the following, if any. On the occurrence of such an exception, your program should print “exception occur” .If there is no such exception, your program should replace the char "a" at the index value "n" of the "s1" ,then it will print the modified string.

Java Week 8:Q1 Write a program which will print a pyramid of " " 's of height "n" and print the number of " " 's in the pyramid.

Java Week 8:Q2 Write a program which will print a pascal pyramid of "*" 's of height "l" .

Java Week 8:Q3 Write a program which will print a pyramid of "numbers" 's of height "n" and print the sum of all number's in the pyramid.

Java Week 8:Q4 Write a program to print symmetric Pascal's triangle of "*" 's of height "l" of odd length . If input "l" is even then your program will print "Invalid line number".

Java Week 8:Q5 Write a program to display any digit(n) from 0-9 using "7 segment display".

Java Week 9:Q1 Complete the code to develop a BASIC CALCULATOR that can perform operations like Addition, Subtraction, Multiplication and Division.

Java Week 9:Q2 Complete the code to develop an ADVANCED CALCULATOR that emulates all the functions of the GUI Calculator as shown in the image.

GUI Calculator

Java Week 9:Q3 Complete the code to perform a 45 degree anti clock wise rotation with respect to the center of a 5 × 5 2D Array as shown below:

Java Week 9:Q4 A program needs to be developed which can mirror reflect any 5 × 5 2D character array into its side-by-side reflection. Write suitable code to achieve this transformation as shown below:

Java Week 9:Q5 Write suitable code to develop a 2D Flip-Flop Array with dimension 5 × 5, which replaces all input elements with values 0 by 1 and 1 by 0. An example is shown below:

Java Week 10:Q1 The following code needs some package to work properly. Write appropriate code to import the required package(s) in order to make the program compile and execute successfully.

Java Week 10:Q2 Write the JDBC codes needed to create a Connection interface using the DriverManager class and the variable DB_URL. Check whether the connection is successful using 'isAlive(timeout)' method to generate the output, which is either 'true' or 'false'.

Java Week 10:Q3 Due to some mistakes in the below code, the code is not compiled/executable. Modify and debug the JDBC code to make it execute successfully.

Java Week 10:Q4 Complete the code segment to create a new table named ‘PLAYERS’ in SQL database using the following information.

Java Week 10:Q5 Complete the code segment to rename an already created table named ‘PLAYERS’ into ‘SPORTS’.

Java Week 11:Q1 Complete the code segment to insert the following data using prepared statement in the existing table ‘PLAYERS’.

Java Week 11:Q2 Write the required code in order to update the following data in the table ‘PLAYERS’.

Java Week 11:Q3 Write the appropriate code in order to delete the following data in the table ‘PLAYERS’.

Java Week 11:Q4 Complete the following program to calculate the average age of the players in the table ‘PLAYERS’.

Structure of Table 'PLAYERS' is given below:

Java Week 11:Q5 Complete the code segment to drop the table named ‘PLAYERS’.

Java Week 12:Q1 Complete the code to develop an extended version of the ADVANCED CALCULATOR with added special functions that emulates all the functions of the GUI Calculator as shown in the image.

GUI Calculator

Java Week 12:Q2 A partial code fragment is given. The URL class object is created in try block.You should write appropriate method( ) to print the protocol name and host name from the given url string.

Java Week 12:Q3 Write a program to create a record by taking inputs using Scanner class as first name as string ,last name as string ,roll number as integer ,subject1 mark as float,subject2 mark as float. Your program should print in the format

Java Week 12:Q4 A program code is given to call the parent class static method and instance method in derive class without creating object of parent class. You should write the appropriate code so that the program print the contents of static method() and instance method () of parent class.

Java Week 12:Q5 Write a recursive function to print the sum of first n odd integer numbers. The recursive function should have the prototype

Contributors 2

nptel programming in java assignment solutions week 4

  • SIRAJ TECH SOLUTION

programming tutorials,programming code,latest programming,programming theory

Tuesday, August 31, 2021

Swayam | programming in java week-4 quiz assignment solution | nptel.

No comments:

Post a comment, contributors.

  • ALL TYPES OF CODING

Popular Posts

' border=

  • Write a program to input your friends’ names and their Phone Numbers and store them in the dictionary as the key-value pair   Write a program to input your friends’ names and their Phone Numbers and store them in the dictionary as the key-value pair.  Perform the ...

' border=

Latest Release

  • Amazon is Hiring Software Development Engineer
  • ANIMATION USING CODING
  • Cognizant PROGRAMMER ANALYST || Location-Chennai
  • Complete the code segment to call the method print() of class Student first and then call print() method of class School.
  • create a function squareT that accepts one argument and returns a tuple containing similar elements given in tuple T and its sqaures in sequence.
  • EEE)-2017/2018/2019/2020) || Mphasis
  • engineering or equivalent.
  • Given a list of strings
  • Given a string S
  • Given a string s write a program to convert uppercase letters into lowercase and lowercase letters into uppercase. Also print the resultant string.
  • Given a student's roll number in the following format [email protected]
  • Given a Tuple T
  • Given two dictionaries d1 and d2
  • Goldman Sachs Off Campus Drive for 2022 | 2021 | 2020 Batch | Associate Software Engineer
  • IBM Systems Engineer Off campus Drive
  • India ||Qualification: Bachelors in science
  • Infosys 2021 Recruitment Drive For Freshers
  • June Circuits '21 || Hacker earth
  • LeetCode Coding Solution
  • NPTEL » Problem Solving Through Programming In C Week-0 Quiz Assignment Solution
  • NPTEL » Problem Solving Through Programming In C Week-1 Quiz Assignment Solution
  • NPTEL » Problem Solving Through Programming In C Week-2 Quiz Assignment Solution
  • NPTEL » Problem Solving Through Programming In C Week-3 Quiz Assignment Solution
  • NPTEL » Programming In Java Week-0 Quiz Assignment Solution
  • NPTEL » Programming In Java Week-1 Quiz Assignment Solution
  • NPTEL » Programming In Java Week-2 Quiz Assignment Solution
  • NPTEL » The Joy of Computing using Python Week 0 : Quiz Assignment Solution
  • NPTEL » The Joy of Computing using Python Week 10 : Quiz Assignment
  • NPTEL » The Joy of Computing using Python Week 11 : Assignment 1
  • NPTEL » The Joy of Computing using Python Week 12 : Assignment 12
  • NPTEL » The Joy of Computing using Python Week 2 : Quiz Assignment Solution
  • PayU is Hiring Graduates | Off Campus Drive
  • print all the indexes of numbers in that integer from left to right.
  • Registration Open for TCS Codevita Session 10 || Click here for Apply
  • Take 3 sides of a triangle as an input and find whether that triangle is a right angled triangle or not. Print 'YES' if a triangle is right angled triangle or 'NO' if it's not.
  • Take an integer N as an input
  • TCS CodeVita S9 Pre-Qualifier Round Qestion Paper and Solution 2020
  • TCS MOCKVITA 2 2020 QUESTION PAPER
  • The Joy of Computing using Python Week 9 : Assignment 1
  • Trainee Associate Software Engineer || BSc/BCA/BE/BTech(CS
  • Write a C Program to calculates the area (floating point number with two decimal places) of a Circle given it’s radius (integer value). The value of Pi is 3.14.
  • Write a C program to check if a given Number is zero or Positive or Negative Using if...else statement.
  • Write a C program to check whether a given number (integer) is Even or Odd.
  • Write a C Program to find the Largest Number (integer) among Three Numbers (integers) using IF and Logical && operator.
  • write a function mergeDic that accepts two dictionaries d1 and d2 and return a new dictionary by merging d1 and d2.
  • write a function replaceV that accepts a string and replace the occurrences of 3 consecutive vowels with _ in that string. Make sure to return and print the answer string.
  • Write a program that accepts a hash-separated sequence of words as input and prints the words in a hash-separated sequence after sorting them alphabetically in reverse order.
  • Write a program that take list L as an input and shifts all zeroes in list L towards the right by maintaining the order of the list. Also print the new list.
  • Write a program to an integer as an input and reverse that integer.
  • write a program to find the roll number and institute name of the student.
  • write a program to write sort the list of strings on the basis of last character of each string.
  • Write a program which takes two integer a and b and prints all composite numbers between a and b.(both numbers are inclusive)
  • Zoho is Hiring 2021 Batch | Recruitment Drive

Contact Form

About pro video.

nptel programming in java assignment solutions week 4

Total Pageviews

Subscribe to.

' border=

IMAGES

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

    nptel programming in java assignment solutions week 4

  2. NPTEL Programming In Java Week 4 Programming Assignment Solution July-Dec 2023

    nptel programming in java assignment solutions week 4

  3. NPTEL

    nptel programming in java assignment solutions week 4

  4. NPTEL Programming In Java WEEK 4 Quiz Assignment Solutions💡

    nptel programming in java assignment solutions week 4

  5. {Week 4} NPTEL Programming In Java Assignment Answers 2023 » DBC Itanagar

    nptel programming in java assignment solutions week 4

  6. Programming In JAVA Assignment Solutions Week 04 || NPTEL 2023 ||LiveSkClasses 👇

    nptel programming in java assignment solutions week 4

VIDEO

  1. NPTEL Programming In Java WEEK7 Programming Assignment Solutions

  2. Nptel Programming in java Week 3 Programmig Assignment 3 #nptel #programminginjava #nptelsolution

  3. NPTEL Programming In Java WEEK5 Quiz Assignment Solutions💡

  4. Programming, Data Structures and Algorithms using Python || NPTEL week 4 answers 2023 || #nptel

  5. NPTEL Programming In Java WEEK11 Quiz Assignment Solutions💡

  6. Nptel

COMMENTS

  1. NPTEL Programming in Java Week 4 (with programming)Solution ...

    Welcome to our detailed walkthrough of the "NPTEL Programming in Java Week 4 Solution for August 2024," brought to you by IIT Kharagpur. This video is design...

  2. NPTEL-JAVA-PROGRAMMING-ASSIGNMENT-SOLUTIONS-2021/WEEK 4 at main

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window.

  3. NPTEL "Programming in Java" Course Repository

    Programming Assignments: Dive into hands-on coding exercises that reinforce key concepts covered in the course.Each assignment presents unique challenges to sharpen your Java programming skills. Quizzes: Test your understanding of Java programming with quizzes designed to assess your knowledge and comprehension of course topics.Challenge yourself and track your progress as you advance through ...

  4. NPTEL Assignment Answers 2024 with Solutions (July-Dec)

    These files contain the assignment answers for each respective week. Select the Week File: Click on the file corresponding to the week you are interested in. For example, if you need answers for Week 3, open the week-03.md file. Review the Answers: Each week-XX.md file provides detailed solutions and explanations for that week's assignments ...

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

    Programming In Java Week 4 Assignment 4 Answers Solution Quiz | 2024-JanJoin NPTEL - Programming in Java :https://telegram.me/ProgrammingInJavaNPTELFollow Wh...

  6. Programming in Java Nptel Week 4 Assignment Answers

    Are you looking for Programming in Java NPTEL Week 4 Assignment Answers? You've come to the right place! Access the accurate solutions. ... Access the latest and most accurate solutions for your Week 3 assignment in the Programming in Java course. Course Link: Click Here. Table of Contents.

  7. PDF Java Week 4: Q2

    02/07/2020 Programming in Java - Course https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=126 3/3 Assignment Solution Books Live Interactive

  8. NPTEL

    Hello Guys,Here I an providing Solution for Week-4 Assignment of Programming In JAVA for your better scoring.#NPTEL #SWAYAM #ProgrammingInJAVA #nptelsoluyion...

  9. PDF Java Week 4: Q1

    Java Week 4: 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. Sample Test Cases Input Output Test Case 1 NPTEL JAVA Course: NPTEL JAVA Test Case 2 NPTEL JAVA Course: NPTEL JAVA The due date for submitting this assignment has passed.

  10. NPTEL Programming in Java Week 4 Assignment Solution 2023

    NPTEL Programming in Java Week 4 All Programming Assignment Solutions - Jan 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.

  11. nptel-solutions · GitHub Topics · GitHub

    NPTEL Assignment Answers and Solutions 2024 (July-Dec). ... Welcome to the NPTEL "Programming in Java" course repository! This repository hosts a comprehensive collection of programming assignments, quizzes, and test solutions for the NPTEL "Programming in Java" course offered in the years 2024, 2022, and 2020. ... Python code from week-3 to ...

  12. NPTEL Programming In Java Week 4 Assignment Answers 2024

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

  13. Programming in Java 2021

    In this programming in java, we will discuss Week 4 assignment solutions in detail. This NPTEL solution video will help you to understand how to do write cod...

  14. omunite215/NPTEL-Programming-in-Java-Ultimate-Guide

    NPTEL-Programming-in-Java Assignment Solutions with Explanations and Course Guide This Repository has the ultimate guide to crack the exam of Programming in Java Course taught by Prof.Debasis Samanta Sir from I.I.T(Indian Institute of Technology) Kharagpur

  15. NPTEL Programming In Java Week-4 Quiz Assignment Solution|Swayam

    NPTEL » Problem Solving Through Programming In C Week-3 Quiz Assignment Solution; NPTEL » Programming In Java Week-0 Quiz Assignment Solution; NPTEL » Programming In Java Week-1 Quiz Assignment Solution; NPTEL » Programming In Java Week-2 Quiz Assignment Solution; NPTEL » The Joy of Computing using Python Week 0 : Quiz Assignment Solution

  16. NPTEL Programming In Java Week 4 Assignment Solution

    NPTEL Programming In Java Week 4 Assignment Solution. It includes the week 4 Programming assignment only. For Week 4 quiz assignment https://www.youtube.com/...

  17. Programming In Java

    NPTEL » Programming In Java. Announcements; About the Course; Review Assignment; Course Recommendations ; ... The Assignment- 4 of Week- 4 Solution for the course ... NPTEL Team. Programming In Java - Week 4 Feedback Form Dear Learners, Thank you for enrolling in this NPTEL course and we hope you have gone through the contents for this week ...

  18. GitHub

    Exercise1_1 - Complete the code segment to find the perimeter and area of a circle given a value of radius. Exercise1_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. Exercise1_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 ...

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

  20. Swayam

    NPTEL » Problem Solving Through Programming In C Week-3 Quiz Assignment Solution; NPTEL » Programming In Java Week-0 Quiz Assignment Solution; NPTEL » Programming In Java Week-1 Quiz Assignment Solution; NPTEL » Programming In Java Week-2 Quiz Assignment Solution; NPTEL » The Joy of Computing using Python Week 0 : Quiz Assignment Solution