- Review Assignment
- Announcements
- About the Course
- Explore Courses
NPTEL: Exam Registration is open now for July 2023 courses!
Dear Candidate,
Here is a golden opportunity for those who had previously enrolled in this course during the Jan 2023 semester, but could not participate in the exams or were absent/did not pass the exam for this course. This course is being reoffered in July 2023 and we are giving you another chance to write the exam in October 2023 and obtain a certificate based on NPTEL norms. Do not let go of this unique opportunity to earn a certificate from the IITs/IISc.
IMPORTANT instructions for learners - Please read this carefully
1. The exam date for this course: Oct 29, 2023
2. CLICK HERE to register for the exam.
Please fill the exam form using the same Enrolled email id & make fee payment via the form, as before.
3. Choose from the Cities where exam will be conducted: Exam Cities
4. You DO NOT have to re-enroll in the courses.
5. You DO NOT have to resubmit Assignments OR participate in the non-proctored programming exams(if applicable) in the previous semester
6. If you do enroll in the July 2023 course, we will take the best average assignment scores/non-proctored programming exam(if applicable) score across the two semesters.
Please check once if you have >= 40/100 in average assignment score and also participated and satisfied the criteria in the non-proctored programming exams(if applicable) that were conducted in Jan 2023 to become eligible for the e-certificate, wherever applicable.
If not, please submit assignments again in the July 2023 course and also participate in the non-proctored programming exams(if applicable) to become eligible for the e-certificate.
We will not be having new assignments or unproctored exams(if applicable) in the previous semester's (Jan 2023) course.
RECOMMENDATION: If you want to take new assignments and an unproctored exam(if applicable) or brush up on your lessons for the exam, please enroll in the July 2023 course.
Click here to enroll in the current course, links are provided corresponding to the course name.
7. Exam fees:
If you register for the exam and pay before Aug 14, 2023, 5:00 PM, Exam fees will be Rs. 1000/- per exam .
8. 50% fee waiver for the following categories:
Students belonging to the SC/ST category: please select Yes for the SC/ST option and upload the correct Community certificate.
Students belonging to the PwD category with more than 40% disability: please select Yes for the option and upload the relevant Disability certificate.
9. Last date for exam registration: Aug 18, 2023, 5:00 PM (Friday).
10. Between Aug 14, 2023, 5:00 PM & Aug 18, 2023, 5:00 PM late fee will be applicable.
11. Mode of payment: Online payment - debit card/credit card/net banking/UPI.
12. HALL TICKET:
The hall ticket will be available for download tentatively by 2 weeks prior to the exam date. We will confirm the same through an announcement once it is published.
13. FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. Same day of exam – you can write exams for 2 courses in the 2 sessions. Same exam center will be allocated for both the sessions.
14. Data changes:
Last date for data changes: Aug 18, 2023, 5:00 PM :
We will charge an additional fee of Rs. 200 to make any changes related to name, DOB, photo, signature, SC/ST and PWD certificates after the last date of data changes.
The following 6 fields can be changed (until the form closes) ONLY when there are NO courses in the course cart. And you will be able to edit those fields only if you: -
REMOVE unpaid courses from the cart And/or - CANCEL paid courses
1. Do you come under the SC/ST category? *
2. SC/ST Proof
3. Are you a person with disabilities? *
4. Are you a person with disabilities above 40%?
5. Disabilities Proof
6. What is your role?
Note: Once you remove or cancel a course, you will be able to edit these fields immediately.
But, for cancelled courses, refund of fees will be initiated only after 2 weeks.
15. LAST DATE FOR CANCELLING EXAMS and getting a refund: Aug 18, 2023, 5:00 PM
16. Click here to view Timeline and Guideline : Guideline
Domain Certification
Domain Certification helps learners to gain expertise in a specific Area/Domain. This can be helpful for learners who wish to work in a particular area as part of their job or research or for those appearing for some competitive exam or becoming job ready or specialising in an area of study.
Every domain will comprise Core courses and Elective courses. Once a learner completes the requisite courses per the mentioned criteria, you will receive a Domain Certificate showcasing your scores and the domain of expertise. Kindly refer to the following link for the list of courses available under each domain: https://nptel.ac.in/domains
Outside India Candidates
Candidates who are residing outside India may also fill the exam form and pay the fees. Mode of exam and other details will be communicated to you separately.
Thanks & Regards,
Thank you for learning with NPTEL!!
Dear Learner, Thank you for taking the course with NPTEL!! Hope you enjoyed the journey with us. The results for this course have been published and we are closing this course now. You will still have access to the contents and assignments of this course, if you click on the course name from the "Mycourses" tab on swayam.gov.in. For any further queries please write to [email protected] . - Team NPTEL
Programming In Java : Result Published!!
***THIS IS APPLICABLE ONLY FOR EXAM REGISTERED CANDIDATES*** ****Please don't click on below link, if you are not registered/not present for the Exam**** Dear Candidate, The exam scores and E Certificates have been released for April 2023 Exam(s). Step 1 - Are the results of my courses released? Please check the Results published courses list in the below links.:- Apr 2023 Exam - Click here Step 2 - How to check Results? Please login to internalapp.nptel.ac.in/ . and check your exam results. Use the same login credentials as used to register to the exam. What's next? Please read the pass criteria carefully and check against what you have gotten. If you still have any issues, please report the same here. internalapp.nptel.ac.in/ . We will reply within a week. Last date to report queries: 3 days within publishing of scores. Note : Hard copies of certificates will not be dispatched. The duration shown in the certificate will be based on the timeline of offering of the course in 2023, irrespective of which Assignment score that will be considered. Thanks and Best wishes. NPTEL Team
Programming In Java : Final Feedback Form !!!
Dear students, We are glad that you have attended the NPTEL online certification course. We hope you found the NPTEL Online course useful and have started using NPTEL extensively. In this regard, we would like to have feedback from you regarding our course and whether there are any improvements, you would like to suggest. We are enclosing an online feedback form and would request you to spare some of your valuable time to input your observations. Your esteemed input will help us in serving you better. The link to give your feedback is: https://docs.google.com/forms/d/1wj9c2uRXlKpG4mjX-gnw02rXUDPu_DMp856TLm8wYoM/viewform We thank you for your valuable time and feedback. Thanks & Regards, -NPTEL Team
April 2023 NPTEL Exams - Hall Tickets Released!
***THIS IS APPLICABLE ONLY FOR EXAM REGISTERED CANDIDATES*** ****Please don't click on below link, if you are not registered for the Exam**** Dear Candidate, Your Hall Ticket / admit card for the NPTEL Exam(s) in April, 2023 has been released. Please login to https://internalapp.nptel.ac.in/ using your exam registered email id and download your hall ticket. Note: Requests for changes in exam city, exam center, exam date, session, or course will NOT be entertained. Please write to [email protected] for any further queries. All the best for your exams! Warm Regards NPTEL Team
Programming In Java - Assignment - 12 Solution Released
Dear Participants, The Assignment 12 (Quiz Part) of the Week 12 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/17kXKDbfZlOIGAH5IFedJpDNp5zv5QcJk/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Assignment - 11 Solution Released
Dear Participants, The Assignment 11 (Quiz Part) of the Week 11 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/1NbTsMMdZ1-Eehe9MuDzCXK5YfCRsHbTB/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 12 Feedback Form
Dear Learners, Thank you for enrolling in this NPTEL course and we hope you have gone through the contents for this week and also attempted the assignment. We value your feedback and wish to know how you found the videos and the questions asked - whether they were easy, difficult, as per your expectations, etc. We shall use this to make the course better and we can also know from the feedback which concepts need more explanation, etc. Please do spare some time to give your feedback - comprises just 5 questions - should not take more than a minute, but makes a lot of difference for us as we know what the Learners feel. Here is the link to the form: https://docs.google.com/forms/d/14fPCX10Pck1XLTYgfAn33-B5RzuscxctxVr-kxpMX7A/viewform NPTEL Team
Exam Format - April, 2023 !!
Dear Candidate, ****This is applicable only for the exam registered candidates**** Type of exam will be available in the list: Click Here You will have to appear at the allotted exam center and produce your Hall ticket and Government Photo Identification Card (Example: Driving License, Passport, PAN card, Voter ID, Aadhaar-ID with your Name, date of birth, photograph and signature) for verification and take the exam in person. You can find the final allotted exam center details in the hall ticket. The hall ticket is yet to be released. We will notify the same through email and SMS. Type of exam: Computer based exam (Please check in the above list corresponding to your course name) The questions will be on the computer and the answers will have to be entered on the computer; type of questions may include multiple choice questions, fill in the blanks, essay-type answers, etc. Type of exam: Paper and pen Exam (Please check in the above list corresponding to your course name) The questions will be on the computer. You will have to write your answers on sheets of paper and submit the answer sheets. Papers will be sent to the faculty for evaluation. On-Screen Calculator Demo Link: Kindly use the below link to get an idea of how the On-screen calculator will work during the exam. https://tcsion.com/ OnlineAssessment/ ScientificCalculator/ Calculator.html NOTE: Physical calculators are not allowed inside the exam hall. Thank you! -NPTEL Team
Programming In Java - Assignments - 9 & 10 Solutions Released
Dear Participants, The Assignments-9 & 10 (Quiz Part) of the Weeks-9 & 10 solutions for the course " Programming In Java " have been released in the portal. Please go through these solutions and in case of any doubt post your queries in the forum. Assignmnet-9: Solution Link:- https://drive.google.com/file/d/1oOD3cQGDc3CfBoTQELMdWlJzPt2zH9bj/view?usp=share_link Assignmnet-10: Solution Link:- https://drive.google.com/file/d/1y42gnlamNwv7XKCQfTPrT8Zi2VI3-pIq/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 11 Feedback Form
Programming in java - week 12 content is live now.
Dear Students The lecture videos for Week 12 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=106&lesson=107 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 12 for Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=106&assessment=210 The assignment has to be submitted on or before Wednesday, [19/04/2023], 23:59 IST. Programming Assignment 1 for Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=211 Programming Assignment 2 for Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=212 Programming Assignment 3 for Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=213 Programming Assignment 4 for Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=214 Programming Assignment 5 for Week 12 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=215 For all the Programming Assignments due date will be : Thursday, [20/04/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Week 11 content is live now!!
Dear Students The lecture videos for Week 11 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=98&lesson=99 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 11 for Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=98&assessment=204 The assignment has to be submitted on or before Wednesday, [12/04/2023], 23:59 IST. Programming Assignment 1 for Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=205 Programming Assignment 2 for Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=206 Programming Assignment 3 for Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=207 Programming Assignment 4 for Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=208 Programming Assignment 5 for Week 11 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=209 For all the Programming Assignments due date will be : Thursday, [13/04/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Week 10 Feedback Form
Programming in java - week 10 content is live now.
Dear Students The lecture videos for Week 10 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=90&lesson=91 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 10 for Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=90&assessment=198 The assignment has to be submitted on or before Wednesday, [05/04/2023], 23:59 IST. Programming Assignment 1 for Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=199 Programming Assignment 2 for Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=200 Programming Assignment 3 for Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=201 Programming Assignment 4 for Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=202 Programming Assignment 5 for Week 10 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=203 For all the Programming Assignments due date will be : Thursday, [06/04/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Assignment - 8 Solution Released
Dear Participants, The Assignment 8 (Quiz Part) of the Week 8 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/1jb2vQXaXNK6FEQZTvam6QqwB-TgVw1sJ/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 9 Feedback Form
Potential additional date (april 28th) for the april 2023 nptel exams.
***THIS IS APPLICABLE ONLY FOR EXAM REGISTERED CANDIDATES*** Dear Student, Greetings from NPTEL! The Jan 2023 session is coming to an end soon and it’s time to put all your best efforts for the certification exam. The NPTEL team has always been there to make your learning process a joyful one and we hope that with your support we will be able to overcome the challenges of conducting a nation-wide exam of this magnitude. With the closure of exam registration form for the NPTEL April 2023 exams, the final registration count stands at 5.1 Lakh compared to 3.7 Lakh reported during the Jul-Dec 2022 semester. Based on the previous semester data, seats at the certification exam centres are booked by NPTEL at the beginning of the exam registration process. As the semester progresses, sometimes these numbers exceed our estimate, especially on certain dates and certain exam cities. Our goal is to allocate the chosen exam cities to all our learners. And by and large, we are able to allocate the chosen cities and dates with active support from our exam partner and our partner colleges. All efforts are being made to allocate the city of choice or the next nearest exam city for the April 29th/30th 2023 exams, as scheduled. However, in view of the unexpectedly large volume of exam registrations & limitation of seats at certain cities on a particular date, we may be compelled to shift the exam date of certain candidates to 28th April 2023 (Friday) as a last resort, only after exhausting all possibilities. We hope that you will appreciate our logistical constraints of such rescheduling and extend all necessary support as before and participate in the exam. With best wishes for the forthcoming exam(s), Warm regards, NPTEL Team
Programming In Java : Assignment 6 question no. 4 & 7
Dear Students, There are mistakes in assignment 6 question no 4 & 7. Hence the questions are not considered for evaluation. The re-evaluation has been done. The updated score is displayed under Progress tab. Sorry for the inconvenience. -NPTEL Team
Programming In Java - Week 9 content is live now!!
Dear Students The lecture videos for Week 9 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=82&lesson=83 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 9 for Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=82&assessment=192 The assignment has to be submitted on or before Wednesday, [29/03/2023], 23:59 IST. Programming Assignment 1 for Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=193 Programming Assignment 2 for Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=194 Programming Assignment 3 for Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=195 Programming Assignment 4 for Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=196 Programming Assignment 5 for Week 9 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=197 For all the Programming Assignments due date will be : Thursday, [30/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Assignment - 7 Solution Released
Dear Participants, The Assignment 7 (Quiz Part) of the Week 7 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/1WzVlqTtOEN0ndaumi_u0sO_qjBjiI1-a/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 8 Feedback Form
Programming in java - week 8 content is live now.
Dear Students The lecture videos for Week 8 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=74&lesson=75 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 8 for Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=74&assessment=186 The assignment has to be submitted on or before Wednesday, [22/03/2023], 23:59 IST. Programming Assignment 1 for Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=187 Programming Assignment 2 for Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=188 Programming Assignment 3 for Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=189 Programming Assignment 4 for Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=190 Programming Assignment 5 for Week 8 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=191 For all the Programming Assignments due date will be : Thursday, [23/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Assignment - 6 Solution Released
Dear Participants, The Assignment 6 (Quiz Part) of the Week 6 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/1pHAgfvjoS2IlL5CRMHj5fxkm1n7cEQ0I/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Assignment - 5 Solution Released
Dear Participants, The Assignment 5 (Quiz Part) of the Week 5 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/1APYhy02duItifW_QLxAAPIXY6unYbqMo/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 7 Feedback Form
Programming in java - week 7 content is live now.
Dear Students The lecture videos for Week 7 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=66&lesson=67 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 7 for Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=66&assessment=185 The assignment has to be submitted on or before Wednesday, [15/03/2023], 23:59 IST. Programming Assignment 1 for Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=179 Programming Assignment 2 for Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=181 Programming Assignment 3 for Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=182 Programming Assignment 4 for Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=183 Programming Assignment 5 for Week 7 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=184 For all the Programming Assignments due date will be : Thursday, [16/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Reference books for Programming In Java
Dear Learners, Please go through the following links for reference books for the course "Programming In Java". https://www.cambridge.org/ highereducation/books/joy- with-java/ 2E20B87BFB4767DA913804FE37953E F3#overview https://books.google.co.in/ books?hl=en&lr=&id= PSysEAAAQBAJ&oi=fnd&pg=PR35& ots=T8RXQzCEyh&sig= pjafsdrh5mi4-CT87tIavNB_F2c#v= onepage&q&f=false https://cse.iitkgp.ac.in/~ dsamanta/joywithjava/index.php Best regards,
Programming In Java - Assignment - 4 Solution Released
Dear Participants, The Assignment 4 (Quiz Part) of the Week 4 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/18ndVnyguhZufz73hmQoyjawH2LrFY7fc/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 6 Feedback Form
Programming in java - week 6 content is live now.
Dear Students The lecture videos for Week 6 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=58&lesson=59 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 6 for Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=58&assessment=177 The assignment has to be submitted on or before Wednesday, [08/03/2023], 23:59 IST. Programming Assignment 1 for Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=172 Programming Assignment 2 for Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=173 Programming Assignment 3 for Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=174 Programming Assignment 4 for Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=175 Programming Assignment 5 for Week 6 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=176 For all the Programming Assignments due date will be : Thursday, [09/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Week 5 Feedback Form
Programming in java - assignment - 3 solution released.
Dear Participants, The Assignment 3 (Quiz Part) of the Week 3 solution for the course " Programming In Java " has been released in the portal. Please go through the solution and in case of any doubt post your queries in the forum. Link:- https://drive.google.com/file/d/1wbKzM1HRz4MGsoykqdhMHVkGaIWpGMMQ/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 5 content is live now!!
Dear Students The lecture videos for Week 5 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=50&lesson=51 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 5 for Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=50&assessment=171 The assignment has to be submitted on or before Wednesday, [01/03/2023], 23:59 IST. Programming Assignment 1 for Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=166 Programming Assignment 2 for Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=167 Programming Assignment 3 for Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=168 Programming Assignment 4 for Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=169 Programming Assignment 5 for Week 5 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=170 For all the Programming Assignments due date will be : Thursday, [02/03/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Week 4 Feedback Form
Programming in java - week 4 content is live now.
Dear Students The lecture videos for Week 4 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=42&lesson=43 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 4 for Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=42&assessment=160 The assignment has to be submitted on or before Wednesday, [22/02/2023], 23:59 IST. Programming Assignment 1 for Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=161 Programming Assignment 2 for Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=162 Programming Assignment 3 for Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=163 Programming Assignment 4 for Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=164 Programming Assignment 5 for Week 4 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=165 For all the Programming Assignments due date will be : Thursday, [23/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Assignments - 1 & 2 (MCQ Part) Solutions Released
Dear Participants, The Assignments-1 & 2 (MCQ Part) of the Weeks-1 & 2 solutions for the course " Programming In Java " have been released in the portal. Please go through these solutions and in case of any doubt post your queries in the forum. Assignmnet-1: Solution Link:- https://drive.google.com/file/d/1Zj5bBlc37UDfBLgJZddr-aIzM22lzLVm/view?usp=share_link Assignmnet-2: Solution Link:- https://drive.google.com/file/d/1oAyKFIIrG9RTZbyq4Qx4LeQPOTlcZmO0/view?usp=share_link Happy Learning! Thanks & Regards, NPTEL Team
Programming In Java - Week 3 Feedback Form
Programming in java - week 3 content is live now.
Dear Students The lecture videos for Week 3 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=34&lesson=35 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 3 for Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=34&assessment=159 The assignment has to be submitted on or before Wednesday, [15/02/2023], 23:59 IST. Programming Assignment 1 for Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=148 Programming Assignment 2 for Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=149 Programming Assignment 3 for Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=150 Programming Assignment 4 for Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=151 Programming Assignment 5 for Week 3 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=152 For all the Programming Assignments due date will be : Thursday, [16/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Week 2 Feedback Form
Dear Learners, Thank you for enrolling in this NPTEL course and we hope you have gone through the contents for this week and also attempted the assignment. We value your feedback and wish to know how you found the videos and the questions asked - whether they were easy, difficult, as per your expectations, etc We shall use this to make the course better and we can also know from the feedback which concepts need more explanation, etc. Please do spare some time to give your feedback - comprises just 5 questions - should not take more than a minute, but makes a lot of difference for us as we know what the Learners feel. Here is the link to the form: https://docs.google.com/forms/d/14fPCX10Pck1XLTYgfAn33-B5RzuscxctxVr-kxpMX7A/viewform NPTEL Team
Programming In Java - Week 2 content is live now!!
Dear Students The lecture videos for Week 2 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=26&lesson=27 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 2 for Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=26&assessment=153 The assignment has to be submitted on or before Wednesday, [08/02/2023], 23:59 IST. Programming Assignment 1 for Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=154 Programming Assignment 2 for Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=155 Programming Assignment 3 for Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=156 Programming Assignment 4 for Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=157 Programming Assignment 5 for Week 2 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=158 For all the Programming Assignments due date will be : Thursday, [09/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Download video links are available now!!
Dear Learners, The download video link for the course Programming In Java is available now in the course outline. Please check the download video link: https://nptel.ac.in/courses/106105191 NPTEL Team
Programming In Java - Week 1 Feedback Form
Programming in java - week 1 content is live now.
Dear Students The lecture videos for Week 1 have been uploaded for the course Programming In Java . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=18&lesson=19 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). Assignment 1 for Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/unit?unit=18&assessment=147 The assignment has to be submitted on or before Wednesday, [08/02/2023], 23:59 IST. Programming Assignment 1 for Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=143 Programming Assignment 2 for Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=142 Programming Assignment 3 for Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=144 Programming Assignment 4 for Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=145 Programming Assignment 5 for Week 1 is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc23_cs49/progassignment?name=146 For all the Programming Assignments due date will be : Thursday, [09/02/2023], 23:59 IST. As we have done so far, please use the discussion forums if you have any questions on this module. Note : Please check the due date of the assignments in the announcement and assignment page if you see any mismatch write to us immediately. Thanks and Regards, --NPTEL Team
Programming In Java - Assignment-0-RELEASED
Dear Learners,
We welcome you all to this course. The assignment 0 for the course Programming In Java has been released. This assignment is based on a prerequisite of the course. Kindly note that marks obtained in this assignment will not be considered for the final assessment. You can find the assignment under Week 0 unit on the left-hand side of your screen. You can submit the assignment multiple times. All the best !!
--NPTEL Team
Programming In Java : Exam certification criteria
Dear Learners, Please see the certification criteria of this course below Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course. Exam score = 75% of the proctored (in person)certification exam score out of 100 Final score = Average assignment score + Exam score YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100. NOTE: Please note that there will not be an unproctored programming exam for this course this term. -NPTEL Team
NPTEL: Exam Registration is open now for Jan 2023 courses!
Dear Learner,
Here is the much-awaited announcement on registering for the Jan 2023 NPTEL course certification exam.
1. The registration for the certification exam is open only to those learners who have enrolled in the course.
2. If you want to register for the exam for this course, login here using the same email id which you had used to enroll to the course in Swayam portal. Please note that Assignments submitted through the exam registered email id ALONE will be taken into consideration towards final consolidated score & certification.
3 . Date of exam: Apr 30, 2023
CLICK HERE to register for the exam.
Choose from the Cities where exam will be conducted: Exam Cities
4. Exam fees:
If you register for the exam and pay before Mar 17, 2023, 5:00 PM, Exam fees will be Rs. 1000/- per exam .
5. 50% fee waiver for the following categories:
6. Last date for exam registration: Mar 17, 2023, 5:00 PM (Friday).
7. Mode of payment: Online payment - debit card/credit card/net banking/UPI.
8. HALL TICKET:
The hall ticket will be available for download tentatively by 2 weeks prior to the exam date . We will confirm the same through an announcement once it is published.
9. FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately – till the date when the exam form closes. Same day of exam – you can write exams for 2 courses in the 2 sessions. Same exam center will be allocated for both the sessions.
10. Data changes:
Last date for data changes: Mar 17, 2023, 5:00 PM :
All the fields in the Exam form except for the following ones can be changed until the form closes.
The following 6 fields can be changed ONLY when there are NO courses in the course cart. And you will be able to edit the following fields only if you: -
6. What is your role ?
11. LAST DATE FOR CANCELLING EXAMS and getting a refund: Mar 17, 2023, 5:00 PM
12. Click here to view Timeline and Guideline : Guideline
Programming In Java: Welcome to NPTEL Online Course - Jan 2023!!
- Every week, about 2.5 to 4 hours of videos containing content by the Course instructor will be released along with an assignment based on this. Please watch the lectures, follow the course regularly and submit all assessments and assignments before the due date. Your regular participation is vital for learning and doing well in the course. This will be done week on week through the duration of the course.
- Please do the assignments yourself and even if you take help, kindly try to learn from it. These assignments will help you prepare for the final exams. Plagiarism and violating the Honor Code will be taken very seriously if detected during the submission of assignments.
- The announcement group - will only have messages from course instructors and teaching assistants - regarding the lessons, assignments, exam registration, hall tickets, etc.
- The discussion forum (Ask a question tab on the portal) - is for everyone to ask questions and interact. Anyone who knows the answers can reply to anyone's post and the course instructor/TA will also respond to your queries.
- Please make maximum use of this feature as this will help you learn much better.
- If you have any questions regarding the exam, registration, hall tickets, results, queries related to the technical content in the lectures, any doubts in the assignments, etc can be posted in the forum section
- The course is free to enroll and learn from. But if you want a certificate, you have to register and write the proctored exam conducted by us in person at any of the designated exam centres.
- The exam is optional for a fee of Rs 1000/- (Rupees one thousand only).
- Date and Time of Exams: April 30, 2023 Morning session 9am to 12 noon; Afternoon Session 2 pm to 5 pm.
- Registration URL: Announcements will be made when the registration form is open for registrations.
- The online registration form has to be filled and the certification exam fee needs to be paid. More details will be made available when the exam registration form is published. If there are any changes, it will be mentioned then.
- Please check the form for more details on the cities where the exams will be held, the conditions you agree to when you fill the form etc.
- Once again, thanks for your interest in our online courses and certification. Happy learning.
A project of
In association with
Click below button to download Online programming test answers of "The Joy of Computing using Python" for Night Session on 16th October (Time-8pm to 11 pm).
Or click below colored link to see the answers without downloading it..
- Motivation for Computing
- Welcome to Programming!!
- Variables and Expressions : Design your own calculator
- Loops and Conditionals : Hopscotch once again
- Lists, Tuples and Conditionals : Lets go on a trip
- Abstraction Everywhere : Apps in your phone
- Counting Candies : Crowd to the rescue
- Birthday Paradox : Find your twin
- Google Translate : Speak in any Language
- Currency Converter : Count your foreign trip expenses
- Monte Hall : 3 doors and a twist
- Sorting : Arrange the books
- Searching : Find in seconds
- Substitution Cipher : What’s the secret !!
- Sentiment Analysis : Analyse your Facebook data
- 20 questions game : I can read your mind
- Permutations : Jumbled Words
- Spot the similarities : Dobble game
- Count the words : Hundreds, Thousands or Millions.
- Rock, Paper and Scissor : Cheating not allowed !!
- Lie detector : No lies, only TRUTH
- Calculation of the Area : Don’t measure.
- Six degrees of separation : Meet your favourites
- Image Processing : Fun with images
- Tic tac toe : Let’s play
- Snakes and Ladders : Down the memory lane.
- Recursion : Tower of Hanoi
- Page Rank : How Google Works !!
Week 12: Programming Assignment 1 [Due on 2024-04-18, 23:59 IST]
The Pearson correlation coefficient is a measure of association between two sets of data. In this problem, the data shall be represented as vectors (lists) X and Y. The formula for computing the coefficient is given below: Xi corresponds to the element X[0] in the list X. We have used zero-indexing here. Write a function named pearson that accepts two vectors X and Y as arguments and returns the Pearson correlation coefficient between them. To help you with the computation, some functions have already been defined in the prefix code. You can write the entire function by just using the pre-defined functions. This is an important exercise that will help you in future projects when you start working with libraries. You do not have to accept the input from the user or print output to the console. You just have to write the function definition.
Week 12: Programming Assignment 2 [Due on 2024-04-18, 23:59 IST ]
A square metal plate in 2D space is the setup we are going to work with. The spatial extent of the metal plate is given by: 0 ≤ x,y ≤ 5 The temperature at any point (x,y) on the plate is given by the following equation. The temperature is measured in Celsius and can be negative: f(x,y) = 30 + x2 + y2 − 3x − 4y A micro-organism lives on the surface of the metal plate. It occupies only those points on the plate where both the coordinates are integers. The organism cannot survive in high temperatures and instinctively moves to regions of low temperature that are less or equal to a threshold T. If no such region is found, it can't survive. The terms high and low are used in a relative sense and should be compared with respect to the threshold. Write a function named survival that accepts the value of T as argument and returns True if the organism can survive on the metal plate, and False otherwise. You do not have to accept input from the user or print the output to the console. You just have to write the function definition.
Week 12: Programming Assignment 3 [Due on 2024-04-18, 23:59 IST ]
Write a function named std_dev that accepts a list of real numbers X as argument. It should return the standard deviation of the points given by the following formula: Here, Xi refers to the element X[i] in the list and X refers to the arithmetic mean of the numbers in X. Try to use list-comprehension wherever possible. However, we won't be evaluating you on this. You do not have to accept the input from the user or print output to the console. You just have to write the function definition.
Week 11: Programming Assignment 1 Due on 2024-04-11, 23:59 IST
Write the following functions: (1) factors: accept a positive integer n as argument. Return the set of all factors of n. (2) common_factors: accept two positive integers a and b as arguments. Return the set of common factors of the two numbers. This function must make use of factors. (3) factors_upto: accept a positive integer n as argument. Return a dict D, whose keys are integers and values are sets. Each integer in the range [1,n], endpoints inclusive, is a key of D. The value corresponding to a key, is the set of all factors of key. This function must make use of factors. The idea we are trying to bring out here is to make use of pre-defined functions whenever needed. You do not have to accept input from the user or print output to the console. You just have to write the definition of all three functions. Each test case will correspond to one function call.
Week 11: Programming Assignment 2 Due on 2024-04-11, 23:59 IST
A clockwise rotation of a list consists of taking the last element and moving it to the beginning of the list. For instance, if we rotate the list [1, 2, 3, 4, 5], we get [5, 1, 2, 3, 4]. If we rotate it again, we get [4, 5, 1, 2, 3]. Your task is to perform k rotations of a list. The first line of input contains a non-empty sequence of comma-separated integers. The second line of input is a positive integer k. Perform k rotations of the list and print it as a sequence of comma-separated integers.
Week 11: Programming Assignment 3 Due on 2024-04-11, 23:59 IST
Consider a spiral of semicircles. We start at a point P0 on the x-axis with coordinates (l,0). The first arm of the spiral ends at P1 with coordinates (r,0). The second arm of the spiral starts at P1 and ends at the center of the first arm, P2. The third arm starts from P2 and ends at P3 which happens to be the center of the second arm. And finally, the fourth arm starts at P3 and ends at P4, the center of the third arm. Write two functions named spiral_iterative and spiral_recursive, each of which accepts three arguments: left: x-coordinate of the point P0 right: x-coordinate of the point P1 n: the number of arms in the spiral Both functions should return the the x-coordinate of Pn, the point at which the nth arm of the spiral ends. You do not have to accept input from the user or print the output to the console. You just have to write the function definition.
(Note-It has a zip file which is password protected.Get the password from the YouTube video)
- Tuesday, April 9, 2024
NPTEL Programming in Java Week 11 Assignment Solution
NPTEL Programming in Java Week 11 All Programming Assignment Solutions | 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”
Question : 1 Complete the code segment to insert the following data using prepared statement in the existing table ‘ PLAYERS ’.
Question : 2 Write the required code in order to update the following data in the table ‘ PLAYERS ’ .
Question : 3 Write the appropriate code in order to delete the following data in the table ‘ PLAYERS ’ .
Question : 4 Complete the following program to calculate the average age of the players in the table ‘ PLAYERS ’ .
Question : 5 Complete the code segment to drop the table named ‘ PLAYERS ’ .
One thought on “ NPTEL Programming in Java Week 11 Assignment Solution ”
hey there! I am getting error (” Not able to run”) for 1st assignment of Week 11. So how to solve ?
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Programming in Java | NPTEL 2023 | Week 1 quiz solutions
This set of MCQ(multiple choice questions) will help you with the solutions of Programming in Java NPTEL Week 1 Quiz .
Overview: Programming in Java
With the growth of Information and Communication Technology, there is a need to develop large and complex software. In addition, 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.
Enroll NPTEL courses for FREE
Do you want to explore your knowledge or improve your skills at zero cost? If yes, then NPTEL is a very good option for you. National Programme on Technology Enhanced Learning (NPTEL) is an Indian learning platform for university-level science, technology, engineering, and mathematics subjects. More than 900 active courses are available on NPTEL. And the good thing is you can enroll them in free. Are you ready for this exciting journey to learn new skills? If yes, then for what you are waiting. Just read the complete step by step guide on “ How to Register for NPTEL Online Courses for Free ” and get yourself enrolled in any course of your interest. All the required steps/points are made very clear with proper description and images in this guide. You have to just follow all the steps properly and you are good to go.
Course layout
Answers COMING SOON! Kindly Wait!
Week 1 : Overview of Object-Oriented Programming and Java Programming Assignment Week 2: Java Programming Elements Programming Assignment Week 3: Input-Output Handling in Java Programming Assignment Week 4: Encapsulation Programming Assignment Week 5: Inheritance Programming Assignment Week 6: Exception Handling Programming Assignment Week 7: Multithreaded Programming Programming Assignment Week 8: Java Applets and Servlets Programming Assignment Week 9: Java Swing and Abstract Windowing Toolkit Week 10: Networking with Java Week 11: Java Object Database Connectivity Week 12: Interface and Packages for Software Development
NOTE: You can check your answer immediately by clicking show answer button. Programming in Java NPTEL Week 1 Quiz Solutions” contains 10 questions.
Now, start attempting the quiz.
Programming in Java NPTEL Week 1 Quiz Solutions
Q1. Which of the following is NOT a primitive data type in Java?
a) int b) boolean c) String d) char
Answer: c) String
Q2. Consider the following program.
What is the output of the above code?
a) 127 b) -127 c) 129 d) 2
Answer: b) -127
Q3. Which of the following concept that Java doesn’t support?
a) inheritance b) encapsulation c) pointer d) array
Answer: c) pointer
Q4. Which of the following is not a keyword in java?
a) import b) super c) method d) class
Answer: c) method
Q5. Consider the following program.
What will be the output of the program if it is executed?
a) 12 20 13 b) 12 20 15 c) 12 20 015 d) 12 20 F
Answer: a) 12 20 13
Q6. Match the following java terms with their descriptions? Choose the correct option.
a) A-1, B-2, C-3 b) A-2, B-3, C-1 c) A-3, B-2, C-1 d) A-3, B-1, C-2
Answer: a) A-1, B-2, C-3
Q7. Consider the following program.
a) 20 b) 2 c) Compiler error d) 40
Answer: c) Compiler error
Q8. What is the output of the following code?
a) null b) true c) false d) 1
Answer: c) false
Q9. Which program is used to compile Java source code into bytecode?
a) javap b) javac c) java d) javad
Answer: b) javac
Q10. Consider the following program.
a) 50 b) 10 c) Compiler error d) 5
Answer: a) 50
Previous | Programming in Java NPTEL 2023 Week 1 Quiz Solutions
Q1. What is the incorrect statement about bytecode?
a) Java when compiles the source code, it converts it to bytecode b) JVM (Java Virtual Machine) is an interpreter of bytecode c) Bytecode is not portable and it needs to be compiled separately for each platform d) JVM offers a protected environment which helps in enhanced safety for the system
Answer: c) Bytecode is not portable and it needs to be compiled separately for each platform
Q2. What is the output of the above code?
a) a b) Compiler error due to line n1 c) Compiler error due to line n2 d) Print nothing
Answer: d) Print nothing
Q3. Which one of the following is not a primitive datatype?
a) byte b) short c) class d) long
Answer: c) class
a) final b) super c) integer d) extend
Answer: c), d)
Q5. What will be the output of the program if it is executed?
a) 15-even-1 b) 15-odd-1 c) 15-even- d) 15-odd-
Answer: b) 15-odd-1
Q6. Why does the error “javac is not recognized as an internal or external command” occur?
a) Path is not set for java b) JDK is not correctly installed c) .class file is not found d) javac jar is missing from java library
Answer: a) Path is not set for java
Q7. Following is a piece of code where some parts of a statement is missing: In the following, some option are given. You have to choose the correct option(s) for the argument in System.out.print() function to print the value 102.
a) nptel[nptel.length-2]+nptel[0] b) nptel[0] + nptel[nptel.length-2] c) “” + nptel[nptel.length-2] + nptel[0] d) “” + nptel[0] + nptel[nptel.length-2]
Answer: a), b)
Q8. Which of the following concept that Java doesn’t support?
a) inheritance b) serialization c) goto d) array
Answer: c) goto
Q9. The subsystem of JVM that is used to load class files is known as ____________.
a) Classloader b) JRE c) JDK d) Compiler
Answer: a) Classloader
Q10. What is the value of total after executing the following code snippet? int marks = 5; int grace = 2; int total = mark + (mark > 6 ? ++grace : –grace);
a) 6 b) 5 c) 4 d) 3
Answer: a) 6
Programming in Java NPTEL 2022 Week 1 Quiz Solutions
Q1. Consider the following program.
a) 15 b) 12 c) 14 d) 10
Answer: a) 15
Q2. Following is a piece of code where some parts of a statement is missing: In the following, some options are given. You have to choose the correct option for the argument in System.out.print() function to print the first and the last but one characters in the array nptel.
Answer: d) “” + nptel[0] + nptel[nptel.length-2]
Q3. Consider the following program. What will be the output of the program if it is executed?
a) Print the value of N! b) Print the value of N(N+1)/2 c) Print the value of 1x3x5x…xN d) Print the value of 1!x2!x3!x…xN!
Answer: a) Print the value of N!
Q4. Which of the following can be used for a variable name in Java?
a) byte b) throw c) this d) extend
Answer: d) extend
Q5. Consider the following program. What will be the output of the program if it is executed? Let N=10
a) 5 b) 20 c) 8 d) 10
Answer: c) 8
Q6. A platform is the hardware or software environment in which a program runs. Which of the following is/are Java platform components(s)?
a) HTML b) Java Virtual Machine c) Java Application Programming Interface (API) d) HotJava
Answer: b), c)
Q7. What is the value returned by the method f() defined below? public static int f(int x, int y) { return (x>y) ? y : x; }
a) The sum of x and y that is, x + y b) The difference of x and y that is, x – y c) The maximum of x and y that is, the larger value of x and y. d) The minimum of x and y that is, the smaller value of x and y.
Answer: d) The minimum of x and y that is, the smaller value of x and y.
Q8. A Java file with extension ‘.class’ contains
a) Java source code b) HTML tags c) Java Byte code d) A program file written in Java programming language
Answer: c) Java Byte code
Q9. Which of the following is used to find and fix bugs in the Java programs?
a) JVM b) JRE c) JDK d) JDB
Answer: d) JDB
Q10. Consider the following program. What will be the output of the program if it is executed?
a) Print first six even numbers. b) Print first six odd numbers. c) Print first five even numbers. d) Print first six Fibonacci numbers.
Answer: d) Print first six Fibonacci numbers.
>> Next- Programming in Java Week 2 Assignment Solutions
Previous – Week 1 Quiz Solutions
Q1. Which of the following is not a Language Processor?
a) Assembler b) Compiler c) Interpreter d) Fortran
Answer: d) Fortran
Q2. Which of the following is not a valid comment?
a) /** comment */ b) /* comment */ c) /* comment d) // comment
Q3. Consider the following program.
a) 5 b) 2 c) 4 d) 1
Answer: a) 5
a) boolean b) final c) finally d) calloc
Answer: d) calloc
a) 4 b) 2 c) 3 d) 5
Answer: a) 4
Programming in Java NPTEL 2022 Week 1 quiz Solutions
Q6. Following is a piece of code where some parts of a statement is missing:
In the following, some options are given. You have to choose the correct option for the argument in System.out.print() function to print the second and the last characters in the array nptel.
a) nptel[nptel.length] + nptel[1] b) nptel[1] + nptel[nptel.length-1] c) “” + nptel[1] + nptel[nptel.length-1] d) “” + nptel[nptel.length-1] + nptel[1]
Answer: c) “” + nptel[1] + nptel[nptel.length-1]
Q7. What is the output of this program?
a) 20 b) 25 c) 42 d) 31
Answer: c) 42
Programming in Java NPTEL 2022 Week 1 Quiz solutions
Q8. Which of the following is used to find and fix bugs in the Java programs?
Q9. Which of the following is/are primitive data type(s) in Java?
a) int b) String c) Array d) double
Answer: a), d)
Q10. When you compile a program written in the Java programming language, the compiler converts the human-readable source file into platform-independent code that a Java Virtual Machine can understand. What is this platform-independent code called?
a) Source code b) Bytecode c) Machine code d) Opcode
Answer: b) Bytecode
Prevoius – Week 2 Assignment Solutions
Nptel – Deep Learning assignment solutions
Social Networks nptel assignment answers
NPTEL answers: Programming in Modern C++
For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.
Related Posts
Html mcq : html basics (multiple choice question), html mcq : html web browsers (multiple choice question).
C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)
C++ mcq : c++ basics(multiple choice question), leave a comment cancel reply.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
- 1st Central Law Reviews: Expert Legal Analysis & Insights
- All Courses
- Privacy Policy
Swayam Solver
Learn Programming & Prepare for NPTEL Exams... Swayam Solver is your one-stop destination for NPTEL exam preparation.
NPTEL Programming in Java Jan 2024 Week 6 to 12
Please scroll down for latest Programs. 👇
Week 6 : Programming Assignment 1
Week 6 : programming assignment 2, week 6 : programming assignment 3, week 6 : programming assignment 4, week 6 : programming assignment 5, week 7 : programming assignment 1.
- a parameterized constructor to initialize the private fields
- the getter/setter methods for each field
Week 7 : Programming Assignment 2
- a parameterized constructor to initialize the private field
- public void deposit(...) // to deposit money
- public void withdraw(...) // to withdraw money, should print "Insufficient funds!" if not enough money to withdraw
- public double getBalance() // to return the current balance
Week 7 : Programming Assignment 3
- a parameterized constructor to initialize the Circle class
- @Override the area function to compute the area of a circle ( Use Math.PI for value of pi, not 22/7)
- @Override the displayInfo() function to print exactly in the format provided by the test cases.
Week 7 : Programming Assignment 4
- Create a class "Circle" that implements the "Shape" interface and provides its own implementation for calculateArea().
- Create another class "Rectangle" that implements the "Shape" interface and provides its own implementation for calculateArea().
- @Override the area function to compute the area of a rectangle
Week 7 : Programming Assignment 5
- Create a class "FlyingFish" that implements both interfaces and provides its own implementation for fly() and swim()
- It should have a private variable name, use a constructor to set the value and the functions fly() and swim() to print exactly as given in the test case.
Week 8 : Programming Assignment 1
- name (String)
- sound (String)
- public void makeSound() - This method should display the name of the animal and the sound it makes.
Week 8 : Programming Assignment 2
Week 8 : programming assignment 3, week 8 : programming assignment 4, week 8 : programming assignment 5, no comments:, post a comment.
Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.
IMAGES
VIDEO
COMMENTS
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 ...
To associate your repository with the nptel-assignments topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
To associate your repository with the nptel-java-solutions topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
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 to n. Print the sum.
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 ...
Welcome to the NPTEL Week 1 Assignment for the Programming in JAVA course in July 2023! This comprehensive video tutorial will guide you through the fundamen...
Course Name : "Programming in Java 2023". Question : 1 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. Note the following points carefully: 1. Use only double datatype to store all numeric values. 2.
🔊 Programming In Java NPTEL Elective Course 2023 | https://techiestalk.in/🔗Programming Assignment Link : https://bit.ly/3SzzRrDNPTEL Programming In Java WE...
Course Name : "Programming in Java 2023". Question : 1 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 ...
August 16, 2023. Faheem Ahmad. NPTEL Programming in Java Week 4 All Programming Assignment Solutions - July 2023 | Swayam. With the growth of Information and Communication Technology, there is a need to develop large and complex software. Further, those software should be platform independent, Internet enabled, easy to modify, secure, and robust.
02/07/2020 Programming in Java - Course https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=102 3/3 Assignment Solution Books Live Interactive
Programming In Java - - Announcements. Programming In Java : Exam certification criteria - Jan 2023. Dear Learners, Please see the certification criteria of this course below. Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course. Exam score = 75% of the proctored (in person ...
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.
Download JOY 2023 January to April weekly quizzes ... The Joy of Computing using python week 12 programming answers. Week 12: Programming Assignment 1 [Due on 2024-04-18, 23:59 IST] ... This is like a programming assignment of 1 hour. NPTEL will never ask to switch on any webcam during this exam.
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.
Nptel - Deep Learning assignment solutions. Social Networks nptel assignment answers. NPTEL answers: Programming in Modern C++. For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.
Due on 2024-04-11, 23:59 IST. 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. Your last recorded submission was on 2024-03-30, 17:29 IST. Select the Language for this assignment. File name for this program : import java.sql.*;
NPTEL Programming in Java Jan 2024 Week 6 to 12 Posted on March 01, 2024 Please scroll down for latest Programs. 👇 . Week 6 : Programming Assignment 1. ... This assignment has Public Test cases. Please click on "Compile & Run" button to see the status of Public test cases. Assignment will be evaluated only after submitting using Submit ...
Click on the link below to get all the codes shown in the video:https://getpythoncode-help.github.io/java.htmlNPTEL Programming in Java week 7 all 5 programm...
This repository in NPTEL course Programming in Java Question and Quiz answer. - Programming-in-Java-NPTEL/week 11/Exercise 11.1.java at master · sumitnce1/Programming-in-Java-NPTEL