Skip to content

java-academy/powtorka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Refresher quiz from Java (and tools), by use of fortune game.

Questions

  1. OOP - theory of OO, including definition, author, criteria, pillars, etc.

  2. exceptions - error and exception handling in Java

  3. keywords - questions about all Java keywords (till JDK11)

  4. jdbc - JDBC related questions (only simple ones, 21 of them now)

Extra:

  • git - distributed version control system Git

  • mvn - Maven, Java build tool

Usage

From the terminal:

  1. git clone this-repository

  2. cd powtorka - change the dir name if you cloned or moved this elsewhere or renamed the dir name

  3. strfile -c % fileNameHere - creates a binary file DB for fortune

  4. fortune fileNameHere - uses the file, giving the random fortune (that is, a random question)

  5. mv fileNameHere fileNameHere.dat /usr/share/games/fortunes - assuming your fortune dir is /usr/share/games/fortunes

  6. you can now delete the repo and use the fortune-quiz :-)

man fortune to the rescue if you want to know more!

Tip
Or you can clone the repository and launch install.sh to install the files. :-)

Sources

My own questions. Not that anybody else didn’t have similar.

License

GPLv3

About

Powtórka z Javy via fortune

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages