acem-java-training's People
Forkers
gogoopppaacem-java-training's Issues
Write a hello world program
Write a hello world program which takes two argument
a. Salutation
b. Full Name and
c. Display SalutationFull Name in console.
Collections Operations
a. Create a linked list named one and two.
b. Add some elements to both one (one, two, three, four, five) and two (six, seven, eight, nine, and ten).
c. Merge the words from two into one.
d. Remove every second word from two.
e. Remove all words in two from one.
f. Print the value after each operation.
Write a program that displays the temperatures from 0 degrees Celsius to 100 degrees Celsius and its Fahrenheit equivalent. Note that the conversion from Celsius to Fahrenheit uses the following formula: F = C * 9/5 + 32
Write a program using switch statement to develop a simple calculator for +, -, *, /, and % operators.
A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. Write an application that reads in a five-digit integer and determines whether it is a palindrome. If the number is not five digits long, display an error message and allow the user to enter a new value.
Write a program that calculates percentage and GPA of 5 students. Each of the students has following attributes: name, class, rollnum, and marks obtained in 5 subjects.
Write a program that uses Shuffle algorithm to print the words in its argument list in random order. Hint: Use List and Collection
Small Java Core Application - Employee Management
The application should have the following features:
- Application will have two users: a. admin user b. normal user
- Admin user will have option to add/delete user
- Normal user can view/search employee
- admin user will be generated by the system by default
- admin user will add normal user
Entities:
User: id [primary key], username [unique key], password, isTerminated
Employee: Extends user, fullname, department, address, role['admin','user']
Functionalities: Admin User
- can add/delete/terminate user
- can view/search other employees: search by fullname, department, address. If not provided any value system will search and display all the employees
- delete user on the basis of fullname. If the full name matched then user will be delete from the system.
- terminate the user on the basis of fullname.
Functionalities: Normal User
- can view/search other employees: search by fullname, department, address. If not provided any value system will search and display all the employees
- edit their own information: selects which fields to edit and enter the value for respective field.
Both admin and normal user access the functionalities once they logged in otherwise they cannot do anything.
For login check for valid username, password and user is not terminated.
Write a Guessing a number game application: User will select the guessing value from the keyboard and application will generate a random no between 1 and 100. Check if the guess value matched with random no. or not, if matched show the guessing value, random value and the no. of attempts.
Collections Operations
Create an array list with 49 Integer objects containing the numbers 1 through 49. It then randomly shuffles the list and selects the first 6 values from the shuffled list. Finally, it sorts the selected values and prints them out. Hint: Use ArrayList, Collections.shuffle(), ArrayList.subList(), and Collection.sort().
Takes the words in its argument list and prints out any duplicate words, the number of distinct words, and a list of the words with duplicates eliminated. Hint: Try with HashSet and List implementation. Suppose you want to know which words in the argument list occur only once and which occur more than once, but you do not want any duplicates printed out repeatedly. This effect can be achieved by generating two sets one containing every word in the argument list and the other containing only the duplicates. The words that occur only once are the set difference of these two sets
Write a program to find the number of and sum of all integers greater than 100 and less than 200 that are divisible by 7.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.