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 java assignment answers 2022

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 java assignment answers 2022

In association with

nptel java assignment answers 2022

nptel java assignment answers 2022

  • C - Programming
  • Data Mining
  • Neural Networks
  • Deep Learning
  • JAVA SCRIPT

nptel java assignment answers 2022

  • Item 3 Subitem 1 Subitem 1 a Subitem 2 b Subitem 3 c Sub sub item 1 Sub sub item 2 Subitem 4 d Subitem 2 Subitem 3
  • Subitem 1 Subitem 2 Subitem 3

NPTEL - Programming in Java - QUIZ : Week 1:Assignment 1 - 2022

nptel java assignment answers 2022

☞ Programming in Java NPTEL QUIZ : Week 1: Assignment 1 - 2022

QUIZ : Week 1:Assignment 1 - NPTEL >> Programming In Java - 2022

nptel java assignment answers 2022

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

In this post, We have provided answers of NPTEL Programming in Java Assignment 1. We provided answers here only for reference. Plz, do your assignment at your own knowledge.

ALSO READ :- NPTEL Registration Steps [July – Dec 2022] NPTEL Exam Pattern Tips & Top Tricks [2022] NPTEL Exam Result 2022 | NPTEL Swayam Result Download

NPTEL Programming In Java Week 1 Assignment Answers 2023

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

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

2. Consider the following program.

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

What is the output of the above code?

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

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

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

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

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

5. Consider the following program.

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

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

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

6 . Match the following java terms with their descriptions?

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

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

7. Consider the following program.

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

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

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

8. What is the output of the following code?

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

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

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

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

10. Consider the following program.

[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

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

NPTEL Programming In Java Week 1 Programming Assignment Answers

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

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

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

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

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

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

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

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

NPTEL Programming In Java Assignment 1 Answers 2022 [July-Dec]

1. Consider the following program. What will be the output of the program if it is executed? a. 15 b. 12 C. 14 d. 10

2. Following is a piece of code where some parts of a statement is missing: a. nptel[nptel.length-2] + nptel[0] b. nptel[O] + nptel[nptel.length-2] c. +nptel[nptel.length-2] + nptel[0] d. +nptel[0] + nptel[nptel.length-2]

3. Consider the following program. What will be the output of the progran if it is executed? a. Print the value of N! b. Print the value of NN+1)/2 c. Print the value of 1x3x5x.. xN d. Print the value of 1!x2!x3!x…xN!

4. Which of the following can be used for a variable name in Java? a. byte b. throw c. this d. extend

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

6. A platform is the hardware or software environment in which a program runs. Which of the following is/are Java platform component(s)? a. HTML b. Java Virtual Machine c. Java Application Programming Interface (API) d. HotJava

7. 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. a. The maxinmum ofx and y that is, the larger value of x and y. d. The minimum ofx and y that is, the smaller value of x and y.

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

9. Which of the following is used to find and fix bugs in the Java programs? a. VM b. JRE C. JDK d. JDB

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

Programming In Java Week 1 Programming Assignment Answers

Q1. Complete the code segment to find the perimeter and area of a circle given a value of radius. You should use Math.PI constant in your program. If radius is zero or less than zero then print ” please enter non zero positive number “ Code:-

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

Q3. 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. Code:-

Q4. Complete the code segment to  check whether the number is an Armstrong number or not. Code:-

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

For More NPTEL Answers:-  CLICK HERE

Join Our Telegram:-  CLICK HERE

About Programming In Java

With the growth of Information and Communication Technology, there is a need to develop large and complex software. Further, those software should be platform independent, Internet enabled, easy to modify, secure, and robust. To meet this requirement object-oriented paradigm has been developed and based on this paradigm the Java programming language emerges as the best programming environment. Now, Java programming language is being used for mobile programming, Internet programming, and many other applications compatible to distributed systems. This course aims to cover the essential topics of Java programming so that the participants can improve their skills to cope with the current demand of IT industries and solve many problems in their own filed of studies. 

COURSE LAYOUT

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

CRITERIA TO GET A CERTIFICATE

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

Final score = Average assignment score + Exam score

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

5 thoughts on “[July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023”

Please post the answer of week 2

ok Sure it will be added soon

Also thank you for Posting answers 🌝❤️

Most Welcome

can u please post the ans of statistical learning and eleability analysis

Leave a Comment Cancel reply

You must be logged in to post a comment.

Programming In Java | Week 1

Session: JAN-APR 2024

Course name: Programming In Java

Course Link: Click Here

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

These are NPTEL Programming In Java Week 1 Assignment 1 Answers

Q1. What is the primary focus of Java programming? a. Low-level optimizations b. Hardware-specific operations c. Platform independence d. Assembly language programming

Answer: c. Platform independence

Q2. Which of the following programming principles is a key aspect of Java? a. Code obfuscation b. Platform dependence c. Object-oriented programming d. Global variables

Answer: c. Object-oriented programming

Q3. What is the last step in the Java programming process? a. Java Program Execution b. Java Program Editing c. Java Program Compilation d. C/C++ versus Java

Answer: a. Java Program Execution

Q4. Which of the following is NOT a Java programming tool? a. Eclipse b. NetBeans c. IntelliJ IDEA d. GCC

Answer: d. GCC

Q5. What does the term “Write Once, Run Anywhere” (WORA) imply in Java? a. Code reusability b. Platform independence c. Cross-compilation d. Dynamic typing

Answer: b. Platform independence

Q6. In Java, what is used to store multiple values of the same type? a. Structures b. Pointers c. Arrays d. Lists

Answer: c. Arrays

Q7. Which of the following is a valid identifier in Java? a. 123identifier b. _identifier c. #identifier d. identifier-123

Answer: b. _identifier

Q8. What is the purpose of Java Language Subset? a. To limit the capabilities of Java b. To make Java code compatible with other languages c. To define a smaller set of Java features for specific purposes d. To enhance the performance of Java programs

Answer: c. To define a smaller set of Java features for specific purposes

Q9. What is the primary purpose of the Java Virtual Machine (JVM) in the Java programming language? a. Code optimization b. Platform independence c. Memory management d. Hardware-specific operations

Q10. What is emphasized during the Java Program Editing phase? a. Writing platform-specific code b. Debugging the program c. Compiling the program d. Writing and modifying the source code

Answer: d. Writing and modifying the source code

More Weeks of Programming In Java: Click here

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

Session: JULY-DEC 2023

Course Name: Programming In Java

Programming Assignment

Question 1 Complete the code segment to find the perimeter and area of a circle given a value of radius. You should use Math.PI constant in your program. If radius is zero or less than zero then print ” please enter non zero positive number “.

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

Question 3 Consider First n even numbers starting from zero(0).Complete the code segment to calculate sum of all the numbers divisible by 3 from 0 to n. Print the sum. Example: Input: n = 5 ——- 0 2 4 6 8 Even number divisible by 3:0 6 sum:6

Question 4 Complete the code segment to check whether the number is an Armstrong number or not. Armstrong Number: A positive number is called an Armstrong number if it is equal to the sum of cubes of its digits for example 153 = 1 3 +5 3 +3 3 , 370, 371, 407, etc.

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

More Nptel Courses: Click here

Session: JAN-APR 2023

Course Name: NPTEL Programming In Java Assignment

Week 2: Click Here

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) Consider the following program 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

Q4) Which of the following is not a keyword in java? a. final b. super c. integer d. extend

Answer: c, d

Q5) Consider the following program 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 options 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 mark = 5; int grace = 2; int total = mark + (mark > 6 ? ++grace : –grace); a. 6 b. 5 c. 4 d. 3

Answer: a. 6

Assignment Solution

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

Consider First n even numbers starting from zero(0).Complete the code segment to calculate sum of all the numbers divisible by 3 from 0 to n. Print the sum. Example: Input: n = 5 ——- 0 2 4 6 8 Even number divisible by 3:0 6 sum:6

Complete the code segment to find the perimeter and area of a circle given a value of radius. You should use Math.PI constant in your program. If radius is zero or less than zero then print ” please enter non zero positive number “.

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

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

Session: JULY-DEC 2022

1. What of the following can be used for a variable name in java? a. Byte b. Throw c. This d. Extend

2. A platform is the hardware or software environment in which a program runs. Which of the following is/are java platform component? a. HTML b. Java Virtual Machine c. Java application programming interface(API) d. HotJava

3. What is the value returned by the method f() define below? Public static int f(int x, int y) {return (x>y) ? y: x; }

  • The sum of x and y that is, x + y.
  • Thee difference of x and y that is, x-y.
  • The maximum of x and y that is,the large r value of x and y
  • The minimum of x and y that is, the smaller r value of x and y

4. A java file with extension ‘.class’ contains

  • Java source code
  • Java byte code
  • A program file written in java programming language

5. Which of the following is used to find and fix bus in the Java programs?

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

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

7. Following is a piece of code where some part of the statement is missing :

In the following , some option 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.

  • nptel[nptel.length-2] + nptel[0]
  • nptel[0] + nptel[nptel.length-2]
  • “” + nptel[nptel.length-2] + nptel[0]
  • “” + nptel[0] + nptel[nptel.length-2]

8. Consider the following program .

  • Print first six even numbers.
  • Print first six odd numbers.
  • Print first five even number.
  • Print first six Fibonacci numbers.

9. Int N = Integer.parseInt (args[])

10. Consider the following program.

  • Print the value of N!
  • Print the value of N(N+1)/2
  • Print the value of 1*3*3*…………..* N
  • Print the value of 1!*2!*3!*……………*N!

Programming Assignment Answers

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

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

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

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

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

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

* The material and content uploaded on this website are for general information and reference purposes only. Please do it by your own first. COPYING MATERIALS IS STRICTLY PROHIBITED.

MORE NPTEL ANSWERS: CLICK HERE

These are NPTEL Programming In Java Week 1 Assignment 1 Answers

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 .

Here are 124 public repositories matching this topic...

Kishanrajput23 / nptel-the-joy-of-computing-using-python.

Study materials related to this course.

  • Updated Oct 27, 2023

bkkothari2255 / Programming_In_Java_NPTEL

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

  • Updated Aug 31, 2021

vishnureddy7 / Joy-of-Computing-using-Python-NPTEL

Joy of computing using Python NPTEL Course Assignment Solutions

  • Updated Feb 22, 2020

vishnureddy7 / Programming-DS-Algo-Python-NPTEL

Assignment Solutions for Programming, Data Structures and Algorithms using Python course in NPTEL

  • Updated Oct 17, 2019

kishanrajput23 / NPTEL-Programming-In-java

  • Updated Apr 14, 2022

nishanthvijayan / nptel-dl

A command line tool to download course videos from NPTEL

  • Updated Mar 31, 2019

Subhankar2000 / MSP430G2553-Proteus-v8.9-Simulation

This is my repository where I am storing all my Proteus v8.9 Project Files and these are project files for simulation of Texas Instrument’s MSP430G2553 microcontroller with various example programs. I am keeping the Proteus design files only and some .HEX, .ELF, and .INO files.

  • Updated Nov 14, 2021

kadeep47 / NPTEL-Getting-Started-With-Competitive-Programming

[Aug - Oct 2023] Solutions for NPTEL Course Getting started with competitive programming weekly assignment.

  • Updated Sep 6, 2023

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

I am sharing my journey of studying a course on Programming in Java taught by Prof.Debasis Samanta Sir IIT Kharagpur

  • Updated Dec 4, 2023

ahampriyanshu / SWAYAM-NPTEL-CEC

SWAYAM-NPTEL-CEC

  • Updated Jun 10, 2020

gauravagrwal / Practical-Machine-Learning-with-Tensorflow

Practical Machine Learning with TensorFlow 2.0

  • Updated Oct 6, 2019
  • Jupyter Notebook

prateeksawhney97 / Programming-Data-Structures-and-Algorithms-using-Python

Programming Assignments of the NPTEL course in Oct-2018.

  • Updated Oct 15, 2022

Md-Awaf / NPTEL-Course-Getting-started-with-Competitive-Programming

Solutions for NPTEL Course Getting started with competitive programming weekly assignment.

  • Updated Apr 20, 2023

dewanshrawat15 / nptel-downloader

A command line tool to help download NPTEL courses.

  • Updated Mar 3, 2023

guru-shreyansh / NPTEL-Programming-in-Java

The sole intention behind this repository is to help the beginners in Java with the course contents.

  • Updated Aug 1, 2021

rvutd / NPTEL-Joy-of-Computing-2020

Programming Assignment Solutions

  • Updated May 5, 2020

roopeshsn / embedded-system-design-nptel

Embedded System Design Course Materials - NPTEL

  • Updated May 6, 2022

sur16-cse / JAVA-Nptel

This repository contain all the programs discussed in nptel lectures or demonstrations of java

  • Updated Sep 30, 2022

mittalvaibhav1 / nptel-dsa-python

This repo contains the assignments from the python data structures and algorithms course offered by IIT Madras via nptel.

  • Updated Dec 29, 2020

arpit306 / 5-Stage-Pipelined-MIPS32-RISC-Processor-Design-on-Verilog

This repository contains the details and the code for the MIPS32 ISA based RISC Processor, which is implemented in 5 stage pipelined configuration.

  • Updated Apr 26, 2023

Improve this page

Add a description, image, and links to the nptel topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nptel topic, visit your repo's landing page and select "manage topics."

Quizermania Logo

Programming in Java | NPTEL 2022 | Week 11 quiz solutions

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

Course layout (Answers Link)

Answers COMING SOON! Kindly Wait!

Week 1 : Overview of Object-Oriented Programming and Java Programming Assignment Week 2: Java Programming Elements Programming Assignment Week 3: Input-Output Handling in Java Programming Assignment Week 4: Encapsulation Programming Assignment Week 5: Inheritance Programming Assignment Week 6: Exception Handling Programming Assignment Week 7: Multithreaded Programming Programming Assignment Week 8: Java Applets and Servlets Programming Assignment Week 9: Java Swing and Abstract Windowing Toolkit Programming Assignment Week 10: Networking with Java Programming Assignment 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 2022 Week 11 Quiz Solutions” contains 10 questions.

Now, start attempting the quiz.

Programming in Java NPTEL 2022 Week 11 Quiz Solutions

Q1. MySQL is a ___________.

a) Java Database Connectivity Driver b) Relational Database Management System c) Java Runtime Environment d) Java Development Kit

Answer: b) Relational Database Management System

Q2. The _________________ object allows you to execute parametrized queries.

a) ResultSet b) PreparedStatement c) ParameterizedStatement d) Condition

Answer: b) PreparedStatement

Q3. Which of the following best describes about JDBC?

a) JDBC works like a bridge connecting a Java application to a RDBMS, execute SQL commands and return results to the application. b) JDBC is a software component, which is both network and database independent. c) JDBC should be installed in the same machine from where the Java application will run. d) JDBC should be installed in the same server that of the database.

Q4. Which of the following is not a JDBC drivers?

a) Native – API driver b) Thin driver c) Network protocol driver d) Local Protocol driver

Answer: d) Local Protocol driver

Q5. The package, which is required to be imported for the JDBC programming?

a) java.net b) java.sql c) java.lang d) java.io

Answer: b) java.sql

Q6. How do you know in your Java program that a SQL warning is generated as a result of executing a SQL statement in the database?

a) You must catch the checked SQLException which is thrown by the method which executes the statement b) You must catch the unchecked SQLWarningExecption which is thrown by the method which executes the statement c) You must invoke the getWarnings() method on the Statement object (or a sub interface thereof). d) You must query the ResultSet object about possible warnings generated by the database.

Q7. Which one of the following contains both date and time information?

a) java.sql.TimeStamp b) java.sql.Time c) java.io.Time d) java.io.TimeStamp

Answer: a) java.sql.TimeStamp

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

a) 3306 is the default MySQL port. b) Database name is ‘nptel’ c) The database server is hosted on IP 127.0.0.1 d) Password for user ‘java’ is ‘joy’.

Answer: a), b), c)

Q9. Which of the following method is used to perform DML statements in JDBC?

a) executeResult() b) executeQuery() c) executeUpdate() d) execute()

Answer: c) executeUpdate()

Q10. The ___________ method sets the query parameters of the PreparedStatement Object.

a) putString() b) insertString() c) setString() d) setToString()

Answer: c) setString()

Previous Course – Week 11 Quiz Solutions

Q1. Which of the following is not a JDBC drivers?

Q2. Which of the following is a JDBC class component?

a) Connection b) ResultSet c) Statement d) Driver

Answer: b) ResultSet

Q3. As with Statement objects, to execute a PreparedStatement object, it need to be call an execute statement. Which of the following statement(s) is/are true regarding this?

a) executeQuery: if the query returns only one ResultSet (such as a SELECT SQL statement). b) executeUpdate: if the query does not return a ResultSet (such as an UPDATE SQL statement). c) execute: if the query might return more than one ResultSet object d) executeupdateQuery: if the query does return a ResultSet (such as an UPDATE SQL statement).

Q4. Which of the following statement(s) is/are true, when the return value for executeUpdate is 0?

a) The statement executed was an update statement that affected zero rows. b) The statement executed was a DDL statement c) The statement executed was an update statement that affected one row. d) The statement executed was a DCL statement

Answer: a), b)

Q5. Which of the following statement is used for executing a database stored procedure?

a) Statement b) PreparedStatement c) CallableStatement d) None of these

Answer: c) CallableStatement

Programming in Java NPTEL 2022 Week 11 quiz Solutions

Q6. One a JDBC driver has been registered, which of the following method is used to make a database connection?

a) getConnection(String url, String userID, String password) b) setConnection(String url, String userID, String password) c) Connect(String url, String userID, String password) d) Any one of the above.

Answer: a) getConnection(String url, String userID, String password)

Q7. The SQL command “USE test” implies, which of the following?

a) List all the databases those are there in the database server b) List all the tables those are there under the database c) Create a table called test d) Set test as the current working database, so that any SQL command bind to the test database onhy

Answer: d) Set test as the current working database, so that any SQL command bind to the test database only

Programming in Java NPTEL 2022 Week 11 Quiz solutions

nptel java assignment answers 2022

Q9. How do you know in your Java program that a SQL warning is generated as a result of executing a SQL statement in the database?

a) You must catch the checked SQLExecution which is thrown by the method which executes the statement. b) You must catch the unchecked SQLWarningExecption which is thrown by the method which executes the statement. c) You must invoke the getWarnings() method on the Statement object (or a sub interface thereof) d) You must query the ResultSet object about possible warnings generated by the database.

Answer: c) You must invoke the getWarnings() method on the Statement object (or a sub interface thereof)

Q10. Which one of the following SQL type represent getfloat()?

a) FLOAT b) REAL c) INTEGER d) DOUBLE

Answer: b) REAL

>> Prev- Programming in Java Week 10 Assignment Solutions

>> Next- Programming in Java Week 12 Assignment Solutions

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

Related Posts

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

Preprocessor Directives

C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)

C++ mcq : c++ basics(multiple choice question), leave a comment cancel reply.

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

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

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

Spread the word.

Share the link on social media.

Confirm Password *

Username or email *

Forgot Password

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

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

SIKSHAPATH Logo

SIKSHAPATH Latest Articles

Nptel programming in java week 7 assignment answers 2022.

Students, it’s time to reveal the hint of programming in java NPTEL week 7 assignment answers. And, identify where you can improve your marks in this assignment.

NPTEL banner to Programming in Java Assignment

NPTEL Programming In Java Week 7 Assignment Answers

Q1. Which of these is method for testing whether the specified element is a file or a directory?

a. IsFile()

b. isFile() c. Isfile()

d. isfile()

Answer : b. isFile()

1000+ Students are taking advantage of instant notifications on telegram .

Q2. Which of the following is/are NOT Standard Stream(s)?

a. System.in

b. System.out

c. System.err

d. System.console

Answer : d. System.console

Q3. What will be the output of the Java code?

b. NPTEL/JULY/2022

c. /NPTEL/JULY/2022

Answer: d. 2022

Q4. What will be the output if the below program is executed?

a. It will give compile-time error

b. It will give run-time error

Answer: d. 106

Q5. Which method is used to write a byte to the current output stream?

a. public void write(int b) throws IOException

b. public void write(byte[] b) throws IOException

c. public void flush()throws IOException

d. public void close() throws IOException

Answer: a. public void write(int b) throws IOException

Q6. Which method of RandomAccessFile class reads a line from the file and returns it as aString?

a. WriteInt().

b. readLine()

c. readInt()

d. WriteDouble()

Answer: b. readLine()

Q7. Which of these class is not a member class of java.io package?

b. PrintStream

c. StringReader

Answer: d. Stream

Q8. Which of the following is/are interface(s) of java.io package?

a. FileReader

b. FileWriter

c. DataOutput

d. DataInput

Answer: c. DataOutput

Q9. In which Java APIs the classes for handling all IO-streams are defined?

a. java.lang

b. java.util

d. java.awt

Answer: c. java.io

Q10. Consider the following program.

The file nptel.txt when browse with the Notepad text editor. it shows the content, which is shown below.

__________________________nptel.txt__________________________

____________________________________________________________

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

a. length: 6

b. length: 5

c. length: 0

d. length: 1

Answer: b. length: 5

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

Also Available:

NPTEL Programming In Java Week 6 Assignment Answers

NPTEL Java Week 8 Assignment Answers

Related Posts

NPTEL Cloud Computing Assignment 3 Answers 2023

NPTEL Cloud Computing Assignment 3 Answers 2023

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

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

NPTEL Programming In Java Week 6 Assignment Answers 2023

NPTEL Programming In Java Week 6 Assignment Answers 2023

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

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

  • Amazon Quiz
  • Flipkart Quiz
  • Play & Win 50,000 Coins
  • Privacy Policy

NPTEL Programming In Java ASSIGNMENT 5 Answers 2022

  • by QuizXp Team
  • February 20, 2022 March 13, 2022

NPTEL Programming In Java ASSIGNMENT 5

Are you looking for the Answers to NPTEL Programming In Java ASSIGNMENT 5? This article will help you with the answer to the  Nation al Programme on Technology Enhanced Learning  ( NPTEL )  Course ” NPTEL Programming In Java Assignment 5 “

What is Programming In Java?

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.

CRITERIA TO GET A CERTIFICATE

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

Final score = Average assignment score + Exam score

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

Below you can find the answers for NPTEL Programming In Java ASSIGNMENT 5

NPTEL Programming In Java ASSIGNMENT 5 Answers:-

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.

MCQ ASSIGNMENT WEEK 5 ANSWERS:- CLICK HERE

Q2. This program isto 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).

???? Next Week Answers: Assignment 06 ????

quizxp telegram

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.

Salesforce off campus Drive 2022 | Intern | Any Graduate | Bangalore/Hyderabad

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.

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

For other courses answers:- Visit

For Internship and job updates:- Visit

Disclaimer: We do not claim 100% surety of answers, these answers are based on our sole knowledge, and by posting these answers we are just trying to help students, so we urge do your assignment on your own.

if you have any suggestions then comment below or contact us at  [email protected]

If you found this article Interesting and helpful, don’t forget to share it with your friends to get this information.

x

IMAGES

  1. NPTEL PROGRAMMING IN JAVA WEEK 5 ASSIGNMENT ANSWERS

    nptel java assignment answers 2022

  2. NPTEL Programming In Java Assignment 1 Answers Solution Week 1

    nptel java assignment answers 2022

  3. NPTEL PROGRAMMING IN JAVA WEEK 2 ASSIGNMENT ANSWERS

    nptel java assignment answers 2022

  4. Programming In Java

    nptel java assignment answers 2022

  5. Programming In Java NPTEL Week 5 Assignment Answers 2022 || Unique

    nptel java assignment answers 2022

  6. NPTEL Programming in Java Week 5 All Programming Assignment Solutions

    nptel java assignment answers 2022

VIDEO

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

  2. NPTEL JAVA

  3. NPTEL Data Analytics With Python Week 5 Quiz Assignment Answers 2023

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

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

  6. NPTEL Programming In Java Week 3 Programming Assignment Answers Solution

COMMENTS

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

  2. NPTEL PROGRAMMING IN JAVA Assignment 1 Answers 2022

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

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

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

  4. nptel-solutions · GitHub Topics · GitHub

    This site contains the weekly( i.e. 1-9) questions and their solution of NPTEL-SWAYAM course "Programming in Java". java nptel-solutions ... Code Issues Pull requests NPTEL-The-Joy-of-Computing-using-Python with NOTES and Weekly quizes Answers. python3 nptel pytho nptel-joc nptel-solutions nptel ... NPTEL Programming Assignment: Road Trips and ...

  5. Programming In Java

    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.

  6. Programming in Java

    Programming in Java NPTEL Week 7 Programming Assignment 1 Solutions. 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. // Write the appropriate statement(s) to import the package(s) you need in your program import java.util.*; public class Question1{ public ...

  7. NPTEL Programming in Java Week 8 Assignment Answers 2022

    In this video, I have answered all ten questions of NPTEL programming in Java assignment 8 2022. Join Telegram: https://t.me/sikshapath_in• NPTEL Programmin...

  8. NPTEL Programming In Java WEEK 8 Quiz Assignment Solutions

    🔊 Programming In Java NPTEL Elective Course 2022NPTEL Programming In Java WEEK 8 Quiz Assignment Solutions | Swayam 2022 | IIT KharagpurWith the growth of I...

  9. Programming in Java

    This article will help you with the answers of Programming in Java NPTEL 2022 Week 9 Programming Assignment Solutions. Programming in Java NPTEL Week 9 Programming Assignment 1 Solutions Complete the code to develop a BASIC CALCULATOR that can perform operations like Addition , Subtraction , Multiplication and Division .

  10. Programming in Java

    Programming in Java NPTEL 2022 Week 12 Quiz Solutions. Q1. Which statement is true in case of using "this" keyword in a static method? a) "this" keyword can be used in static method to access static variables only. b) "this" keyword can't be used in static method. c) "this" keyword can be used in static method. d) None.

  11. NPTEL

    About. Study Glance provides Tutorials , Power point Presentations(ppts), Lecture Notes, Important & previously asked questions, Objective Type questions, Laboratory programs and we provide Syllabus of various subjects.

  12. NPTEL Programming In Java Assignment 7 Answers 2022

    NPTEL Programming In Java Assignment 7 Answers:-. 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. public class Question1{. public static void main (String[] args){. int i,number=0,sum=0;

  13. [July-Dec] NPTEL Programming In Java Assignment 1 Answers 2023

    Programming In Java Week 1 Programming Assignment Answers. Q1. Complete the code segment to find the perimeter and area of a circle given a value of radius. You should use Math.PI constant in your program. If radius is zero or less than zero then print " please enter non zero positive number ". Code:-.

  14. NPTEL Programming In Java Week 1 Assignment 1 Answers

    These are NPTEL Programming In Java Week 1 Assignment 1 Answers. Question 3. Complete the code segment to find the perimeter and area of a circle given a value of radius. You should use Math.PI constant in your program. If radius is zero or less than zero then print " please enter non zero positive number ". Solution:

  15. Programming In Java Assignment 1 Answers 2022

    Programming In Java Assignment 1 Answers:-. Q1. Complete the code segment to find the perimeter and area of a circle given a value of radius. You should use Math.PI constant in your program. If radius is zero or less than zero then print " please enter non zero positive number ". Code:-.

  16. nptel-assignments · GitHub Topics · GitHub

    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.

  17. nptel · GitHub Topics · GitHub

    Updated Apr 14, 2022; Java; nishanthvijayan / nptel-dl Star 12. Code Issues Pull requests A command line tool to download course videos from NPTEL ... Programming Assignments of the NPTEL course in Oct-2018. python programming algorithms data-structures hacktoberfest nptel Updated Oct 15, 2022;

  18. Programming in Java

    a) List all the databases those are there in the database server. b) List all the tables those are there under the database. c) Create a table called test. d) Set test as the current working database, so that any SQL command bind to the test database onhy. Show Answer. Programming in Java NPTEL 2022 Week 11 Quiz solutions. Q8.

  19. NPTEL Programming In Java Assignment 2 Answers 2022

    NPTEL Programming In Java Assignment 2 Answers:-. Q1. Complete the code segment to call the method print () of class Student first and then call print ()method of class School. Code:-. // Creating object of class Student.

  20. NPTEL Programming In Java Week 7 Assignment Answers 2022

    NPTEL Programming In Java Week 7 Assignment Answers 2022. ADMIN 2. Students, it's time to reveal the hint of programming in java NPTEL week 7 assignment answers. And, identify where you can improve your marks in this assignment.

  21. NPTEL Programming In Java Assignment 8 Answers 2022

    If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100. Below you can find the answers for NPTEL Programming In Java Assignment 8. Assignment No. Answers. Programming In Java Assignment 1. Click Here. Programming In Java Assignment 2. Click Here.

  22. NPTEL Programming In Java ASSIGNMENT 5 Answers 2022

    If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100. Below you can find the answers for NPTEL Programming In Java ASSIGNMENT 5. Assignment No. Answers. Programming In Java Assignment 1. Click Here. Programming In Java Assignment 2. Click Here.