VTU Updates

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

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

Answer: a, b, d

3. Consider the following piece of code.

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

Answer: d. encapsulation

7. Consider the following piece of code.

8. Consider the following program.

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

Answer: a, b, c, d

Programming Assignment Answers

Week 3 : programming assignment 1, week 3 : programming assignment 2.

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

Week 3 : Programming Assignment 3

Week 3 : programming assignment 4.

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

Week 3 : Programming Assignment 5

Related posts, nptel data science using python answers, nptel data science using python – week 2: assignment 2 answers, nptel data science using python – week 1 : assignment 1 answers, leave a reply cancel reply.

Category: Nptel Assignment Answers 2024

Nptel introduction to industry 4 and industrial iot week 9 assignment answers, ethical hacking nptel week 9 assignment answers, digital circuits week 9 nptel assignment answers, cloud computing nptel week 9 assignment answers, computer architecture nptel week 9 assignment answers 2024, cyber security and privacy week 9 nptel answers 2024, deep learning iit ropar week 9 nptel assignment answers, deep learning for computer vision week 9 nptel answers 2024, programming in java nptel week 9 assignment answers, soft skills nptel week 9 assignment answers.

NPTEL Programming In Java Assignment 3 Answers July 2023

NPTEL Programming In Java Assignment 3 Answers July 2023:-  All the Answers are provided here to help the students as a reference, You must submit your assignment at your own knowledge

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

NPTEL Programming In Java Week 3 Quiz Assignment Answers 2023

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

2. Consider the following piece of code.

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

3. Consider the following piece of code.

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

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

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

6. Consider the following program.

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

7. Consider the following piece of code.

NPTEL Programming In Java Assignment 3 Answers July 2023

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

8. Consider the following program.

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

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

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

NPTEL Programming In Java Week 3 Programming Assignment Solutions 2023

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

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

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

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

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

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

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

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

NPTEL Programming In Java Assignment 3 Answers [July 2022]

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

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

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

NPTEL Programming In Java Assignment 3 Answers July 2023

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

4. For each description on the left, find the best matching modifier on the right. You may use a choice more than once or not at all. 1. Hides the instance variable from code in other files. A. private 2. Hides the method from code in other files B. public 3. Hides the subclass from code in other files. C. final 4. Exposes the API method to code in other files. D. static 5. Prevents the value of the instance variable from being Changed once initialized. E. none of the above a. 1-A.2-A.3-C.4-D5-E b. 1-A.2-A,3-A,4-B,5-C c. 1-C.2-B.3-A, 4-A,5-D d. None of Above

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

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

👇 For Week 04 Assignment Answers 👇

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

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

9. Disadvantage(s) of inheritance in Java programming is/are a) Code readability b) two classes (base and inherited class) get tightly coupled c) Save development time and effort d) Code reusability

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

NPTEL Programming In Java Assignment 3 Programming Solutions

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

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

What is Programming In Java?

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

CRITERIA TO GET A CERTIFICATE

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

Final score = Average assignment score + Exam score

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

NPTEL Programming In Java Assignment 2 Answers Jan 2022

Q1. Consider the following piece of code in Java.

What is the output of the above program?

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

Answer:- b) 3 3

👇 FOR NEXT WEEK ASSIGNMENT ANSWERS 👇

Q2. Consider the following piece of code in Java.

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

Answer:- a) 6

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

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

Answer:- b) Abstract

Q4. Which among the following best describes polymorphism?

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

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

Q5. Consider the following piece of code in Java

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

Answer:- c) Compile error

Q6. All the variables of the interface should be?

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

Answer:- c) public, static and final

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

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

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

Q8. When does method overloading is determined?

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

Answer:- c) At compile time

Which of the following statements is/are true?

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

Answer:- (B) & (D)

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

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

Answer:- (C) & (D)

Disclaimer :- We do not claim 100% surety of solutions, these solutions are based on our sole expertise, and by using posting these answers we are simply looking to help students as a reference, so we urge do your assignment on your own.

For More NPTEL Answers:-  CLICK HERE

Join Our Telegram:-  CLICK HERE

Programming In Java Assignment 2 Answers 2022:-  All the Answers provided here to help the students as a reference, You must submit your assignment at your own knowledge

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

Leave a Comment Cancel reply

You must be logged in to post a comment.

Please Enable JavaScript in your Browser to Visit this Site.

Quizermania Logo

Programming in Java | NPTEL 2023 | Week 3 quiz solutions

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

Course layout (Answers Link)

Answers COMING SOON! Kindly Wait!

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

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

Now, start attempting the quiz.

Programming in Java NPTEL 2022 Week 1 Quiz Solutions

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

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

Answer: c) To initialize static variables

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

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

Answer: c), d)

Q3. What is the output of the above code?

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

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

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

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

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

Answer: a), b), d)

Q6. What is the output of the above program?

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

Answer: a) prgam

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

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

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

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

Answer: a) 1700

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

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

Answer: a), c), d)

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

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

Programming in Java NPTEL 2023 Week 3 Quiz Solutions

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

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

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

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

Answer: a), b), c)

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

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

Answer: b), d)

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

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

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

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

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

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

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

Q8. What is the output of the above program?

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

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

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

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

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

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

Programming in Java NPTEL 2022 Week 3 Quiz Solutions

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

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

Answer: a) super

Q2. What is the output of the above program?

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

Q3. What is the output of the above program?

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

Answer: c) 2

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

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

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

Q5. All the variables of interface should be?

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

Answer: c) public, static and final

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

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

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

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

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

Answer: d) The program will give a runtime error

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

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

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

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

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

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

Q10. Which inheritance in Java programming is not supported?

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

Answer: a) Multiple inheritance using classes.

Previous Course – Week 3 Quiz Solutions

Q1. Consider the following piece of code in Java.

What is the output of the above program?

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

Answer: b) 3 3

Q2. Consider the following piece of code in Java.

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

Answer: a) 6

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

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

Answer: b) Abstract

Q4. Which among the following best describes polymorphism?

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

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

Q5. Consider the following piece of code in Java

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

Answer: c) Compile error

Programming in Java NPTEL 2022 Week 3 quiz Solutions

Q6. All the variables of the interface should be?

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

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

Programming in Java NPTEL 2022 Week 3 Quiz solutions

Q8. When does method overloading is determined?

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

Answer: c) At compile time

Which of the following statements is/are true?

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

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

>> Next- Programming in Java Week 2 Assignment Solutions

>> Next- Programming in Java Week 4 Assignment Solutions

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

Related Posts

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

Preprocessor Directives

C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)

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

' src=

Please share assignment 3 programming answers

Leave a Comment Cancel Reply

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

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

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

nptel programming in java assignment solutions week 3

Spread the word.

Share the link on social media.

Confirm Password *

Username or email *

Forgot Password

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

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

SIKSHAPATH Logo

SIKSHAPATH Latest Articles

Nptel programming in java week 3 assignment answers 2023.

NPTEL Programming in Java Assignment Answer

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

Table of Contents

NPTEL Programming In Java Week 3 Assignment Answers

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

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

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

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

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

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

Q3. Consider the following piece of code.

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

Answer: b. final d. public

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

Answer: a. 0

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

Answer: d. encapsulation

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

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

Q7. Consider the following piece of code.

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

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

Q8. Consider the following program.

What is the output of the above program?

Answer: b. ring

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

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

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

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

Programming In Java Week 3 Programming Assignment Answers

(in one click)

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

Also Available:

NPTEL Programming In Java Week 2 Assignment Answers

NPTEL Java week 4 assignment answers

Related Posts

NPTEL Programming In Java Week 6 Assignment Answers 2023

NPTEL Programming In Java Week 6 Assignment Answers 2023

NPTEL Cloud Computing and Distributed Systems Assignment 6 Answers 2023

NPTEL Cloud Computing and Distributed Systems Assignment 6 Answers 2023

NPTEL Cloud Computing Assignment 5 Answers 2023

NPTEL Cloud Computing Assignment 5 Answers 2023

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.

NameName
44 Commits

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.

Coulmn UID First_Name Last_Name Age
Type Integer Varchar(45) Varchar(45) Integer

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

Coulmn UID First_Name Last_Name Age
Row 1 1 Ram Gopal 26
Row 2 2 John Mayer 22

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

Coulmn UID First_Name Last_Name Age
From 1 Ram Gopal 26
To 1 Rama Gopala 24

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

Coulmn UID First_Name Last_Name Age
Delete 1 Rama Gopala 24

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

@bkkothari2255

swayam-logo

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

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

Dear Candidate,

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

IMPORTANT instructions for learners - Please read this carefully  

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

2. CLICK HERE to register for the exam.

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

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

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

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

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

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

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

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

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

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

7. Exam fees: 

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

8. 50% fee waiver for the following categories: 

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

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

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

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

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

12. HALL TICKET: 

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

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

14. Data changes: 

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

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

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

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

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

2. SC/ST Proof 

3. Are you a person with disabilities? * 

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

5. Disabilities Proof 

6. What is your role? 

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

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

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

16. Click here to view Timeline and Guideline : Guideline

Domain Certification

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

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

Outside India Candidates

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

Thanks & Regards, 

Thank you for learning with NPTEL!!

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

Programming In Java : Result Published!!

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

Programming In Java : Final Feedback Form !!!

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

April 2023 NPTEL Exams - Hall Tickets Released!

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

Programming In Java - Assignment - 12 Solution Released

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

Programming In Java - Assignment - 11 Solution Released

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

Programming In Java - Week 12 Feedback Form

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

Exam Format - April, 2023 !!

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

Programming In Java - Assignments - 9 & 10 Solutions Released

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

Programming In Java - Week 11 Feedback Form

Programming in java - week 12 content is live now.

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

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

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

Programming In Java - Week 10 Feedback Form

Programming in java - week 10 content is live now.

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

Programming In Java - Assignment - 8 Solution Released

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

Programming In Java - Week 9 Feedback Form

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

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

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

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

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

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

Programming In Java - Assignment - 7 Solution Released

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

Programming In Java - Week 8 Feedback Form

Programming in java - week 8 content is live now.

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

Programming In Java - Assignment - 6 Solution Released

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

Programming In Java - Assignment - 5 Solution Released

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

Programming In Java - Week 7 Feedback Form

Programming in java - week 7 content is live now.

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

Reference books for Programming In Java

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

Programming In Java - Assignment - 4 Solution Released

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

Programming In Java - Week 6 Feedback Form

Programming in java - week 6 content is live now.

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

Programming In Java - Week 5 Feedback Form

Programming in java - assignment - 3 solution released.

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

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

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

Programming In Java - Week 4 Feedback Form

Programming in java - week 4 content is live now.

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

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

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

Programming In Java - Week 3 Feedback Form

Programming in java - week 3 content is live now.

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

Programming In Java - Week 2 Feedback Form

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

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

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

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

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

Programming In Java - Week 1 Feedback Form

Programming in java - week 1 content is live now.

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

Programming In Java - Assignment-0-RELEASED

Dear Learners,

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

--NPTEL Team

Programming In Java : Exam certification criteria

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

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

Dear Learner, 

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

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

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

3 . Date of exam: Apr 30, 2023

CLICK HERE to register for the exam. 

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

4. Exam fees: 

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

5. 50% fee waiver for the following categories: 

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

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

8. HALL TICKET: 

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

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

10. Data changes: 

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

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

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

6. What is your role ? 

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

12. Click here to view Timeline and Guideline : Guideline

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

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

A project of

nptel programming in java assignment solutions week 3 2023

In association with

nptel programming in java assignment solutions week 3 2023

  • Thursday, September 26, 2024

NPTEL Programming in Java Week 2 Assignment Solution July 2023

Programming-In-Java-Week2-Programming-Assignmnet-Solutions

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

——————————–

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

IMAGES

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

    nptel programming in java assignment solutions week 3 2023

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

    nptel programming in java assignment solutions week 3 2023

  3. NPTEL Programming in Java Week3 Assignment Solution July 2023

    nptel programming in java assignment solutions week 3 2023

  4. NPTEL Programming In Java Week-3 Quiz Solution

    nptel programming in java assignment solutions week 3 2023

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

    nptel programming in java assignment solutions week 3 2023

  6. Programming In Java Nptel Week 3 Assignment Answers 2024

    nptel programming in java assignment solutions week 3 2023

VIDEO

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

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

  3. NPTEL Programming in Java Week 1 Assignment Solution July 2024

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

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

  6. NPTEL Programming In Java WEEK8 Quiz Assignment Solutions💡

COMMENTS

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

    Find the solutions for the programming assignment questions of week 3 of the course Programming in Java offered by NPTEL. The answers include code segments, explanations and output for various topics such as constructors, inheritance, encapsulation, static methods and Fibonacci numbers.

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

    Find answers and solutions for NPTEL courses offered in 2024 (July-Dec) in this repository. Access the course folder, locate the week file, and review the detailed explanations for each assignment.

  3. NPTEL Programming in Java Week3 Assignment Solution 2023

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

  4. NPTEL Programming In Java WEEK 3 Quiz Assignment Solutions

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

  5. NPTEL Programming In Java Week-3 Quiz Assignment Solution 2023

    In this video, I'm solving the Week-3 quiz assignment using Swayam, Programming In Java. If you're looking to gain a better understanding of how to use the P...

  6. Programming in Java Nptel Week 3 Assignment Answers

    Find the latest and accurate solutions for your Week 3 assignment in the Programming in Java course offered by Nptel. See the questions and answers for July-Dec 2024, Jan-Apr 2024 and previous years.

  7. NPTEL Assignment Answers 2024 And Solutions Progiez

    Progiez is a website that provides NPTEL assignment answers and solutions for various courses. You can find answers for week 1 to week 11 of different subjects such as artificial intelligence, machine learning, database management, ethical hacking, etc.

  8. NPTEL Programming in Java Week 1 Assignment Solution 2023

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

  9. NPTEL Programming In Java Assignment 3 Answers July 2023

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

  10. NPTEL Programming In Java WEEK3 Programming Assignment Solutions

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

  11. Programming in Java

    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

  12. nptel programming in java assignment solutions week 3

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

  13. nptel-solutions · GitHub Topics · GitHub

    Find public repositories on GitHub that contain solutions for NPTEL courses, such as Programming in Java, The Joy of Computing using Python, and Competitive Programming. Browse by language, course, week, and star rating.

  14. NPTEL Programming in Java Week 5 Assignment Solution 2023

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

  15. NPTEL Programming In Java Week 3 Assignment Answers 2023

    Are you looking for help in Programming In Java NPTEL Week 3 Assignment Answers? So, here in this article, we have provided ... Spread the word. Share the link on social media. Share This Article. ... NPTEL / NPTEL Programming In Java Week 3 Assignment Answers 2023. SIKSHAPATH Latest Articles. On: February 10, 2023 Posted in NPTEL.

  16. NPTEL Programming in Java Week 3 Assignment Solution July 2024

    Welcome to our detailed walkthrough of the "NPTEL Programming in Java Week 3 Assignment Solution for July 2024," presented by IIT Kharagpur. This video is ta...

  17. bkkothari2255/Programming_In_Java_NPTEL

    Find the solutions for the programming and quiz assignments given during the Programming In Java by Prof. Debasis Samantha on NPTEL. Browse the code segments for each week and learn the concepts of Java, inheritance, exceptions, threads, etc.

  18. NPTEL Programming in Java Assignment 3 Answers 2023

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

  19. NPTEL Programming in Java Week3 Assignment Solution July 2023

    Course Name : "Programming in Java 2023" Question : 3 A class Shape is defined with two overloading constructors in it. Another class Test1 is partially defined which inherits the class Shape. The class Test1 should include two overloading constructors as appropriate for some object instantiation shown in main() method.. You should define the constructors using the super class constructors.

  20. Programming In Java

    If you enrolled in this course in Jan 2023 and missed the exam, you can register again for Oct 2023 exam with fee waiver. Check the important instructions, exam dates, fees, hall tickets and domain certification guidelines.

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

    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.

  22. NPTEL Programming In Java Week 3 Programming Assignment Answers

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

  23. Programming in Java

    #programminginjava #java #programming #nptel #nptelsolution #nptel2023