This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Will pay for mentor in Java Based Programming  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, so long story short. I spend hours doing my labs for my intro to CS course in enrolled in at school. I wish to be a computer science major and it has been my dream since childhood. I put buttloads of effort into achieving this dream however, here recently I just feel like it's crumbling out from underneath me no matter how much hard work or determination I have. I just need someone who is willing to talk to me and listen to my thought processes on some specific areas programming in Java entails. For instance, initialization and constructors is something my class seems to have taken on very quickly. I've sat before for 14 hours messing with trying to get things initialized properly for simple programs. I am willing to pay a decent amount for someone's knowledge. I'm extremely eager to learn and I have a lot of drive to be successful in this field. Feel free to email me if I don't get back to you @ claytoncg23882@gmail.com
 
Marshal
Posts: 61753
193
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I am not sure web services is the best location for your post; I shall try moving it elsewhere. Please show us some of your code, but nothing long, so we an see what your style is like; get some advice without having to pay for it.
 
Codey Clayton
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is some attached code for a lab I have due at midnight tonight. The main purpose of this is to generate a barcode with 2 different bar heights half height and full height bars. At the beginning of the lab you started by declaring the zip code that the barcode is attached to as an integer. I was able to make all my JUnit tests pass that way. However, when the book was wanting me to use an array instead of the integer, I tried changing things around and really broke the code lol.. I've been trying to initialize this array for at least 6 hours.. any free advice is definitely welcome! However, I would also like to find someone who could supply me with the service of being able to maybe do an audo call or something as I try to write the code for my labs and if I get stuck perhaps be there to guide me on finding the correct solution using the information I've learned in class. Im assigned labs every week and each week I struggle to complete them. I currently have a 68 in my lab class and a 92 in my lecture class.. I know what things do for the most part except for a couple small things lol I will try to attach the code the best I can
 
Codey Clayton
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a couple pics of the code. The professor didn't say much about the test class when I emailed him so I'm assuming it's not too jacked up.
2018-11-11-(1).png
[Thumbnail for 2018-11-11-(1).png]
2018-11-11.png
[Thumbnail for 2018-11-11.png]
 
Codey Clayton
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not to spam but I figured people might be interested in pay rates. So I've thought a little bit about this. The first session won't be as much as the following ones. My reasoning behind this is because I'm unaware of your certification or how qualified you are to help me. If we do however have a lesson and you are helpful I will be willing to pay more. Also, after the first lesson if we agree to continue, I could pay UP TO $1 a minute depending on the quality of instruction, once again. I'm willing to negotiate pricing and will be looking for assistance for at least 1 hour a week.
 
Campbell Ritchie
Marshal
Posts: 61753
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the text with copy'n'paste. Screenshots are often difficult to read.

Please explain more about your situation, and we'll see how much help we can provide help free of charge.
 
Codey Clayton
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
Codey Clayton
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Campbell Ritchie
Marshal
Posts: 61753
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't got much time now, so just a few things. Thank you for using the code tags right second time round, but you only got them quite right second time. Don't worry; I have been back, just this once because you are new, and corrected that
You know how to indent code, which lost of people seem not to. There are a few places where I think you have excess empty lines (lines 71‑75), and I prefer an empty line to separate successive methods.
You also know how to write nice simple and straighforward methods.
Lines 23‑24 worry me, I am afraid. They suggest you have changed the design of your class, and I can't tell how much of the code uses the new design and how much the old design.
It seems strange that an array {2} should represent the sip code 00002, with the 0s leading.
Have you found out what happens if you try to print an array using its toString() method? I don't think you will get your equality tests to work. Find out about a StringBuilder object and how it can make "00002" out of {2} so much more efficiently.
 
Codey Clayton
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay so.. a more detailed description of what's occurring,

ZipCode
-zipDigits: int[]

+ZipCode(int z)
+toString(): String
+getCheckDigit(): int
+getBarCode(): String
is the UML for the code. So basically in the lab you have a 5 digit zip code that is a representation of where you live. The goal is to write a program that will construct the bar code. The book starts you off weirdly. I'm not sure what else to really explain. I did however just realize I had the parameter wrong and everything
 
Campbell Ritchie
Marshal
Posts: 61753
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Codey Clayton wrote:Okay so.. a more detailed description of what's occurring . . .

That isn't a description of anything occurring, but a requirement from your book. How do you know that requirement is correct or optimal? Have you tried different methods or fields?

The book starts you off weirdly. . . .

Always tell us which book, including page numbers etc. What does the book say? We can only explain something if you tell us why it is so weird.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!