Task 5

Top Java Development Tools and Software | Rebel

Programming

For this task you are going to be using an online learning platform for some programming.

In life there is often more than one way to go about doing things, the same is true with programming. There are many different programming languages, some better suited to certain tasks, and then there are also more than one concept to programming. 

Most of you have done GCSE Computer Science and most used Python. You would most likely have been used to programming with functions and procedures. These allow you to write blocks of code for a specific task that can be used over and over again so allowing you to reduce the amount of code you have to write.

Another approach to programming is called Object Orientated Programming.  This is where "objects" are created that are supposed to more closely resemble real life situations. These objects then have certain attributes (properties) and can also be manipulated in certain, set ways. For example, a program created for Libraries could have books represented as objects. Each of these objects would have certain attributes such as author, title ISBN number etc. You could also use objects to represent people who borrow books and even the libraries themselves. Each of those would also have their own attributes. This concept can be applied to many different applications.

There are loads of different online resources for available for learning programming. The one I'm going to ask you to try is one of the better free ones I've come across and gives a good introduction. You may find in the future other sites that you prefer.

Part 1 - Create a login to Sololearn

Go to the Sololearn site and create yourself a log in. This will store your progress.

Part 2 - Work through the first lesson - "Basic Concepts"

There are 9 units and several quizzes and challenges along the way. Make sure you have a go at all of them. Let me know if you have any questions or problems - pbr@lpgs.bromley.sch.uk

Part 3: Extension

Prime Factorisation

Write a program that has the user enter a number and find all Prime Factors (if there are any) and display them. You can use any programming language you like, pseudocode or flowchart. 

• Have the program find prime numbers until the user chooses to stop asking for the next one.

Please email your code to PBR@lpgs.bromley.sch.uk