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

Relational Operators, Conditional logic

Posted on May 18, 2017 by Administrator

Relational Operators, Conditional logic

Today's lecture covered the following;

- Relational Operator

- Conditional logic

- Basic Looping

- Arrays

- For each loop

- The Switch Statement

Notes are available for download here You can also download previous lesson notes here

In programming there are many complex problems that will need to be solved or tasks that will need to be evaluated and appraised. Today lesson showed me that in order to do these things we must know relations between the things we are working with it could be numbers it could be anything. As we write our code we will rely on relational operators, conditional logic, looping, switching and saving data. 

Relational operators help us to perform tests on our data. The test is always going to result in an answer that is "TRUE" or "FALSE".  This video offers a very detailed explanation and is worth watching. You can subscribe to the channel here Nathan Shutz offers simple and detailed explanations of Java concepts.  

Think of it this way when we are working with data, how do we decide which number is bigger than the other or which numbers are the same or which statement is true or false. To build the software that we want we must think of the things that can happen and ensure that our code accounts for everything in order to avoid breaking our code or giving the wrong results.  In Java we need to learn the ways through which we can manipulate and evaluate relationships between or among the items we are dealing with in our code. Is something true of false, what must we do if something is true or is false. This is very important.

Today's lesson was a bit more complex and more reading is required to understand these concepts. Sunil indicated that we will be using a lot of these things as we code. Dont worry if you dont immediately grasp these concepts the first time. Remember to download your Netbeans and practise writing the code. 

See you all in lesson 5. Join Techworld Code school here to learn more about how you can learn Java and other programming languages.


Newsletters

Event Categories

Announcements

Learn to code

Learn computer programming with Tech Hub. Just sign up and we will take you through basic computer programming. We also offer advanced programming courses and we do it face to face. Who can learn? Anyone! As long as you can read and write. We can teach you how to design a website, how to design a web application, desktop application and more. App 0718924393 for more details or visit Tech Hub Harare for more details.

New portfolio entries

{pf_no_entries}