Skip to content

Commit e3fbefc

Browse files
committed
Update README.md
1 parent 5dcc0e0 commit e3fbefc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,15 @@ This repository contains all the java programming assignments for the CSE1007 la
101101
* [MyServer.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/RMI/src/Multiples/MyServer.java): Create and run server application
102102
* [MyClient.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/RMI/src/Multiples/MyClient.java): Create and run client application
103103
> Eg., Develop an RMI application to invoke a remote method that takes two numbers and returns true if one number is an exact multiple of the other and false otherwise.
104+
104105
```
105106
Sample test cases:
106107
-------------------
107108
5 and 25 -> true
108109
26 and 13 -> true
109110
4 and 18 -> false
110111
```
112+
111113
* Client:
112114
<p align="center">
113115
<img src="https://raw.githubusercontent.com/jacobjohn2016/Java-Programming/master/Images/6-CS-C.png" alt="CS Client" width="600">
@@ -120,9 +122,11 @@ This repository contains all the java programming assignments for the CSE1007 la
120122
## Assignment 6
121123
1. Write a program to demonstrate the knowledge of students in Servlet programming.
122124
>Eg., Assume two cookies are created whenever a VIT student visits the VIT webpage-one for his/her name and the other for his campus. For subsequent visits, he/she should be greeted with the message similar to the one below.
125+
123126
```
124127
“Hi Ajay from Chennai Campus!!”.
125128
```
129+
126130
* [output](https://github.com/jacobjohn2016/Java-Programming/tree/master/Servlet-Programming)
127131
* [web.xml](https://github.com/jacobjohn2016/Java-Programming/blob/master/Servlet-Programming/WebContent/WEB-INF/web.xml): File for mapping URL
128132
* [Hello.html](https://github.com/jacobjohn2016/Java-Programming/blob/master/Servlet-Programming/WebContent/Hello.html): Initial html landing page. **Run this file on the server**.
@@ -158,6 +162,7 @@ This repository contains all the java programming assignments for the CSE1007 la
158162
Store these values in an array. Find the average rainfall and display the count of the number of months in which the rainfall is more than the average. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/RainMain.java)
159163
>10.2, 11.9, 8.0, 11.2, 10.8, 6.9, 8.2, 11.5, 10.4, 8.7, 7.8, 7.5.
160164
6. Write a program to print the following patterns using loops. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/Pattern.java)
165+
161166
```
162167
1 2 3 4 5 6 7
163168
2 3 4 5 6 7
@@ -173,10 +178,11 @@ Store these values in an array. Find the average rainfall and display the count
173178
2 3 4 5 6 7
174179
1 2 3 4 5 6 7
175180
```
176-
7. Write a program called NumberGuess to play the number guessing game. The program shall generate a random number between 0 and 99. The player inputs his/her guess and the program shall response with "Too higher", "Too lower" or "Congratulations! You got it.." accordingly. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/NumberGuess.java)
177-
8. Create a class Film with string objects which stores name, language and lead_actor and category (action/drama/fiction/comedy). Also include an integer data member that stores the duration of the film. Include parameterized constructor, default constructor and accessory functions to film class. Film objects can be initialized either using a constructor or accessor functions. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/FilmMain.java)
178-
9. Demonstrating multiple inheritance in Java. [Source](https://www.geeksforgeeks.org/java-and-multiple-inheritance/) [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/MultipleInheritance.java)
179-
10. Write a program to demonstrate the knowledge of students in advanced concepts of Java string handling. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/Genes.java)
181+
182+
1. Write a program called NumberGuess to play the number guessing game. The program shall generate a random number between 0 and 99. The player inputs his/her guess and the program shall response with "Too higher", "Too lower" or "Congratulations! You got it.." accordingly. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/NumberGuess.java)
183+
2. Create a class Film with string objects which stores name, language and lead_actor and category (action/drama/fiction/comedy). Also include an integer data member that stores the duration of the film. Include parameterized constructor, default constructor and accessory functions to film class. Film objects can be initialized either using a constructor or accessor functions. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/FilmMain.java)
184+
3. Demonstrating multiple inheritance in Java. [Source](https://www.geeksforgeeks.org/java-and-multiple-inheritance/) [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/MultipleInheritance.java)
185+
4. Write a program to demonstrate the knowledge of students in advanced concepts of Java string handling. [Ans](https://github.com/jacobjohn2016/Java-Programming/blob/master/extra-assignment/src/Genes.java)
180186
>Eg., (Bioinformatics: finding genes) Biologists use a sequence of letters A, C, T, and G to model a genome. A gene is a substring of a genome that starts after a triplet ATG and ends before a triplet *TAG, TAA, or TGA*. Furthermore, the length of a gene string is a multiple of 3 and the gene does not contain any of the triplets ATG, TAG, TAA, and TGA. Write a program that prompts the user to enter a genome and displays all genes in the genome. If no gene is found in the input sequence, displays no gene. Here are the sample runs: done
181187
```
182188
Enter a genome string: TTATGTTTTAAGGATGGGGCGTTAGTT

0 commit comments

Comments
 (0)