Solutions

We help develop tomorrow's innovators today.

Our courses offer students solutions to learn computer programming and software development using modern and efficient tools. Our Tutors are industry professionals who have amassed knowledge and experience over the last 10 years or more.

New blog posts

Computer programming for Newbies

Jun 25, 2018 by Administrator

"Where do i start?" is a common question we...

The Fear of breaking things
The Fear of breaking things

Jun 15, 2018 by Administrator

When i was growing up i was very inquisitive...

Computer programming: What should you start with
Computer programming: What should you start with

Jun 3, 2018 by Administrator

There are so many opinions out there when it...

View all blog entries →

Twitter Feed

Please, configure this plugin in Admin Panel first.

Calendar of Events

Closest Events
All events on this day

My first Java assignment

Posted on May 17, 2017 by Administrator

My first Java assignment

I started my Java Journey on the 11th of May 2017. I am on mission to prove that with determination and the desire to learn, i can become a Java programmer. I am sharing my experiences to encourage anyone who has always wanted to program but thought it was too hard or impossible.

Here i talk about my third lesson and my very first java project.

Being new to Java all this is very new to me but not at all surprising. I always wanted to program and that helps.  Its all making sense because Sunil, our volunteer lecturer is simplifying everything. Sunil is not assuming prior knowledge of Java and this helps. Working in Netbeans is exciting too, as errors are highlighted and you are able to quickly spot an error. Its nice to know that work has been done to ease the tasks!

My first assignment was to be build a calculator and i am so happy with feedback that i received from Sunil. I did a lot of research and it was great to receive feedback about the right things i did during this assignment. My journey so far has been great and i am learning more and more each day. Its important to reasearch after each lecture and practise typing the code. Given somethings i may forget but its nice to know that i can alwys go back to my notes or the internet.

One of the exciting concepts i learnt today about programming in general is that a lot of thought has been given in coming up with all the components of a programming langauge, especially Java. Everything is there for a reason and more importantly some things are done to simplify how we write code. Take for example what i used during the my calculator example. I chose the switch statement because it made sense to separate each calculation. As a beginner i found out that i computer programme does what its told to and the programming language translates this into the responses it gives. In short programming is translating your ideas into code. If you cant think and break the problem into logical parts it will not be easy to write code thats simple and straight to the point. While the programme can only do one cycle, ie solving just one problem and break i know as times goes i will learn how make it into a real calculator that can solve one problem after another! 

Sunil also liked the way i wrote my code becuase i let the user be guided by my programme with step by step instructions. As i coded the calculator it was interesting to see how i had to break down the problem into sections. First i declared my variables then i selected a library to scan for inputs and store inputed values. You see there a repetitive tasks in programming and these have been made into libraries that we can simply import into our programme and call them to complete a task. Thats brilliant. The next step was tell the computer to add the inputed values, subtract, divide and multiply. The next step was to come up with the result and have it change as the choice of calculation was changed. This was the hard part, but once i figured it out, I marveled at how simple it was afterwards. Sunil had shown us in lesson 1 how to print out results and it was nice to see how i needed to recall what i had been taught to complete this assignment. It did work from the get go. I had to figure what wasnt working and attend to it. It took some time but i got it done! 

A lot of what i am learning as a new Java programmer is hard but what i dont understand i ask Sunil or search on the internet. This is the beauty of this course. 

In today's lesson i learnt quite a lot too. Much of what i applied in my calculator assignment was covered today. You need variables, you have primitive data types and operators and so on. These things were part of my calculator asssignment and its great to see how they all work together. I am looking forward to learning more! 

If you want to join me in the classes register on the website 


Newsletters

Event Categories

Announcements

No announcements yet

New portfolio entries

{pf_no_entries}