Programming In Java | Week 2

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 2 Assignment 2 Answers

Q1. In Java programming an object can take many forms. This feature is called _______ . a. Abstraction b. Polymorphism c. Encapsulation d. Inheritance

Answer: b. Polymorphism

Q2. Which of the following is a valid declaration of an object of class, say NPTEL? a. NPTEL obj = new NPTEL(); b. NPTEL obj = new NPTEL; c. obj = new NPTEL(); d. new NPTEL obj;

Answer: a. NPTEL obj = new NPTEL();

Q3. A default constructor_______________________. a. has no arguments b. has no return type c. has one argument but no return type d. has two arguments

Answer: a. has no arguments

Q4. A top-level class may have which one of the following access modifiers? a. package b. private c. protected d. public

Answer: d. public

Q5. Integer in Java is a\an __________. a. Adapter class b. Inner class c. Not a class d. Wrapper class

Answer: d. Wrapper class

Q6. What is true about the new operator? a. returns a pointer to a variable b. creates a variable called new c. obtains memory for a new variable d. tells how much memory is available

Answer: c. obtains memory for a new variable

Q7. Which one is not supported by OOP? a. Abstraction b. Polymorphism c. Encapsulation d. Global variables

Answer: d. Global variables

Q8. Which of the following modifiers can be used to disallow a method from being overridden? a. final b. transient c. volatile d. static

Answer: a. final

Q9. Consider the following code segment Identify the line number(s) where there is/are error(s) in the above code. a. 1 b. 2 c. 3 d. 4 and 5

Answer: b. 2

Q10. Which of the following is TRUE about print() and println() methods? a. print() prints in a single line only and multiple lines cannot be printed in any way. b. println() prints and then appends a line break. c. println() prints in a single line only and multiple lines cannot be printed. d. print() prints and then appends a line break.

Answer: b. println() prints and then appends a line break.

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 call the method print() of class Student first and then call print() method of class School.

Question 2 Complete the code segment to call the method print() of class given class Printer to print the following. ——————————– Hi! I am class STUDENT Hi! I class SCHOOL. ——————————–

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

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

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

More Nptel Courses: Click here

Session: JAN-APR 2023

Course Name: Programming in Java

Week 3: Click Here

Q1. Following is a program given for this question. What will be the output of the above program? a. 22221010 b. 12222101 c. 22101010 d. 22221012

Answer: a. 22221010

Q2. When an array is passed to a method, what value does the method receive? a. Reference of the array. b. Copy of the array. c. First element in the array. d. Length of the array.

Answer: a. Reference of the array.

Q3. Following is a program given for this question. What will be the output of the above program? a. 28 b. -29 c. 30 d. -31

Answer: c. 30

Q4. How many bits are needed for float and double in Java, respectively? a. 32 and 64 b. 32 and 32 c. 64 and 64 d. 64 and 32

Answer: a. 32 and 64

Q5. Which of the following is a valid automatic type conversion in Java? a. short to byte b. float to long c. int to short d. int to long

Answer: d. int to long

Q6. Consider the following program and identify the output. a. 5 b. 10 c. 50 d. Compilation error

Answer: d. Compilation error

Q7. Which of the following is a valid declaration of an object of class say, Student? a. Student obj = new Student; b. Student obj = new Student(); c. obj = new Student(); d. new Student obj;

Answer: b. Student obj = new Student();

Q8. What is the output of the following program? a. 210 b. 120 c. 012 d. 201

Answer: c. 012

Q9. Consider the following piece of code. Which of the following option is the output of the above program? a. java b. npteljava c. nptel java d. nptel

Answer: d. nptel

Q10. What is the output of the following program? a. 60 b. 3011 c. 33 d. Compilation error

Programming In Java Programming Assignment Solution

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

Complete the code segment to call the method print() of class given class Printer to print the following. ——————————– Hi! I am class SCHOOL Hi! I class STUDENT. ——————————–

Complete the code segment tocall print() method of class Question by creating a method named ‘student()’.

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

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

More Weeks of Programming In Java: Click Here

Session: JULY-DEC 2022

Q1. What is the output of the following program?

a) 88 b) 8010 c) 64 d) 810

Answer: c) 64

Q2. Which of the following is generate API documentation in HTML format from Java source code?

a) javac b) javadoc c) javap d) java

Answer: b) javadoc

Q3. Following is a program given for this question.

What will be the output of the above program?

a) javanptel b) npteljava c) janjavanptel d) jannpteljava

Answer: b) npteljava

Q4. What will happen during the execution of the following code for the command line input?

Consider the following input on command line and select the options with the correct output(s).

Input: A: “jan java nptel” B:  1 2 3

a) A : jannptel javanptel nptelnptel b) A : jan java nptel jan java nptel c) B : 11 21 31 d) B : 1 2 3 1

Answer: b), c)

Q5. Which of the following is/are TRUE about print() and println() methods?

a) print() prints in a single line only and multiple lines cannot be printed in any way. b) print() prints and then appends a line break. c) println() prints in a single line only and multiple lines cannot be printed. d) println() prints and then appends a line break.

Answer: d) println() prints and then appends a line break.

Q6. What was the initial name of Java when it was first developed for embedded systems?

a) Greentalk b) Oak c) Java d) Javac

Answer: a) Greentalk

Q7. Which of the following is a valid declaration of an object of class, say Foo?

a) Foo obj = new Foo; b) obj = new Foo(); c) Foo obj = new Foo(); d) new Foo obj;

Answer: c) Foo obj = new Foo();

Q8. Following is a program given for this question.

a) 0 b) 1 c) false d) true

Answer: c) false

Q9. Which of the following can be used to take input from user during the execution of a program?

a) Using the string array provided as a parameter to the main method. b) getText() method can be used to get user input from the command line. c) Scanner class can be used by passing the predefined object System.in d) Once the execution starts, there is no way to provide user input.

Answer: c) Scanner class can be used by passing the predefined object System.in

Q10. What is the output of the following program?

a) 14 b) 12 c) 15 d) 17

Answer: d) 17

Programming in Java NPTEL Week 2 Programming Assignment Solutions

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

Q2. Complete the code segment to call the method print() of class given class Printer to print the following. ——————————– Hi! I am class STUDENT Hi! I class SCHOOL. ——————————–

Q3. Complete the code segment tocall print() method of class Question by creating a method named ‘studentMethod()’.

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

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

These are NPTEL Programming In Java Week 2 Assignment 2 Answers

VTU Updates

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

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

1. Following is a program given for this question.

What will be the output of the above program?

a. 22221010 b. 12222101 c. 22101010 d. 22221012

Answer:  a. 22221010

2. When an array is passed to a method, what value does the method receive?

a. Reference of the array. b. Copy of the array. c. First element in the array. d. Length of the array.

Answer : a. Reference of the array.

3. Following is a program given for this question.

a. 28 b. -29 c. 30 d. -31

Answer:  c. 30

4. How many bits are needed for float and double in Java, respectively?

a. 32 and 64 b. 32 and 32 c. 64 64 d. 64 and 32

Answer:  a. 32 and 64

5. Which of the following is a valid automatic type conversion in Java?

a. short to byte b. float to long c. int to short d. int to long

Answer:  d. int to long

6. Consider the following program and identify the output.

a. 5 b. 10 c. 50 d. Compilation error

Answer:  d. Compilation error

7. Which of the following is a valid declaration of an object of class say, Student?

a. Student obj = new Student; b. Student obj = new Student(); c. obj = new Student(); d. new Student obj;

Answer:  b. Student obj = new Student();

8. What is the output of the following program?

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

Answer:  c. 012

9. Consider the following piece of code.

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

a. java b. npteljava c. nptel java d. nptel

Answer:  d. nptel

10. What is the output of the following program?

a. 60 b. 3011 c. 33 d. Compilation error

Programming Assignment Answers

Week 2 : programming assignment 1.

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

Week 2 : Programming Assignment 2

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

——————————–

Hi! I am class SCHOOL

Hi! I class STUDENT. ——————————–

Week 2 : Programming Assignment 3

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

Week 2 : Programming Assignment 4

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

Week 2 : Programming Assignment 5

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

Related Posts

Explain network layer design issues..

  • April 4, 2024

AngularJS application that displays the date

  • March 12, 2024

AngularJS application to convert student details to Uppercase

Leave a reply cancel reply.

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

Add Comment  *

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

Post Comment

nptel programming in java assignment solutions week 2

This post is a draft . If you're reading this, you're probably a cool and trusted person. Please don't share it thank you.

Java NPTEL Solutions Week 2: Mastering Advanced Java Challenges

 Java NPTEL Solutions Week 2: Mastering Advanced Java Challenges cover image

In this blog post, we’ll dive deep into the solutions for Week 2 of your Java NPTEL course. These challenges will help you grasp more advanced concepts in Java programming. Let’s tackle each question efficiently while keeping our code clean and concise.

Java Week 2: Q1 - Calling ‘print()’ Using Inner Classes

In this problem, we have an outer class School and an inner class Student . To call the print() method in the Student class, you can create an object of the inner class and use it to invoke the print() method. Here’s the solution:

Explanation: We create an object of the inner class Student using School.Student s1 = new School().new Student(); and then call the print() method on this object.

Java Week 2: Q2 - Calling Methods of Different Classes

In this question, we have two separate classes, School and Student , each with its own print() method. To call these methods, you can create objects of the respective classes and invoke their print() methods. Here’s the solution:

Explanation: We create objects of both the Student and School classes and then call their respective print() methods.

Java Week 2: Q3 - Calling Methods by Creating a New Method

In this question, you need to call the print() method of class Question by creating a method named studentMethod() . Here’s the solution:

Explanation: We create an object of the Question213 class and call the studentMethod() , which in turn calls the print() method of the same class.

Java Week 2: Q4 - Calling Constructors in a Specific Order

This question involves calling constructors in a specific order in the Answer class. We create an object of the Answer class with the appropriate constructor. Here’s the solution:

Explanation: We create an object of the Answer class using the constructor with parameters, which in turn calls the default constructor using this() .

Java Week 2: Q5 - Debugging to Print ‘NPTEL JAVA’

This question requires debugging to print the text ‘NPTEL JAVA.’ Here’s the corrected solution:

Explanation: The code declares and initializes three strings and then prints them concatenated with spaces to get the desired output ‘NPTEL JAVA.’

That wraps up our solutions for Week 2 of your Java NPTEL course. These challenges have introduced you to some advanced Java concepts, including inner classes, method calls, and constructor invocation. Keep practicing and exploring, and you’ll continue to improve your Java programming skills. Stay tuned for more Java NPTEL solutions in the coming weeks!

swayam-logo

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

Programming In Java : Exam certification criteria - Jan 2023

Dear Learners, Please see the certification criteria of this course  below Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course. Exam score = 75% of the proctored (in person)certification exam score out of 100 Final score = Average assignment score + Exam score YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met,  you will not get the certificate even if the Final score >= 40/100. NOTE: Please note that we will not consider the unproctored programming exam score for certification in January 2023. -NPTEL Team

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

Dear Candidate, Here is a golden opportunity for those who had previously enrolled in this course, but could not participate in the exams or were absent/did not pass the exam for this course. This course is being reoffered in Jan 2023 and we are giving you another chance to write the exam in April 2023 and obtain a certificate based on NPTEL norms. Do not let go of this unique opportunity to earn a certificate from the IITs/IISc.   IMPORTANT instructions for learners - Please read this carefully     1. The exam date for this course: April 30,2023 2. CLICK HERE to register for the exam. Please fill the exam form using the same Enrolled email id & make fee payment via the form, as before. 3.Choose from the Cities where the exam will be conducted:  Exam Cities 4. You DO NOT have to re-enroll in the courses if you have enough assignment scores in the previous immediate semester when the course was run to obtain a certificate.  5. You DO NOT have to resubmit Assignments in the previous semester if you have enough assignment scores in the previous immediate semester when the course was run to obtain a certificate.  6. If you do enroll to Jan 2023 course, we will take the best average assignment scores across this  semester & the immediate previous semester when the course was run.     NOTE:   Please check once if you have >= 40/100  in average assignment score that were conducted in this course to become eligible for the e-certificate, wherever applicable. If not, please submit assignments again in the Jan 2023 course to become eligible for the e-certificate. We will not be having new assignments in the previous semester's course. It is mandatory to enroll again in the Jan 2023 semester if you want to receive the fresh assignments of this current Jan 2023 semester. You can also submit assignments again if you want to take fresh assignments or need to improve your previous scores.   RECOMMENDATION: If you want to take new assignments or brush up on your lessons for the exam, please enroll in the Jan 2023 course.   LINK to enroll in the current course:    https://onlinecourses.nptel.ac.in/noc23_cs49/preview   4. Exam fees:    If you register for the exam and pay before Mar 17, 2023, 5:00 PM, Exam fees will be Rs. 1000/- per exam.   5. 50% fee waiver for the following categories:    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: Mar 17, 2023, 5:00 PM (Friday).     7. Mode of payment: Online payment - debit card/credit card/net banking/UPI.    8. HALL TICKET:     The hall ticket will be available for download tentatively by 2 weeks prior to the exam date . We will confirm the same through an announcement once it is published.    9. FOR CANDIDATES WHO WOULD LIKE TO WRITE MORE THAN 1 COURSE EXAM:- you can add or delete courses and pay separately till the date when the exam form closes. Same day of exam you can write exams for 2 courses in the 2 sessions. Same exam center will be allocated for both the sessions if you are registering for the exam with the same email ID.     10. Data changes:    Last date for data changes: Mar 17, 2023, 5:00 PM:    All the fields in the Exam form except for the following ones can be changed until the form closes.    The following 6 fields can be changed ONLY when there are NO courses in the course cart. And you will be able to edit the following fields only if you: -    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: Mar 17, 2023, 5:00 PM     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/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 October 2022 Exam(s). Step 1 - Are the results of my courses released? Please check the Results published courses list in the below links.:- October 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/1Z2Gyz-bluE05PYEhC8hP_ETzZhui8K-nWFsAZzQHMTI/viewform We thank you for your valuable time and feedback. Thanks & Regards, -NPTEL Team

October 2022 NPTEL Exams - Hall Tickets Released!

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

Programming In Java - Week 11 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/1cxMjONW2KGFIZubsB-Qjce1jFeDNqLUQOrVyeVV9rIU/viewform

Programming In Java - Week 12 Feedback Form

Programming in java - week 10 feedback form, 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 for assignment 12 solution: https://drive.google.com/file/d/1kFrh-K0Ug8NaAD_kr_kvmobw6RwHog6J/view?usp=sharing

Happy Learning!

Thanks & Regards,

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

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

Programming In Java - Assignment- 7,8,9,10 & 11 Solution Released

The Assignment-7,8,9,10 & 11 of Week- 7,8,9,10 & 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 for assignment 7 solution: https://drive.google.com/file/d/1iclaeIyNQSx3P3kERY2CtMrx1-aTAA_s/view?usp=sharing Link for assignment 8 solution: https://drive.google.com/file/d/1iKHnSDEiTvtrALEBPTPOVRyoJKIiDXWV/view?usp=sharing Link for assignment 9 solution: https://drive.google.com/file/d/1DzNwXpSzdaeJtO9h6UWawO6TRRdpkgle/view?usp=sharing Link for assignment 10 solution: https://drive.google.com/file/d/1C85pA6XzgT_6DTlb5OxdDrvTPFM-yVtS/view?usp=sharing Link for assignment 11 solution: https://drive.google.com/file/d/1e82Me5dgDfArmUPwsbm_6RqmmaWB5He0/view?usp=sharing

Exam Format - Oct 30, 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 4: Programming In Java : Online Programming test

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_cs102/unit?unit=106&lesson=107

The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already).

Assignment 12 for Week 12 is also released and can be accessed from the following link:  https://onlinecourses.nptel.ac.in/noc22_cs102/unit?unit=106&assessment=205

The assignment has to be submitted on or before Wednesday, 19/10/2022 , 23:59 IST. Programming Assignments 1 for Week  12   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=211 Programming Assignments 2 for Week  12   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=212 Programming Assignments 3 for Week  12   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=213 Programming Assignments 4 for Week  12   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=214 Programming Assignments 5 for Week  12   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=215 For all the  Programming Assignments  du e date will be :  Thursday, 20-10-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

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_cs102/unit?unit=98&lesson=99

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

The assignment has to be submitted on or before Wednesday, 12/10/2022 , 23:59 IST. Programming Assignments 1 for Week  11   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=206 Programming Assignments 2 for Week  11   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=207 Programming Assignments 3 for Week  11   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=208 Programming Assignments 4 for Week  11   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=209 Programming Assignments 5 for Week  11   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=210 For all the  Programming Assignments  du e date will be :  Thursday, 13-10-2022 , 23:59 IST

Reminder 3: 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_cs102/unit?unit=90&lesson=91

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

The assignment has to be submitted on or before Wednesday, 05/10/2022 , 23:59 IST. Programming Assignments 1 for Week  10   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=199 Programming Assignments 2 for Week  10   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=200 Programming Assignments 3 for Week  10   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=201 Programming Assignments 4 for Week  10   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=202 Programming Assignments 5 for Week  10   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=203 For all the  Programming Assignments  du e date will be :  Thursday, 06-10-2022 , 23:59 IST

Programming In Java - Week 8 Feedback Form

Programming in java - week 9 feedback form, 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_cs102/unit?unit=82&lesson=83

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

The assignment has to be submitted on or before Wednesday, 28/09/2022 , 23:59 IST. Programming Assignments 1 for Week  9   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=192 Programming Assignments 2 for Week  9   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=193 Programming Assignments 3 for Week  9   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=194 Programming Assignments 4 for Week  9   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=195 Programming Assignments 5 for Week  9   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=196 For all the  Programming Assignments  du e date will be :  Thursday, 29-09-2022 , 23:59 IST

Reminder 2: Programming In Java : Online Programming test

Programming in java - assignment- 5 & 6 solution released.

The Assignment-5 & 6 of Week- 5 & 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 for assignment 5 solution: https://drive.google.com/file/d/1a0P7b7the2KgRXeQdZFQU4Gc-yULqyCo/view?usp=sharing Link for assignment 6 solution: h ttps://drive.google.com/file/d/10EpUYVS6lsY0ve7B41ApFrq4mkA1utS7/view?usp=sharing

Reminder 1: Programming In Java : Online Programming test

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_cs102/unit?unit=74&lesson=75

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

The assignment has to be submitted on or before Wednesday, 21/09/2022 , 23:59 IST. Programming Assignments 1 for Week  8   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=187 Programming Assignments 2 for Week  8   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=188 Programming Assignments 3 for Week  8   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=189 Programming Assignments 4 for Week  8   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=190 Programming Assignments 5 for Week  8   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=191 For all the  Programming Assignments  du e date will be :  Thursday, 22-09-2022 , 23:59 IST

Programming In Java - Week 7 assignment is live now!!

The assignment 7 for Week 7 for the course Programming In Java is made available.

Assignment 7 can be accessed using the following link: h ttps://onlinecourses.nptel.ac.in/noc22_cs102/unit?unit=66&assessment=180

The other Assignment 7 is accessible from the navigation bar to the left under Week 7. Please remember to login into the website to view contents (if you aren't logged in already).

The assignment has to be submitted on or before Wednesday, 14/09/2022 , 23:59 IST. Programming Assignments 1 for Week  7   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=181 Programming Assignments 2 for Week  7   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=182 Programming Assignments 3 for Week  7   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=183 Programming Assignments 4 for Week  7   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=184 Programming Assignments 5 for Week  7   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=185 For all the  Programming Assignments  du e date will be :  Thursday, 15-09-2022 , 23:59 IST

Please use the discussion forums if you have any questions on this module.

nptel programming in java assignment solutions week 2

Programming In Java - Week 7 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_cs102/unit?unit=66&lesson=67

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

The assignment has to be submitted on or before Wednesday, 14/09/2022 , 23:59 IST.

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

The assignment 6 for Week 6 for the course Programming In Java is made available.

Assignment 6 can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc22_cs102/unit?unit=58&assessment=173

The other Assignment 6 is accessible from the navigation bar to the left under Week 6. Please remember to login into the website to view contents (if you aren't logged in already).

The assignment has to be submitted on or before Wednesday, 07/09/2022 , 23:59 IST. Programming Assignments 1 for Week  6   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=174 Programming Assignments 2 for Week  6   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=175 Programming Assignments 3 for Week  6   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=176 Programming Assignments 4 for Week  6   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=177 Programming Assignments 5 for Week  6   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=178 For all the  Programming Assignments  du e date will be :  Thursday, 08-09-2022 , 23:59 IST

Programming In Java - Week 6 Feedback Form

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_cs102/unit?unit=58&lesson=59

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

The assignment has to be submitted on or before Wednesday, 07/09/2022 , 23:59 IST.

Programming In Java - Assignment- 3 & 4 Solution Released

The Assignment-3 & 4 of Week- 3 & 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 for assignment 3 solution: https://drive.google.com/file/d/182Lt9wkLq2F_OmpnmS5kkPlI760qvcpG/view?usp=sharing Link for assignment 4 solution: https://drive.google.com/file/d/1LIxH91Hh5PCe8FOpqw0wvi1oN97q0IJu/view?usp=sharing

Programming In Java - Week 5 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_cs102/unit?unit=50&lesson=51

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

The assignment has to be submitted on or before Wednesday, 31/08/2022 , 23:59 IST. Programming Assignments 1 for Week  5   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=167 Programming Assignments 2 for Week  5   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=169 Programming Assignments 3 for Week  5   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=170 Programming Assignments 4 for Week  5   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=171 Programming Assignments 5 for Week  5   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=172 For all the  Programming Assignments  du e date will be :  Thursday, 01-09-2022 , 23:59 IST

Programming In Java : Assignment 2 Question no 4

Dear Learners, 

There is a mistake   in Assignment 2 question no 4. The correct option is  (c). The question will not be considered for final evaluation. The  re-evaluation will be done shortly. The score will get updated and displayed in the Progress tab after re-evaluation.

Sorry for the inconvenience caused. 

Course Admin

Programming In Java - Week 4 Feedback Form

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_cs102/unit?unit=42&lesson=43

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

The assignment has to be submitted on or before Wednesday,24/08/2022 , 23:59 IST. Programming Assignments 1 for Week  4   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=162 Programming Assignments 2 for Week  4   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=163 Programming Assignments 3 for Week  4   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=164 Programming Assignments 4 for Week  4   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=165 Programming Assignments 5 for Week  4   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=166 For all the  Programming Assignments  du e date will be :  Thursday, 25-08-2022 , 23:59 IST

Programming In Java - Assignment- 1 & 2 Solution Released

The Assignment-1 & 2 of Week- 1 & 2 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 for assignment 1 solution: https://drive.google.com/file/d/19F9AIiH3XLmVNCyGFzD5TR8Xsl3vldt3/view?usp=sharing Link for assignment 2 solution: https://drive.google.com/file/d/1iQKlzo-ogV_2Dpd3N6vxoGBm7TIMs85E/view?usp=sharing

Programming In Java : Reminder for Submission of Assignment 1 & 2

The assignments should be submitted on or before Wednesday, 10-08-2022 , 23:59 IST. Programming Assignments 1 for Week  1   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=143 Programming Assignments 2 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=144 Programming Assignments 3 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=145 Programming Assignments 4 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=146 Programming Assignments 5 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=147 Programming Assignments 1 for Week  2   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=149 Programming Assignments 2 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=150 Programming Assignments 3 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=151 Programming Assignments 4 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=152 Programming Assignments 5 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=153 For all the  Programming Assignments  du e date will be :  Thursday, 11-08-2022 , 23:59 IST

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_cs102/unit?unit=34&lesson=35

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

The assignment has to be submitted on or before Wednesday,17/08/2022 , 23:59 IST. Programming Assignments 1 for Week  3   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=155 Programming Assignments 2 for Week  3   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=156 Programming Assignments 3 for Week  3   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=157 Programming Assignments 4 for Week  3   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=158 Programming Assignments 5 for Week  3   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=159 For all the  Programming Assignments  du e date will be :  Thursday, 18-08-2022 , 23:59 IST

Programming In Java - Week 3 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_cs102/unit?unit=26&lesson=27

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

The assignment has to be submitted on or before Wednesday,10/08/2022 , 23:59 IST. Programming Assignments 1 for Week  2   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=149 Programming Assignments 2 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=150 Programming Assignments 3 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=151 Programming Assignments 4 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=152 Programming Assignments 5 for Week  2   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=153 For all the  Programming Assignments  du e date will be :  Thursday, 11-08-2022 , 23:59 IST

Programming In Java - Week 2 Feedback Form

Programming in java - download video links are available now.

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

-NPTEL Team

Programming In Java - Week 1 Feedback Form

Programming in java - week 1 assignment is live now.

The assignment 1 for Week 1 for the course Programming In Java is made available early for viewing to get an idea about the assignments but the actual start date of the course remains unchanged.

Assignment 1 can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc22_cs102/unit?unit=18&assessment=142

The other Assignment 1 is accessible from the navigation bar to the left under Week 1. Please remember to login into the website to view contents (if you aren't logged in already).

The assignment has to be submitted on or before Wednesday,10/08/2022 , 23:59 IST. Programming Assignments 1 for Week  1   is also released and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=143 Programming Assignments 2 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=144 Programming Assignments 3 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=145 Programming Assignments 4 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=146 Programming Assignments 5 for Week  1   is also released and can be accessed from the following link:   https://onlinecourses.nptel.ac.in/noc22_cs102/progassignment?name=147 For all the  Programming Assignments  du e date will be :  Thursday, 11-08-2022 , 23:59 IST

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

Dear Students The lecture videos for  Week 1  have been uploaded for the course  Programming In Java . The lectures can be accessed using the following link:  https://onlinecourses.nptel.ac.in/noc22_cs102/unit?unit=18&lesson=19 The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already). As we have done so far, please use the discussion forums if you have any questions on this module. Thanks and Regards, --NPTEL Team

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

Dear Learner, 

Here is the much-awaited announcement on registering for the July 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: Oct 30, 2022

CLICK HERE to register for the exam. 

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

4. Exam fees: 

If you register for the exam and pay before 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 

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: Sep 16, 2022, 10:00 AM (Friday). 

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

8. HALL TICKET: 

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

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

10. Data changes: 

Last date for data changes: 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. 

11. LAST DATE FOR CANCELLING EXAMS and getting a refund: Sep 16, 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/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, 

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

Programming In Java: Welcome to NPTEL Online Course - July 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: October 30, 2022 Morning session 9am to 12 noon; Afternoon Session 2 pm to 5 pm.
  • Registration URL: Announcements will be made when the registration form is open for registrations.
  • The online registration form has to be filled and the certification exam fee needs to be paid. More details will be made available when the exam registration form is published. If there are any changes, it will be mentioned then.
  • Please check the form for more details on the cities where the exams will be held, the conditions you agree to when you fill the form etc.
  • Once again, thanks for your interest in our online courses and certification. Happy learning.

A project of

nptel programming in java assignment solutions week 2

In association with

nptel programming in java assignment solutions week 2

  • Wednesday, June 5, 2024

NPTEL Programming in Java Week 2 Assignment Solution 2023

Programming-In-Java-Week2-Programming-Assignment-Solutions

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

Further, those software should be platform independent, Internet enabled, easy to modify, secure, and robust. To meet this requirement object-oriented paradigm has been developed and based on this paradigm the Java programming language emerges as the best programming environment.

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

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

COURSE LAYOUT

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

Course Name : “Programming in Java 2023”

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

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

——————————–

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

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

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

Quizermania Logo

Programming in Java | NPTEL 2023 | Week 2 quiz solutions

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

Course layout (Answers Link)

Answers COMING SOON! Kindly Wait!

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

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

Now, start attempting the quiz.

Programming in Java NPTEL 2022 Week 2 Quiz Solutions

Q1. Consider the following code segment:

Identify the line number(s) where there is/are error(s) in the above code.

a) 1 b) 2 c) 3 d) 4 and 5

Answer: b) 2

Q2. Consider the following code segment:

Identify the line number(s) where there is error in the above code.

Answer: d) 4 and 5

Q3. Consider the following code segment:

Select the correct output description for the above code.

a) Prints first n natural numbers in a single line. b) Prints first n natural numbers, one number in a single line. c) Prints first 10 natural numbers in a single line. d) Prints first 10 natural numbers in a single line with no spaces.

Answer: c) Prints first 10 natural numbers in a single line.

Q4. Consider the following code segment:

Modify the above code such that it prints all the even numbers till 100.

a) Replace line 3 with for(int n=2; n<=100; n++) b) Replace line 3 with for(int n=1; n<=100; n+=2){ c) Replace line 4 with System.out.print(++n + ” “); d) Both option a and c

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

a) 22221018 b) 22222018 c) 22101018 d) 22221218

Answer: b) 22222018

Q6. How to correct the above code segment?

a) Change line 4 as x = (short) (x * 5); b) Change line 4 as x = (short) x * 5; c) Change line 4 as x = (short) x * (short) 5; d) Change line 4 as (short) x = x * 5;

Q7. What is the output of the following program?

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

Answer: d) 000

Q8. Which of the following option is the output of the above program?

a) java b) npteljava c) nptel java d) nptel

Answer: d) nptel

Q9. What is the output of the following program?

a) 60 b) 117 c) 33 d) Compilation error

Answer: d) Compilation error

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

a) 50 b) 10 c) Compiler error d) 5

Answer: a) 50

Programming in Java NPTEL 2023 Week 2 Quiz Solutions

Q1. Following is a program given for this question. What will be the output of the above program?

a) 22221010 b) 12222101 c) 22101010 d) 22221012

Answer: a) 22221010

Q2. When an array is passed to a method, what value does the method receive?

a) Reference of the array b) Copy of the array c) First element in the array d) Length of the array

Answer: a) Reference of the array

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

a) 28 b) -29 c) 30 d) -31

Answer: c) 30

Q4. How many bits are needed for float and double in Java, respectively?

a) 32 and 64 b) 32 and 32 c) 64 and 64 d) 64 and 32

Answer: a) 32 and 64

Q5. Which of the following is a valid automatic type conversion in Java?

a) short to byte b) float to long c) int to short d) int to long

Answer: d) int to long

Q6. Consider the following program and identify the output.

a) 5 b) 10 c) 50 d) Compilation error

Q7. Which of the following is a valid declaration of an object of class say, Student?

a) Student obj = new Student; b) Student obj = new Student(); c) obj = new Student(); d) new Student obj;

Answer: b) Student obj = new Student();

Q8. What is the output of the following program?

a) 210 b) 120 c) 012 d) 201

Answer: c) 012

Q9. Which of the following option is the output of the above program?

Q10. What is the output of the following program?

a) 60 b) 3011 c) 33 d) Compilation error

Q1. What is the output of the following program?

a) 88 b) 8010 c) 64 d) 810

Answer: c) 64

Q2. Which of the following is generate API documentation in HTML format from Java source code?

a) javac b) javadoc c) javap d) java

Answer: b) javadoc

Q3. Following is a program given for this question.

What will be the output of the above program?

a) javanptel b) npteljava c) janjavanptel d) jannpteljava

Answer: b) npteljava

Q4. What will happen during the execution of the following code for the command line input?

Consider the following input on command line and select the options with the correct output(s).

Input: A: “jan java nptel” B: 1 2 3

a) A : jannptel javanptel nptelnptel b) A : jan java nptel jan java nptel c) B : 11 21 31 d) B : 1 2 3 1

Answer: b), c)

Q5. Which of the following is/are TRUE about print() and println() methods?

a) print() prints in a single line only and multiple lines cannot be printed in any way. b) print() prints and then appends a line break. c) println() prints in a single line only and multiple lines cannot be printed. d) println() prints and then appends a line break.

Answer: d) println() prints and then appends a line break.

Programming in Java NPTEL 2022 Week 2 quiz Solutions

Q6. What was the initial name of Java when it was first developed for embedded systems?

a) Greentalk b) Oak c) Java d) Javac

Answer: a) Greentalk

Q7. Which of the following is a valid declaration of an object of class, say Foo?

a) Foo obj = new Foo; b) obj = new Foo(); c) Foo obj = new Foo(); d) new Foo obj;

Answer: c) Foo obj = new Foo();

Programming in Java NPTEL 2022 Week 2 Quiz solutions

Q8. Following is a program given for this question.

a) 0 b) 1 c) false d) true

Answer: c) false

Q9. Which of the following can be used to take input from user during the execution of a program?

a) Using the string array provided as a parameter to the main method. b) getText() method can be used to get user input from the command line. c) Scanner class can be used by passing the predefined object System.in d) Once the execution starts, there is no way to provide user input.

Answer: c) Scanner class can be used by passing the predefined object System.in

a) 14 b) 12 c) 15 d) 17

Answer: d) 17

<< Pre- Programming in Java Week 1 Assignment Solutions

>> Next- Programming in Java Week 3 Assignment Solutions

Nptel – Deep Learning assignment solutions

Social Networks nptel assignment answers

NPTEL answers: Programming in Modern C++

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

Related Posts

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

Preprocessor Directives

C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)

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

' src=

4th answer is b,c and 5th answer is d.

' src=

Thanks 🙂 Answers has been updated!

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 2 assignment answers 2023.

NPTEL Programming in Java Week 2 Assignment Answers 2023

Excited for NPTEL’s Java programming week 2 quiz assignment answers?

Look no further! I’ve got you covered with probable answers for all 10 questions. Use these as a helpful guide in completing your assignment with confidence before the deadline.

Table of Contents

NPTEL Programming in Java Week 2 Assignment Answers

Q1. Following is a program given for this question.

What will be the output of the above program?

Answer: a. 22221010

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

Q2. When an array is passed to a method, what value does the method receive?

Answer : a. Reference of the array.

Q3. Following is a program given for this question.

Answer: c. 30

Q4. How many bits are needed for float and double in Java, respectively?

Answer: a. 32 and 64

Q5. Which of the following is a valid automatic type conversion in Java?

Answer: d. int to long

Q6. Consider the following program and identify the output.

Answer: d. Compilation error

Q7. Which of the following is a valid declaration of an object of class say, Student?

Answer: b. Student obj = new Student();

Q8. What is the output of the following program?

Answer: c. 012

Q9. Consider the following piece of code.

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

Answer: d. nptel

Q10. What is the output of the following program?

Programming Answers to Java Assignment

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

Disclaimer: These answers are intended only as reference material. No guarantee of accuracy is made. It is strongly recommended to complete the assignment independently.

Also Available:

NPTEL Programming in Java Week 1 Assignment Answers

NPTEL Programming In Java Week 3 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.

Navigation Menu

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

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

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

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

bkkothari2255/Programming_In_Java_NPTEL

Folders and files, repository files navigation, programming_in_java_nptel.

Java

Navigate to Week

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

Java Week 1:Q1 To find the perimeter and area of a circle given a value of radius.

Java Week 1:Q2 To find the largest among three numbers x, y, and z.

Java Week 1:Q3 Consider First n even numbers starting from zero(0) and calculate sum of all the numbers divisible by 3 from 0 to n. Print the sum.

Java Week 1:Q4 To check whether the number is an Armstrong number or not.

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

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

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

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

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

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

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

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

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

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

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

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

Java Week 4:Q2 To print the current year.

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

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

Java Week 4:Q5 To print the following output.

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

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

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

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

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

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

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

Java Week 6:Q2 In the following program, a thread class ThreadRun is created using the Runnable interface which prints "Thread using Runnable interface". Complete the main class to create a thread object of the class ThreadRun and run the thread,

Java Week 6:Q3 A part of the Java program is given, which can be completed in many ways, for example using the concept of thread, etc. Follow the given code and complete the program so that your program prints the message "NPTEL Java". Your program should utilize the given interface/ class.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GUI Calculator

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

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

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

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

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

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

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

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

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

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

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

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

Structure of Table 'PLAYERS' is given below:

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

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

GUI Calculator

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

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

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

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

Contributors 2

  • Guidelines to Write Experiences
  • Write Interview Experience
  • Write Work Experience
  • Write Admission Experience
  • Write Campus Experience
  • Write Engineering Experience
  • Write Coaching Experience
  • Write Professional Degree Experience
  • Write Govt. Exam Experiences
  • Free Digital Marketing Courses With Certification 2024
  • Top Online Courses to Learn Data Science with Certifications
  • Explore AWS Cloud Practitioner Certification Course!
  • 8 Best FREE Google Courses Online with Certificate
  • 5 Deep Learning Project Ideas for Beginners
  • Online Professional Certificates by Coursera
  • 10 Best Online Courses with Certifications in 2024
  • 10 Best Full Stack Developer Courses with Certification [2024]
  • Top 10 Highest Paying Certifications for 2024
  • GeeksforGeeks Classroom Program - DSA Course With Certificate in Noida
  • 10 Best Online Courses For Machine Learning in 2024
  • GeeksforGeeks Classroom Program - MERN Stack Course With Certificate in Noida
  • GeeksforGeeks Classroom Program - MERN Stack Course With Certificate in Gurgaon
  • How ISTQB Certification is Helpful for Software Testers?
  • 7 Best Fintech Courses & Certifications (2024)
  • Best Online Courses for Learning Digital Marketing in 2024
  • 10 Best DevOps Courses & Certifications in 2024
  • 10 Best JavaScript Courses and Certifications [2024]
  • TNEA 2024- Application Form, Rank List & Counselling Dates

NPTEL Journey For Deep Learning Course Certification

I recently completed the NPTEL course “Deep Learning” by IIT Ropar and I am thrilled to share my experience with you all. This 12-week journey has been incredibly rewarding and has deepened my understanding of one of the most transformative technologies in the modern world. I am proud to say that I cleared the final exam and earned an overall score of 65, securing an Elite Certificate from NPTEL.

Preparation Phase:

I enrolled in the course in the middle of January 2024, with classes beginning in January 2024. To get a head start, I previewed the course content available on YouTube, which included around 118 videos.

Starting in January 2024, NPTEL would unlock each week’s lectures gradually. I maintained a notebook from the start, diligently taking notes for future reference. Understanding the importance of the weekly assignments, I dedicated myself to completing them thoroughly, knowing that the top 8 would significantly impact my final score. Additionally, I used online resources like GeeksforGeeks to supplement my learning and clarify complex concepts. I attended the Online Live Doubt sessions from NPTEL every Saturday to get my doubts cleared.

Weekly Course Layout & Learning Journey:

The course was meticulously structured into weekly modules, each focusing on a different aspect of Deep Learning. Here’s a brief overview of what I learned each week:

  • Week 1: I began with a fascinating overview of the history of deep learning, exploring its success stories and fundamental concepts like the McCulloch Pitts Neuron and the Perceptron Learning Algorithm. This introduction set a solid foundation for the weeks to come. I practised coding simple neural networks to solidify these concepts.
  • Week 2: This week, I delved into Multilayer Perceptrons (MLPs), understanding their representation power and learning about sigmoid neurons and gradient descent. The practical exercises on feedforward neural networks were particularly enlightening. I implemented MLPs in Python and experimented with different activation functions.
  • Week 3: The focus was on FeedForward Neural Networks and Backpropagation this week. I spent a lot of time practising backpropagation algorithms, which are crucial for training deep networks effectively. I wrote custom backpropagation code to gain a deeper understanding of the learning process.
  • Week 4: I explored various optimization techniques, including Gradient Descent (GD), Momentum GD, Nesterov Accelerated GD, Stochastic GD, AdaGrad, RMSProp, and Adam. Additionally, learning about eigenvalues, eigenvectors, and eigenvalue decomposition was quite enriching. I compared the performance of different optimization algorithms on a set of neural network models.
  • Week 5: This week, I covered Principal Component Analysis (PCA) and Singular Value Decomposition (SVD). The interpretation of PCA and its applications in reducing dimensionality were particularly useful. I applied PCA to a dataset to visualize the reduction in dimensions and its impact on model performance.
  • Week 6: I learned about different types of autoencoders and their relation to PCA. The hands-on sessions with regularization techniques in autoencoders, such as denoising and sparse autoencoders, were very practical. I built and trained autoencoders on image datasets to observe their reconstruction capabilities.
  • Week 7: Regularization techniques were the focus this week. I learned about the Bias-Variance Tradeoff, L2 regularization, early stopping, Dataset augmentation and dropout. Implementing these techniques helped me understand how to improve model generalization. I applied dropout and data augmentation to my existing models to see the improvements in generalization.
  • Week 8: I covered advanced topics like Greedy Layerwise Pre-training, better activation functions, improved weight initialization methods, and batch normalization for this week. These topics are essential for building deeper and more efficient neural networks. I experimented with different activation functions and initialization methods to enhance model performance.
  • Week 9: In this week, Learning Vectorial Representations of Words was the highlight for me. This week was pivotal in understanding how deep learning models handle natural language processing tasks. I implemented word embeddings and used them in simple text classification tasks to understand their impact.
  • Week 10: I dove into Convolutional Neural Networks (CNNs), studying architectures like LeNet, AlexNet, ZF-Net, VGGNet, GoogLeNet, and ResNet. The practical insights into visualizing CNNs through guided backpropagation, Deep Dream, and Deep Art were particularly fascinating. I built and trained my own CNN models on image classification tasks. I incorporated CNN and YoloV8 and made Vehicle License Plate Recognition with an accuracy of 80%.
  • Week 11: This week, I focused on Recurrent Neural Networks (RNNs) and backpropagation through time (BPTT). Understanding GRU and LSTMs helped me grasp how deep-learning models process sequential data. I created RNN and LSTM models to analyze time-series data and text sequences.
  • Week 12: The final week covered Encoder-Decoder Models and the Attention Mechanism, including its application over images. These concepts are fundamental for advanced tasks in machine translation and image captioning. I implemented a simple attention mechanism in a sequence-to-sequence model to see how it improves translation accuracy.

The Exam Day & Exam Experience:

28th April 2024, was the D-Day marked on my calendar with a mix of anticipation and anxiety. The admit card was in hand, and the examination venue was selected with care. The three-hour exam consisted of 50 questions, blending assignment-based problems and conceptual queries. Each Question carried 2 Marks. The strict invigilation at the centre ensured a fair testing environment. Despite facing some challenging questions, I approached each with determination, drawing on the solid foundation built through weekly assignments and intensive preparation. The best part was there was no Negative Marking, so you can guess some questions. Completing the exam was a moment of triumph, knowing that regardless of the results, I had gained invaluable knowledge and skills.

My 12 Week Course Experience:

Throughout this course, I was continually challenged and engaged. The weekly assignments were rigorous, ensuring that I applied the theoretical concepts practically. Participating in the discussion forums and attending NPTEL Live Doubt sessions was immensely beneficial, as it allowed me to clarify doubts and learn from peers. Lastly, the final certification exam tested my comprehensive knowledge of the entire course.

One of the most exciting aspects of this course was the hands-on experience. I built various deep-learning models, experimented with different architectures, and used optimization algorithms to enhance model performance. This practical exposure was invaluable and significantly boosted my confidence in implementing deep-learning solutions.

Criteria to get an NPTEL Course Completion Certificate:

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

Conclusion:

Reflecting on my journey through the NPTEL “Deep Learning” course by IIT Ropar, I am incredibly grateful for the experience. It has equipped me with the knowledge and skills to tackle complex problems in Computer Vision and Natural Language Processing. The Elite Certificate I earned is a testament to the hard work and dedication I put into this course.

I highly recommend this course to anyone interested in deep learning. The structured approach, comprehensive content, and practical assignments make it an excellent learning experience. Enroll in this course if you can; I am sure you won’t regret it!

Happy Learning!

Please Login to comment...

Similar reads.

  • Certifications
  • Write It Up 2024
  • Competitive Exam Experiences
  • Experiences

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

IMAGES

  1. NPTEL Programming in Java Week 2 Answers

    nptel programming in java assignment solutions week 2

  2. NPTEL Programming in Java Week 2 Quiz Assignment Solutions || January 2021 || Swayam

    nptel programming in java assignment solutions week 2

  3. NPTEL Programming In Java WEEK 2 Quiz Assignment Solutions

    nptel programming in java assignment solutions week 2

  4. NPTEL Programming in Java Week 2 Quiz Assignment Solutions || August 2020 || Swayam

    nptel programming in java assignment solutions week 2

  5. WEEK-2 NPTEL PROGRAMMING IN JAVA ASSIGNMENT ANSWERS

    nptel programming in java assignment solutions week 2

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

    nptel programming in java assignment solutions week 2

VIDEO

  1. NPTEL Programming In Java || Week 4 || Assignment 4 Solution || NPTEL Swayam || JAN

  2. NPTEL Programming In Java WEEK6 Programming Assignment Solutions

  3. NPTEL Programming In Java WEEK 1 Programming Assignment Solutions

  4. NPTEL Programming in Java(Week-4)-Assignment Solutions

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

  6. NPTEL Programming In Java Week 6 Assignment 6 Answers l March 2024

COMMENTS

  1. Programming In Java

    "Programming In Java" - Assignment-1 & 2 Solution Released Dear Learners, The Solutions of Assignment- 1 & 2 under Week- 1 & 2 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.

  2. PDF Java Week 2:Q1

    02/07/2020 Programming in Java - Course https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=118 3/3 DOWNLOAD VIDEOS Assignment Solution

  3. NPTEL Programming In Java Week 2 Assignment 2 Answers

    Question 3. Complete the code segment tocall print () method of class Question by creating a method named 'student ()'. Solution: //Code. These are NPTEL Programming In Java Week 2 Assignment 2 Answers. Question 4. Complete the code segment to call default constructor first and then any other constructor in the class.

  4. Programming in Java|NPTEL|WEEK 2 ASSIGNMENT|solution

    In this video, I walk you through the solution to Notel Week 2 assignment, providing detailed explanations for each question. The answers have been carefully...

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

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

  6. NPTEL Programming in Java Week 2 Assignment Solution July 2023

    Faheem Ahmad. NPTEL Programming in Java Week 2 All Programming Assignment Solutions - July 2023 | Swayam. With the growth of Information and Communication Technology, there is a need to develop large and complex software. Further, those software should be platform independent, Internet enabled, easy to modify, secure, and robust.

  7. NPTEL Programming In Java WEEK2 Programming Assignment Solutions

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

  8. Programming in Java NPTEL Assignment Answers of Week 2 (2023)

    Week 2 : Programming Assignment 5. Complete the code segment to debug / complete the program which is intended to print 'NPTEL JAVA'. Answer: System.out.print(nptel+space+java+space+nptel); In this article, you will get NPTEL Assignment Answers of Week 2 (2023) of the course Programming in Java.

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

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

  10. Java NPTEL Solutions Week 2: Mastering Advanced Java Challenges

    Explanation: The code declares and initializes three strings and then prints them concatenated with spaces to get the desired output 'NPTEL JAVA.' That wraps up our solutions for Week 2 of your Java NPTEL course. These challenges have introduced you to some advanced Java concepts, including inner classes, method calls, and constructor ...

  11. GitHub

    Exercise1_2 - Complete the code segment to find the largest among three numbers x,y, and z. You should use if-then-else construct in Java. Exercise1_3 - Consider First n even numbers starting from zero (0).Complete the code segment to calculate sum of all the numbers divisible by 3 from 0 to n. Print the sum.

  12. Programming In Java

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

  13. NPTEL Programming In Java Week 2 Assignment Solution

    NPTEL Programming In Java Week 2 Full Solution. It includes quiz week 2 assignment 2 and also includes all 5 programming questions solution.

  14. nptel-solutions · GitHub Topics · GitHub

    nptel 2021 programming-in-java nptel-solutions nptel-assignments programming-in-java-nptel-solutions nptel-java-solutions ... Python code from week-3 to week-12 for the NPTEL course The Joy of Computing using Python ... This site contains the weekly( i.e. 1-9) questions and their solution of NPTEL-SWAYAM course "Programming in Java". java nptel ...

  15. NPTEL Programming in Java Week 2 Answers

    NPTEL Programming in Java Week 2 Answers nptel java programming week answers manish singh week mcq answers question 10 answers comments reference to the array. Skip to document. University; High School; ... Week 2 Programming Assignments : Programming Assignment 1 >> Student stu_Obj = new Student(); School sch_Obj = new School(); sch_Obj(); stu ...

  16. NPTEL Programming in Java Week 2 Assignment Solution 2023

    February 8, 2023. Faheem Ahmad. NPTEL Programming in Java Week 2 All Programming Assignment Solutions - July 2022 | Swayam. With the growth of Information and Communication Technology, there is a need to develop large and complex software. Further, those software should be platform independent, Internet enabled, easy to modify, secure, and ...

  17. Programming in Java

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

  18. NPTEL Programming in Java Week 2 Assignment Answers 2023

    Programming Answers to Java Assignment. Q1. Complete the code segment to call the method print () of class School first and then call print () method of class Student. School school = new School(); Student student = new Student();

  19. NPTEL Programming In Java || Week 2 || Assignment 2 Solution || NPTEL

    NPTEL Programming In Java || Week 2 || Assignment 2 Solution || NPTEL Swayam || JAN - 2024 || Due date: 2024-02-07, 23:59

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

  21. PDF Java Week 1:Q2

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

  22. PDF Java Week 7 : Q1

    02/07/2020 Programming in Java - Course https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=148 3/3 DOWNLOAD VIDEOS Assignment Solution

  23. NPTEL Programming In Java WEEK2 Quiz Assignment Solutions

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

  24. NPTEL Journey For Deep Learning Course Certification

    Starting in January 2024, NPTEL would unlock each week's lectures gradually. I maintained a notebook from the start, diligently taking notes for future reference. Understanding the importance of the weekly assignments, I dedicated myself to completing them thoroughly, knowing that the top 8 would significantly impact my final score.