Skip to content

Commit eb2ba7d

Browse files
Index
Week 7 Update
1 parent 28fc856 commit eb2ba7d

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

docs/README.md

+6-18
Original file line numberDiff line numberDiff line change
@@ -146,25 +146,13 @@ Thread is running.
146146

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

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

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

153-
[Java Week 7:Q3]()
153+
[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.
154+
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.
154155

155-
[Java Week 7:Q4]()
156+
[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".
156157

157-
[Java Week 7:Q5]()
158-
159-
160-
## [WEEK 8](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-8)
161-
162-
[Java Week 8:Q1]()
163-
164-
[Java Week 8:Q2]()
165-
166-
[Java Week 8:Q3]()
167-
168-
[Java Week 8:Q4]()
169-
170-
[Java Week 8:Q5]()
158+
[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.

0 commit comments

Comments
 (0)