Jump to content

Guys need some ideas (java) for practice

levsingh

hey guys need some ideas for programs that i can make for my practice in java, i am a new beginner can make interest calc, use for,while loops , if's etc pretty basic stuff, just need some ideas so that i can try them and get a good grip on java thanks

Link to comment
Share on other sites

Link to post
Share on other sites

try making macros to preform basic functions in runescape. great way to learn.

 

(don't trade or use them to benefit anyone, just to practice coding)

Heaven's Society - Like Anime? Check us Out Here!

 

-------------------------------------------------------------------------------------------------------------------------

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

try making macros to preform basic functions in runescape. great way to learn.

 

(don't trade or use them to benefit anyone, just to practice coding)

sorry i dont know what is macros please tell or any link maybe

Link to comment
Share on other sites

Link to post
Share on other sites

sorry i dont know what is macros please tell or any link maybe

Macros are a set of instructions to be repeated when you want them to.

 

Personally, I like to start with things I would use in real life, since that's the purpose of programming. My first large java program was an agenda, but you can start smaller.

One of my first was a program where I'd write my current grades and it would tell me how much I needed to get in my remaining exams to pass the course. Things like that.

[spoiler=pc specs:]cpu: i5-4670k | mobo: z87-pro | cpu cooler: h100i | ram: 8gb vengeance pro | gpu: gtx770 ftw 4gb | case: nzxt switch 810 matte black | storage: 240gb ssd; 1tb hdd | psu: 750w corsair rm |
keyboards: max nighthawk x8 mx brown + blue led; corsair k60 mx red; ducky shine 3 tkl mx blue + orange led | mouse: deathadder black edition | audio: FiiO E10; sennheiser hd558; grado sr80i; sony mdr-nc200d; blue snowball |

Link to comment
Share on other sites

Link to post
Share on other sites

sorry i dont know what is macros please tell or any link maybe

 

Macros are a set of instructions to be repeated when you want them to.

 

Personally, I like to start with things I would use in real life, since that's the purpose of programming. My first large java program was an agenda, but you can start smaller.

One of my first was a program where I'd write my current grades and it would tell me how much I needed to get in my remaining exams to pass the course. Things like that.

 

It depends on what you intend to do with what you've learned. Once you learn to how preform basic instructions and loops you should look into more practical things or just jump right into them like he said.

 

I'd recommend Macro's first though. They teach how to coordinate lines of code and keep track of what actions you want to happen when and how to respond to events that occur. That's more for gaming and his is more for practical use.

Heaven's Society - Like Anime? Check us Out Here!

 

-------------------------------------------------------------------------------------------------------------------------

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

One suggestion I have for you is to learn business applications for code, such as reading and writing to a database. Start with a plain text file that holds to-do items, then read the file into a java program, then save to the text file. Afterwards learn to import and export to XML files.

 

learn the advanced memory storing and sorting methods such as linked list, double linked list, bubble sort, some other escape me at the moment. such fond memories....

 

hey guys need some ideas for programs that i can make for my practice in java, i am a new beginner can make interest calc, use for,while loops , if's etc pretty basic stuff, just need some ideas so that i can try them and get a good grip on java thanks

Use the quote or multiquote, for faster responses \/ \/

Link to comment
Share on other sites

Link to post
Share on other sites

These are from my old high school computing booklet, i'll put them in code things to make it easier to read.

Write a program which repetitively asks the user for and accepts test marks (out of 10) for 15 pupils. The total of all the marks, then the average should be calculated and both values should be displayed.
Write a program which takes in two numbers and finds the consecutive sum between them. Eg, 2 and 5 entered give 2+3+4+5=14. Use a function called consecutive_sum to do this.
Write a program to find the potential energy of an object given its mass and height above a fixed reference (9.81m/s 2)
Write a program to find the volume of air space in a room with a rectangular floor, ceilings and walls. Give an answer to the nearest cubic metre.
Write a program using a case statement which will display the a grade depending on what the user enters. 100-80% = A, 80-70 = B, 70-60 = C, 60-50 = D < 50= F.
Write a program which asks the user for a message and encodes it by shifting each character 2 places. The program should accept only lower case letters. Any letters which will code beyond 'z' should wrap back to the beginning of the alphabet. Both inputs should be hidden on screen (stars should replace the letter when a user enters a letter).
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×