' src=

  • All Courses
  • Privacy Policy

' src=

Swayam Solver

Learn Programming & Prepare for NPTEL Exams... Swayam Solver is your one-stop destination for NPTEL exam preparation.

NPTEL Programming in Java Jan 2024 Week 12

Week 12 : programming assignment 1.

Write a program that calculates the letter grade based on a numerical score entered by the user.

§   >=80 - A

§   70-79 - B

§   60-69 - C

§   50-59 - D

§   40-49 - P

§   <40 - F

Follow the naming convention as given in the main method of the suffix code.

Week 12 : Programming Assignment 2

Write a program that validates a user's password based on the following criteria (in the following order):

§   1. The password must be at least 8 characters long.

§   2. The password must contain at least one uppercase letter (A-Z).

§   3. The password must contain at least one lowercase letter (a-z).

§   4. The password must contain at least one digit (0-9).

Take the following assumptions regarding the input:

§   The input will not contain any spaces

Your output should print the rule that it violates  exactly  as defined above.

If the password violates multiple rules then the  first rule it violates should take priority .

For example:

Input:          

Output:      

Your password is invalid. The password must be at least 8 characters long.

Week 12 : Programming Assignment 3

Write a program that analyzes a given text and provides the following information:

§   Number of words:  The total number of words in the text.

§   Longest word:  The longest word found in the text.

§   Vowel count:  The total number of vowels (a, e, i, o, u) in the text.

§   The input will only contain lowerspace characters[a-z] and spaces.

§   The last word will not end with a space nor with any special character.

You need to print exactly as shown in the test case.

Do not print anyting else while taking input.

Week 12 : Programming Assignment 4

Write a Java program to calculate the area of different shapes using inheritance.

Each shape should  extend   the  abstact class Shape

Your task is to make the following classes by extending the  Shape   class:

§   Circle   (use  Math.PI  for area calculation)

§   Rectangle

§   Square

Each Shape subclass should have these  private   variables apart from the  private   variables for storing  sides   or  radius .

private String shapeType ; private double area ;

Week 12 : Programming Assignment 5

Implement two classes,  Car   and  Bike , that implement the  Vehicle   interface. Each class should have appropriate attributes and constructors. Ensure that the  start ,  accelerate , and  brake  methods are implemented correctly for each vehicle.

No comments:

Post a comment.

Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.

Programming in Java | Week 12

Session: JAN-APR 2024

Course name: Programming In Java

Course Link: Click Here

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

These are NPTEL Programming In Java Week 12 Assignment 12 Answers

Q1. Which of the following statements are correct and would NOT cause a compilation error? a. iii, iv, v, vi b. i, ii, iii, iv c. ii, iii, v, vi d. i, ii, iv, vi

Answer: a. iii, iv, v, vi

Q2. What is the result, if the following program is executed? a. “finally” b. “exception finished” c. “finally exception finished” d. Compilation fails

Answer: c. “finally exception finished”

Q3. What is the output of the following program? a. java b. ava c. java – nptel d. with

Answer: a. java

Q4. If you run this program the how many threads will be executed altogether? a. One thread only. b. Two threads only. c. Three threads only. d. No thread will run in this case.

Answer: b. Two threads only.

Q5. Which of the following method is used to set a frame, say f with size 300 × 200 pixels? a. f.setSize(300, 200); b. f.setSize(200, 300); c. f.paint(300, 200); d. f.setVisible(300, 200);

Answer: a. f.setSize(300, 200);

Q6. Which of the following control expressions are valid for an if statement? i. Any integer expression. ii. Any Boolean expression. iii. A String object. iv. Any expression with mixed arithmetic. a. only ii b. ii, iii c. ii,iv d. i, ii

Answer: a. only ii

Q7. Which of the following options correctly initializes the elements of the numbers array with values 1, 2, 3, 4, and 5? a. numbers = {1, 2, 3, 4, 5}; b. for (int i=1; i < numbers.length; i++) { numbers [i] = 1; } c. numbers [] = {1, 2, 3, 4, 5}; d. numbers = new int[]{1, 2, 3, 4, 5};

Answer: d. numbers = new int[]{1, 2, 3, 4, 5};

Q8. Which of the following options correctly extracts and prints the word “World” from the str string? a. System.out.println(str.substring(7, 12)); b. System.out.println(str.substring(7, 12)); c. System.out.println(str.extract(7, 12)); d. System.out.println(str.substr(7, 13));

Answer: a. System.out.println(str.substring(7, 12));

Q9. What will be the output of this program? a. true false b. false true c. true true d. false false

Answer: a. true false

Q10. What will be the output of this program? a. Compilation ERROR b. “Finally block executed” c. “Arithmetic exception occurred Finally block executed” d. Runtime ERROR

Answer: c. “Arithmetic exception occurred Finally block executed”

Programming Assignment

Question 1 Write a program that calculates the letter grade based on a numerical score entered by the user. § >=80 – A § 70-79 – B § 60-69 – C § 50-59 – D § 40-49 – P § <40 – F Follow the naming convention as given in the main method of the suffix code.

Question 2 Write a program that validates a user’s password based on the following criteria (in the following order): § 1. The password must be at least 8 characters long. § 2. The password must contain at least one uppercase letter (A-Z). § 3. The password must contain at least one lowercase letter (a-z). § 4. The password must contain at least one digit (0-9). Take the following assumptions regarding the input: § The input will not contain any spaces Your output should print the rule that it violates exactly as defined above. If the password violates multiple rules then the first rule it violates should take priority.

Question 3 Write a program that analyzes a given text and provides the following information: § Number of words: The total number of words in the text. § Longest word: The longest word found in the text. § Vowel count: The total number of vowels (a, e, i, o, u) in the text. Take the following assumptions regarding the input: § The input will only contain lowerspace characters[a-z] and spaces. § The last word will not end with a space nor with any special character. You need to print exactly as shown in the test case. Do not print anyting else while taking input. Follow the naming convention as given in the main method of the suffix code.

Question 4 Write a Java program to calculate the area of different shapes using inheritance. Each shape should extend the abstact class Shape Your task is to make the following classes by extending the Shape class: § Circle (use Math.PI for area calculation) § Rectangle § Square Each Shape subclass should have these private variables apart from the private variables for storing sides or radius. private String shapeType; private double area; Follow the naming convention as given in the main method of the suffix code.

Question 5 Implement two classes, Car and Bike, that implement the Vehicle interface. Each class should have appropriate attributes and constructors. Ensure that the start, accelerate, and brake methods are implemented correctly for each vehicle. Follow the naming convention as given in the main method of the suffix code.

More Weeks of Programming In Java: Click here

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

Session: JULY-DEC 2023

Course Name: Programming In Java

Question 1 Complete the code to develop an extended version of the ADVANCED CALCULATOR with added special functions that emulates all the functions of the GUI Calculator as shown in the image.

Question 2 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. For example: https://www.xyz.com:1080/index.htm protocol://host:port/filename

Question 3 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 “name rollnumber avgmark”.

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

Question 5 Write a recursive function to print the sum of first n odd integer numbers. The recursive function should have the prototype ” int sum_odd_n(int n) “.

More Nptel Courses: Click here

Session: JAN-APR 2023

Course Name: Programming in Java

Q1. Which statement is incorrect in case of using “this” keyword in a static method? a. “this” keyword can be used in static method to access static variables only b. “this” keyword first needs to be defined by user c. “this” keyword cannot be used as a variable name d. “this” keyword can not be used in static method to access static variables only

Answer: b, d

Q2. State whether the following statements are True or False. i) A catch can not have comma-separated multiple arguments. ii) Throwing an Exception always causes program termination. a. True. False b. False. True c. True. True d. False. False

Answer: a. True. False

Q3. Which of the following contains only date and not time? a. java.io.date b. java.sql.date c. java.util.date d. java.util. dateTime

Answer: b. java.sql.date

Q4. Why the applets are depreciated? a. Applet are complicated to program b. Applet had severe security issues c. Applet was replaced by AWT d. Applet was resource intensive

Answer: b. Applet had severe security issues

Q5. Which of the following control expressions are valid for an if statement? a. Any integer expression. b. 0 and 1 as integer. c. A String object. d. Any Boolean expression.

Answer: d. Any Boolean expression.

Q6. Consider the following program: String animal = “GOAT”: switch(animal){ break: System.out.println(“DOMESTIC”): } What is the output of the Java program given above? a. No output b. GOAT c. DOMESTIC d. Compiler error

Answer: d. Compiler error

Q7. Consider the following program: What is the output of the following program? a. java b. ava c. y java d. ava n

Answer: d. ava n

Q8. Which of the following are correct statement for array declaration? a. float[] = new float (3); b. float f2[] = new floatl[]; c. float[] f1 = new float[3]; d. float F3[] = new float[3];

Answer: c, d

Q9. Consider the following piece of code in Java. What is the result, if the above-mentioned program is executed? a. finally b. finally exception finally finished c. finally exception finished d. Compilation fails

Answer: b. finally exception finally finished

Q10. Which is a component in AWT that can contain another components like buttons, textfields, labels ete.? a. Window b. Panel c. Container d. Frame

Answer: c. Container

Programming Assignment of Programming in Java

Complete the code to develop an extended version of the ADVANCED CALCULATOR with added special functions that emulates all the functions of the GUI Calculator as shown in the image. Note the following points carefully:

1. Use only double datatype to store all numeric values. 2. Each button on the calculator should be operated by typing the characters from ‘a’ to ‘t’. 3. You may use the already defined function gui_map(char). 4. Use predefined methods from java.lang.Math class wherever applicable. 5. Without ‘=’ binary operations won’t give output as shown in Input_3 and Output_3 example below. 5. The calculator should be able to perform required operations on one or two operands as shown in the below example: Input_1: okhid Output_1: 100.0 Input_2: ia Output_2: 2.0

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. For example: https://www.xyz.com:1080/index.htm protocol://host:port/filename

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 “name rollnumber avgmark”. For example: input: ram das 123 25.5 24.5 output: ramdas 123 25.0

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.

Write a recursive function to print the sum of first n odd integer numbers. The recursive function should have the prototype ” int sum_odd_n(int n) “. For example : input : 5 output: 25 input : 6 output : 36

More Weeks of Programming In Java: Click Here

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

These are NPTEL Programming In Java Week 12 Assignment 12 Answers

  • Tuesday, May 28, 2024

NPTEL Programming in Java Week 12 Assignment Solution July 2022

Programming-In-Java-Week12-Programming-Assignment-Solutions

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

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

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

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

COURSE LAYOUT

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

Course Name : “Programming in Java July 2022”

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

Note the following points carefully : 1. Use only double datatype to store all numeric values. 2. Each button on the calculator should be operated by typing the characters from ‘a’ to ‘t’. 3. You may use the already defined function gui_map(char). 4. Use predefined methods from java.lang.Math class wherever applicable. 5. Without ‘=’ binary operations won’t give output as shown in Input_3 and Output_3 example below. 5. The calculator should be able to perform required operations on one or two operands as shown in the below example:

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

For example:

https://www.xyz.com:1080/index.htm

protocol://host:port/filename

Question : 3  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 “ name rollnumber avgmark” . For example: Input:

ramdas 123 25.0

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

Question : 5 Write a recursive function to print the sum of  first n odd integer numbers. The recursive function should have the prototype “ int sum_odd_n(int n) “. Input : 5 Output: 25 .

Quizermania Logo

Programming in Java | NPTEL 2022 | Week 12 quiz solutions

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

Course layout (Answers Link)

Answers COMING SOON! Kindly Wait!

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

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

Now, start attempting the quiz.

Programming in Java NPTEL 2022 Week 12 Quiz Solutions

Q1. Which statement is true in case of using “this” keyword in a static method?

a) “this” keyword can be used in static method to access static variables only b) “this” keyword can’t be used in static method c) “this” keyword can be used in static method d) None

Q2. State whether the following statements are True or False. i) A catch can have comma-separated multiple arguments. ii) Throwing an Exception always causes program termination.

a) True, False b) False, True c) True, True d) False, False

Answer: d) False, False

Q3. Which of the following contains both date and time?

a) java.io.date b) java.sql.date c) java.util.date d) java.util.dateTime

Answer: c) java.util.date

Q4. In Graphics class which method is used to draw a rectangle with the specified width and height?

a) public void drawRect(int x, int y, int width, int height) b) public abstract void fillRect(int x, int y, int width, int height) c) public abstract void drawLine(int x1, int y1, int x2, int y2) d) public abstract void drawOval(int x, int y, int width, int height)

Q5. Which of the following control expressions are valid for an if statement?

a) Any integer expression b) Any Boolean expression c) A String object d) Any expression with mixed arithmetic

Answer: b) Any Boolean expression

Q6. Consider the following program: String animal = “GOAT”; switch(animal) { break: System.out.println(“DOMESTIC”); } What is the output of the Java program given above?

a) No output b) GOAT c) DOMESTIC d) Compiler error

Answer: d) Compiler error

Q7. What is the output of the following program?

a) java b) ava c) y java d) january

Answer: b) ava

Q8. Which of the following statements would cause a compilation error?

a) float[] = new float(3); b) float f2[] = new float[]; c) float[] f1 = new float[3]; d) float f3[] = new float[3]; e) float f5[] = {1.0f, 2.0f, 2.0f}; f) float f4[] = new float[] (1.0f, 2.0f, 3.0f};

Answer: a), b)

Q9. What is the result, if the above-mentioned program is executed?

a) finally b) finally exception finally finished c) finally exception finished d) Compilation fails

Answer: b) finally exception finally finished

Q10. Which is a component in AWT that can contain another components like buttons, textfields, labels etc.?

a) Window b) Container c) Panel d) Frame

Answer: b) Container

Previous Course – NPTEL 2022 Week 12 Quiz Solutions

Q1. Execution of SQL command like SELECT * FROM myTable using JDBC program will return a ResultSet object. This object is

a) Same as the myTable b) All records in verbatim from the table c) All records in verbatim from the table but those records with null values d) All records in verbatim from the table but those records are not with null values

Q2. Which of the following control expressions are not valid for an if statement?

Answer: c), d)

Q3. Let’s consider the following program in Java. If you run this program the how many threads will be executed altogether?

a) One thread only b) Two thread only c) Three threads only d) No thread will run in this case

Q4. Which of the statements are not correct about Swing programming?

a) AWT is a heavyweight programming b) Swing is heavyweight programming c) Swing is lightweight programming d) Both AWT and Swing are lightweight programming

Q5. Which of the following displays components row-by-row in the order in which they were added to the JFrame?

a) CardLayout b) FlowLayout c) BorderLayout d) GridLayout

Programming in Java NPTEL 2022 Week 12 quiz Solutions

Q6. What is the result, if the above-mentioned program is executed?

a) finally b) exception finished c) exception finally finished d) finally exception finished e) Compilation fails

a) j ava b) java c) javanptel d) january

Programming in Java NPTEL 2022 Week 12 Quiz solutions

a) float[] = new float(3); b) float f2[] = new float[]; c) float[] f1 = new float[3]; d) float f3[] = new float[3]; e) float f5[] = { 1.0f, 2.0f, 2.0f }; f) float f4[] = new float[] { 1.0f, 2.0f, 3.0f};

Q9. What is the output of the following program?

a) 16 b) 15 c) 19 d) 17

Q10. Which of the following method is used to set a frame, say f with size 200 x 300 pixels? JFrame f = new JFrame();

a) f.setSize(300, 200); b) f.setSize(200, 300); c) f.paint(300, 200); d) f.setVisible(300, 200);

>> Prev- Programming in Java Week 11 Assignment Solutions

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

Related Posts

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

Preprocessor Directives

C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)

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

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

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

  • 1st Central Law Reviews: Expert Legal Analysis & Insights
  • Amazon Quiz
  • Flipkart Quiz
  • Play & Win 50,000 Coins
  • Privacy Policy

NPTEL Programming In Java Assignment 12 Answers 2022

  • by QuizXp Team
  • April 10, 2022 April 11, 2022

NPTEL Programming In Java Assignment 12

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

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 12 assignments out of the total 12 assignments given in the course. Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

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

Below you can find the answers for NPTEL Programming In Java Assignment 12

NPTEL Programming In Java Assignment 12 Answers:-

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.

For Week 12 MCQ/Quiz Answers Click Me

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.

For Online programming test help and final exam preparation material Click Me

quizxp telegram

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 

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.

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

For other courses answers:- Visit

For Internship and job updates:- Visit

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

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

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

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

x

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 repository in NPTEL course Programming in Java Question and Quiz answer.

sumitnce1/Programming-in-Java-NPTEL

Folders and files, repository files navigation, programming-in-java-nptel, programming_in_java_nptel.

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

Java Week 4:Q2

Java Week 4:Q3

Java Week 4:Q4

Java Week 4:Q5

Java Week 5:Q1

Java Week 5:Q2

Java Week 5:Q3

Java Week 5:Q4

Java Week 5:Q5

Java Week 6:Q1

Java Week 6:Q2

Java Week 6:Q3

Java Week 6:Q4

Java Week 6:Q5

Java Week 7:Q1

Java Week 7:Q2

Java Week 7:Q3

Java Week 7:Q4

Java Week 7:Q5

Java Week 8:Q1

Java Week 8:Q2

Java Week 8:Q3

Java Week 8:Q4

Java Week 8:Q5

Java Week 9:Q1

Java Week 9:Q2

Java Week 9:Q3

Java Week 9:Q4

Java Week 9:Q5

Java Week 10:Q1

Java Week 10:Q2

Java Week 10:Q3

Java Week 10:Q4

Java Week 10:Q5

Java Week 11:Q1

Java Week 11:Q2

Java Week 11:Q3

Java Week 11:Q4

Java Week 11:Q5

Java Week 12:Q1

Java Week 12:Q2

Java Week 12:Q3

Java Week 12:Q4

Java Week 12:Q5

BEST OF LUCK!

  • Java 100.0%

AnswerGPT Logo

If You Are Facing Any Problem In Payment Then Email On : [email protected]

Pyq [week 1-12] nptel programming in java assignment answers 2023.

java nptel assignment answers week 12

About Course

This course will provide you with access to all 12 weeks of assignment answers. As of now, we have uploaded the answers of Week 1 to 12.

Note:- Our answers will be visible to only those who buy this plan. Buy this plan if you have not yet.

Course Content

Week 1 answers 2023, week 1 assignment answers, week 2 answers 2023, week 2 assignment answers, week 3 answers 2023, week 3 assignment answers, week 4 answers 2023, week 4 assignment answer, week 5 answers 2023, week 5 assignment answers, week 6 answers 2023, week 6 assignment answers, week 7 answers 2023, week 7 assignment answers, week 8 answers 2023, week 8 assignment answers, week 9 answers 2023, week 9 assignment answers, week 10 answers 2023, week 10 assignment answers, week 11 answers 2023, week 12 answers 2023, week 12 assignment answers, student ratings & reviews.

Want to receive push notifications for all major on-site activities?

Insert/edit link

Enter the destination URL

Or link to existing content

IMAGES

  1. Programming in java || week 12 assignment 12 answers || Nptel

    java nptel assignment answers week 12

  2. NPTEL Programming in Java Week-12 Quiz + Programming Assignment Solutions || 2020 || Courses ||

    java nptel assignment answers week 12

  3. NPTEL Programming in Java Week 12 Quiz Assignment Solutions || July 2021 || Swayam

    java nptel assignment answers week 12

  4. Programming in Java week 12 all 5 programming assignment answer with code link

    java nptel assignment answers week 12

  5. Data Structure and algorithms using Java Week 12 || NPTEL || Assignment answers 2020

    java nptel assignment answers week 12

  6. Programming in Java

    java nptel assignment answers week 12

VIDEO

  1. NPTEL Programming In Java WEEK 6 ASSIGNMENT ANSWERS

  2. NPTEL Cloud Computing Week 12 Assignment Answers

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

  4. NPTEL programming in Java Week 8 Assignment 8 Answers Solution Quiz

  5. Programming in Java|| WEEK-4 Quiz assignment Answers 2023||NPTEL||#SKumarEdu

  6. NPTEL Programming In Java Week 11 Assignment Answers Solution Quiz

COMMENTS

  1. Swayam Solver: NPTEL Programming in Java Jan 2024 Week 12

    The password must be at least 8 characters long. Follow the naming convention as given in the main method of the suffix code. Your last recorded submission was on 2024-04-06, 18:47 IST. Select the Language for this assignment. File name for this program : import java.util.Scanner; public class W12_P2 {.

  2. Programming-in-Java-NPTEL/week 12/Exercise 12.1.java at master ...

    This repository in NPTEL course Programming in Java Question and Quiz answer. - Programming-in-Java-NPTEL/week 12/Exercise 12.1.java at master · sumitnce1/Programming-in-Java-NPTEL

  3. NPTEL Programming In Java Week 12 Assignment 12 Answers ...

    Programming In Java Week 12 Assignment 12 Answers Solution Quiz | 2023-JulyJoin NPTEL - Programming in Java :https://telegram.me/ProgrammingInJavaNPTELJoin o...

  4. NPTEL Programming in Java Week 12 Assignment Solution

    Course Name : "Programming in Java". Question 1 : Complete the code to develop an extended version of the ADVANCED CALCULATOR with added special functions that emulates all the functions of the GUI Calculator. Question 2 : A partial code fragment is given. The URL class object is created in try block.You should write appropriate method ...

  5. NPTEL Programming In Java Week 12 Programming Assignment Answers

    Programming In Java Week 12 Programming Assignment Answers Solution Quiz | 2024-janJoin our Telegram Channel : https://telegram.me/SwayamSolverFor unproctore...

  6. NPTEL Programming In Java Week 12 Assignment 12 Answers

    These are NPTEL Programming In Java Week 12 Assignment 12 Answers. Question 2. Write a program that validates a user's password based on the following criteria (in the following order): § 1. The password must be at least 8 characters long. § 2. The password must contain at least one uppercase letter (A-Z). § 3.

  7. NPTEL Programming In Java WEEK 12 Programming Assignment Solutions

    🔊 Programming In Java NPTEL Elective Course 2022NPTEL Programming In Java WEEK 12 Programming Assignment Solutions | Swayam July 2022 | IIT KharagpurSolutio...

  8. NPTEL Programming in Java Week 12 Assignment Solution July 2022

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

  9. PDF Assignment 12

    02/07/2020 Programming in Java - - Unit 14 - Week 12 : https://onlinecourses.nptel.ac.in/noc20_cs08/unit?unit=13&assessment=189 3/6 Books Live Interactive

  10. PDF Java Week 12:Q1

    02/07/2020 Programming in Java - Course https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=190 2/5 Complete the code to develop an extended version of ...

  11. bkkothari2255/Programming_In_Java_NPTEL

    Java Week 6:Q2 In the following program, a thread class ThreadRun is created using the Runnable interface which prints "Thread using Runnable interface". Complete the main class to create a thread object of the class ThreadRun and run the thread, Java Week 6:Q3 A part of the Java program is given, which can be completed in many ways, for example using the concept of thread, etc. Follow the ...

  12. Data Structures and algorithms using Java Week 12 Assignment ...

    This video explain the Data Structures and algorithms using Java Week 12 Assignment solutions | JULY 2022 | NPTEL @mspacademy1680

  13. NPTEL

    🌟 Welcome to my NPTEL Programming in Java repository! 🚀 This repository is a comprehensive collection of my solutions and detailed notes for the NPTEL Programming in Java course. It's designed for learners, Java enthusiasts, and anyone eager to delve into the world of Java programming. Resources

  14. PDF Java Week 12: Q2

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

  15. Programming in Java

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

  16. NPTEL Programming in Java Week 12 Quiz answers with detailed ...

    Visit our website :https://getpythoncode-help.github.io/Join us on telegramhttps://t.me/getpythoncode Follow me on Instagramhttps://www.instagram.com/getpyt...

  17. NPTEL » Programming In Java Assignment week 12 Sep-2020

    Java Assignment Week 12 Answers:-. Java Week 12: Q1. - Complete the code to develop an extended version of the ADVANCED CALCULATOR with added special functions that emulate all the functions of the GUI Calculator as shown in the image. Answer/Code:-. import java.util.Scanner;

  18. NPTEL Programming In Java Assignment 12 Answers 2022

    YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF THE AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100. Below you can find the answers for NPTEL Programming In Java Assignment 12. Assignment No. Answers. Programming In Java Assignment 1.

  19. NPTEL Programming in Java week 12 all 5 programming assignment answer

    Click on the link below to get all the codes shown in the video:https://getpythoncode-help.github.io/java.htmlVisit our website :https://getpythoncode-help.g...

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

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

  21. sumitnce1/Programming-in-Java-NPTEL

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

  22. PYQ [Week 1-12] NPTEL Programming In Java Assignment Answers 2023

    Week 9 Assignment Answers. Week 10 Answers 2023. Week 10 Assignment Answers. Week 11 Answers 2023. Week 10 Assignment Answers. Week 12 Answers 2023. Week 12 Assignment Answers. This course will provide you with access to all 12 weeks of assignment answers. As of now, we have uploaded the answers of Week 1 to 12.