You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Java Week 1:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-1/Exercise1_1.java) To find the perimeter and area of a circle given a value of radius.
21
33
@@ -28,7 +40,7 @@
28
40
[Java Week 1:Q5](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-1/Exercise1_5.java) To help Ram , find the highest mark and average mark secured by him in "s" number of subjects.
[Java Week 2:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-2/Question211.java) To call the method print() in class Student following the concept of inner class.
34
46
@@ -41,7 +53,7 @@
41
53
[Java Week 2:Q5](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-2/Question215.java) To debug the program which is intended to print 'NPTEL JAVA'.
[Java Week 3:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-3/Fibonacci.java) To the generation of Fibonacci numbers.
47
59
@@ -54,7 +66,7 @@
54
66
[Java Week 3:Q5](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-3/Question3.java) To swap two numbers using call by object reference.
[Java Week 4:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-4/Question41.java) To execute the following program successfully. You should import the correct package(s) and/or class(s) to complete the code.
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.
@@ -100,7 +112,7 @@ Circle: This is Shape2
100
112
101
113
For example, if user’s input is 1, then it will throw and catch “java.lang.NullPointerException“.
[Java Week 7:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-7/Question1.java) 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.
149
161
@@ -156,7 +168,7 @@ Complete the code segment to catch the exception in the following, if any. On th
156
168
157
169
[Java Week 7:Q5](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-7/Question5.java) 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](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-8/Pattern1.java) Write a program which will print a pyramid of "*" 's of height "n" and print the number of "*" 's in the pyramid.
[Java Week 9:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-9/Question91.java) Complete the code to develop a BASIC CALCULATOR that can perform operations like Addition, Subtraction, Multiplication and Division.
255
267
```text
@@ -351,7 +363,7 @@ Note the following points carefully:
[Java Week 10:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-10/Question101.java) 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.
357
369
@@ -374,7 +386,7 @@ Note the following points carefully:
374
386
375
387
[Java Week 10:Q5](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-10/Question105.java) Complete the code segment to rename an already created table named ‘PLAYERS’ into ‘SPORTS’.
[Java Week 11:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-11/InsertData.java) Complete the code segment to insert the following data using prepared statement in the existing table ‘PLAYERS’.
380
392
@@ -407,7 +419,7 @@ Structure of Table 'PLAYERS' is given below:
407
419
408
420
[Java Week 11:Q5](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-11/DropTable.java) Complete the code segment to drop the table named ‘PLAYERS’.
[Java Week 12:Q1](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-12/Question92.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.
0 commit comments