Skip to content

Commit 28fc856

Browse files
Index
Week 7 Update
1 parent 0d0597f commit 28fc856

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -148,26 +148,24 @@ Thread is running.
148148

149149
## [WEEK 7](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-7)
150150

151-
[Java Week 7:Q1]()
151+
[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.
152152

153-
[Java Week 7:Q2]()
153+
[Java Week 7:Q2](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-7/Question2.java) 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".
154154

155-
[Java Week 7:Q3]()
155+
[Java Week 7:Q3](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-7/Question3.java) 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.
156+
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.
156157

157-
[Java Week 7:Q4]()
158+
[Java Week 7:Q4](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-7/Question4.java) 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".
158159

159-
[Java Week 7:Q5]()
160+
[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.
160161

161162

162163
## [WEEK 8](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-8)
163164

164-
[Java Week 8:Q1]()
165-
166-
[Java Week 8:Q2]()
167-
168-
[Java Week 8:Q3]()
169-
170-
[Java Week 8:Q4]()
165+
## [WEEK 9](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-9)
171166

172-
[Java Week 8:Q5]()
167+
## [WEEK 10](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-10)
173168

169+
## [WEEK 11](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-11)
170+
171+
## [WEEK 12](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-12)

0 commit comments

Comments
 (0)