Skip to content

Commit 29e67d7

Browse files
Index
Week 10 Update
1 parent c466238 commit 29e67d7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -336,3 +336,26 @@ Note the following points carefully:
336336
2. The input and output array size must be of dimension 5 × 5.
337337
3. Flip-Flop: If 0 then 1 and vice-versa.
338338
```
339+
340+
## [WEEK 10](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/tree/WEEK-10)
341+
342+
[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.
343+
344+
[Java Week 10:Q2](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-10/Question102.java) 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'.
345+
```text
346+
Note the following points carefully:
347+
1. Name the connection object as 'conn' only.
348+
2. Use timeout value as 1.
349+
```
350+
351+
[Java Week 10:Q3](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-10/Question103.java) 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.
352+
353+
[Java Week 10:Q4](https://github.com/bkkothari2255/Programming_In_Java_NPTEL/blob/WEEK-10/Question104.java) Complete the code segment to create a new table named ‘PLAYERS’ in SQL database using the following information.
354+
355+
| Coulmn | UID | First_Name | Last_Name | Age |
356+
|--------|---------|-------------|-------------|---------|
357+
| Type | Integer | Varchar(45) | Varchar(45) | Integer |
358+
| | | | | |
359+
360+
361+
[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’.

0 commit comments

Comments
 (0)