8000 GitHub - fahimahammed/software-development-lab-1: This repository is made to practise or simulate git merge, git push, and other git commands in real life. First, a messy Java program was given. Each task has been completed in a separate branch and finally merged with the main.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This repository is made to practise or simulate git merge, git push, and other git commands in real life. First, a messy Java program was given. Each task has 8000 been completed in a separate branch and finally merged with the main.

Notifications You must be signed in to change notification settings

fahimahammed/software-development-lab-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Software Development Lab - 1

This repository is made to practise or simulate git merge, git push and other git commands in real life. First a messy Java program was given. Each task has been completed in seperate branch and finally merged with main.

Tasks :

  • Task#0
    Check the output wheather it matches with the output given here. If your output doesen't match, please correct your program.
  • Task#1
    Update code style for better consistency.
  • Task#2
    Application now terminates early if the number of arguments passed into it is wrong, fix it.
  • Task#3
    Makes improvements to variable names
  • Task#4
    Refactors duplicate file read and write logic into methods
  • Task#5.
    Replaces string literals with constants, storing those constants in a new class called Constants.java
  • Task#6.
    Remove Temporary variables
  • Task#7.
    Eliminates the ‘done’ control-flow variable. Adds better response for search operation.
  • Task#8.
    Simplifies the logic behind the count operation
  • Task#9.
    Adds handling for case when user enters invalid arguments
  • Task#10.
    Add more comments and makes more naming improvements.


Your should create git branch for every step with the name of the step, work on that particular step, commit the code with appropriate commit message and finally merge your branch to the master. For better understanding, write the commit message same as the task on each steps. And check every time you change something, you didn't break anything by going through Run #1 to Run #6 and it matches the commit message.



Run #1: $java StudenList a
Loading data ...
Student1
Student2
Student3
Student4
Data Loaded.

Run #2: $java StudentList r
Loading data ...
Student3
Data Loaded.

Run #3: $java StudentList r
Loading data ...
Student1
Data Loaded.

Run #4: $java StudentList c
Loading data ...
2 word(s) found
Data Loaded.

Run #5: $java StudentList ?Student1
Loading data ...
We found it!
Data Loaded.

Run #6: $java StudentList +Another
Loading data ...
Data Loaded.

File Contents (After running) Student1, Student2, Student3, Student4 ,Another List last updated on 2021-12-12 2:10:58 PM

About

This repository is made to practise or simulate git merge, git push, and other git commands in real life. First, a messy Java program was given. Each task has been completed in a separate branch and finally merged with the main.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0