Tutor Icon  Request A Tutor

Introduction to Computer Programming

Coding. Software engineering. Programming. Call it what you will, but there’s no doubt that in today’s world, this skill is big business. So what exactly is it?

Computer programming is skill of creating computer software. It is common to see the phrase ‘writing a program’, and this is because that is exactly what is involved: as human beings, we are most comfortable communicating in natural language – those are the languages we read, write and speak, like English – but machines are fundamentally different. They operate not on natural language, but by performing calculations in binary (0s and 1s). It is very difficult for human beings to give the computer these instructions in binary directly: even the simplest of tasks would involve a great deal of tedious and repetitive instructions. Imagine, then, how difficult it would be to create something like an iPhone app by writing the instructions the processor inside operates on directly: impossible!

To solve this problem, computer scientists have worked over the decades to create a number of ‘languages’, which let programmers write instructions in words. These instructions are then translated, by another computer program, into instructions that the computer can process. This saves an awful lot of work, and makes spotting mistakes easier: it’s much easier to see that you’ve given the computer a ‘dodgy’ instruction when the words are in English than if you had to look at machine code directly!

My main aim in this blog post, now that you know what a programming language is, is to make clear that programming languages can be classified as one of two types: interpreted or compiled.

As I am sure that some of you have heard the names of some popular programming languages, I’ll start by saying that Python, Ruby, and Perl are all examples of interpreted programming languages. Whereas languages like C and C++ are compiled.

So, what’s the difference? Well, compiled languages are probably the easier of the two to understand. You write an application using the compiled language of your choice, and then a computer program called a compiler translates your code directly into machine code, and creates a new file (usually an .EXE file!) that contains these machine instructions. You can then transfer this file to another computer, without needing the compiler on that computer, and your program will run just fine.

Interpreted languages, on the other hand, rely on the use of an interpreter program. This ‘reads’ your source code – a software engineering term for the lines of programming language you’ve written – and executes instructions as it reads. So instead of creating a new executable file, the ‘interpreter’ goes through the source code line by line, reading what’s there and telling the computer what to do. The disadvantage most beginner coders notice pretty quickly, is that you can’t transfer your program to another machine without first installing the interpreter software on it.

It’s important to have an understanding of the basic distinction between the two. But knowing this won’t make you an excellent software developer: you need to write some code.

On that front, I’d like to offer four pieces of advice for the beginner coder that I wish I’d had someone to tell me when I started.

1. Depth over breadth. Don’t make the mistake of thinking that the path to success is to try to master every language there is! What you’ll really end up doing, is having a low-mid tier knowledge of lots of languages. The truth is that lots of concepts in programming are the same between many languages, they are just implemented a little differently between each. So it’s much better to focus on mastery in one or two languages. What you learn there will assist you when you choose to pick up another language in future.

2. Make sure you fail a lot. Don’t worry about getting it right all of the time! The only way to learn is to tinker and experiment with the language. If you get it wrong, the worst that will happen is you get a helpful (or sometimes not so helpful) message from the compiler/interpreter telling you that you’ve done something a bit wrong. And that’s how you learn. So just go for it.

3. Start small. If you’ve never coded before, don’t dedicate yourself to having your very first attempts make you a Silicon Valley millionaire. You’ll just get disheartened. The learning curve can be very steep, especially if you want to write very efficient code. So set goals that are challenging but attainable. In time, you’ll get to the skill level you want.

4. Code every day! Practice makes perfect is just as true in programming as it is everywhere else. As you become more skilled, you can work on projects with friends or on the internet. There are lots of ways to get coding experience each and every day.

LETS STUDY FOR YOUR EXAM TOGETHER

 
Melodie Argi
Melodie Argi
08:14 18 Oct 19
Tavistock tutors is by far the best tutor agency is London. The tutor selection is of the highest quality. Handpicked from the British intellectual elite in all sorts of disciplines. The staff is wonderfully helpful as well as being extremely attentive to feedback.read more
Henry Smith
Henry Smith
22:27 17 Oct 19
I have been employed as a tutor with Tavistock Tutors for over 5 years. I tutor mathematics and also help people with job preparation for different career routes (cv, cover letter, interview preparation and online test prep). They are simply a wonderful team of individuals who work collectively and strive to deliver the best possible service to both clients and their tutors. They work doggedly to achieve results. They are particularly honest and their feedback to tutors on how to improve is tailored, concise and always highly constructive. Even after 5 yrs, they only put me forward as a tutor if they think I am the absolute best they can find otherwise they are honest with me and explain why I was not put forward. I think this transparency is a huge reason for their success and keeps the best tutors on their books for years. Their communication on what a client wants is also clinically precise and effective and the team go out of their way to provide potential interests/passions of the client to help the tutor prepare accordingly for the lessons and nurture that interaction. Simply the finest agency and I have tutored with some of the best. World-class tutors and utmost confidentiality with respect to their clientele. I cannot be happier to work for them, a dream job with a team whose capacity for kindness, empathy and boundless intellect never ceases to amaze me. Their work ethic inspires me to relentlessly push myself to be a better tutor with their encouragement and constructive feedback.read more
Albert Tam
Albert Tam
20:50 17 Oct 19
Best tutors in London! Great experience and amazing customer service. Highly recommend, my tutors were all fantastic and a huge help. Really recommend Tavistock Tutors as I never had to worry about not getting the highest quality tutors unlike other agencies and online tutors.read more
I ME
I ME
16:13 17 Oct 19
I’ve used Tavistock multiple times and they never disappoint! I used them for myself secondary school, whilst at university and even now whilst working. Their service is second to none as are their tutors. I highly recommend them to anyone looking to better themselves academically or personally.read more
STAVROS MOUSLOPOULOS
STAVROS MOUSLOPOULOS
13:22 06 Oct 19
Why most reviewers have one contribution, namely to the Tavistock Tutors? High standards ? Mate get a real job rather than living off other's qualifications. Reality Check (See photos attached - that is the owner “looking for me” 1.5 years after leaving London and while my name and photo was on first page of Tavistock Tutor website...)read more
Jonathan Aaron
Jonathan Aaron
16:39 01 Aug 19
Amazing experience, the tutor was reliable, knowledgeable and reasonably priced and the company was both professional and reliable. Definitely will be using them again!read more
David T
David T
16:34 01 Aug 19
I used Tavistock for some Corporate Finance and Financial Modelling training at my firm. They were extremely helpful and the trainer, Simon, was of top quality, experience and charged a fair price. Thank you!read more
Olivia Pluss
Olivia Pluss
11:05 13 Jun 19
I had a fantastic experience with my tutor Elena and Tavistock Tutors. They were very well organized and made the entire experience so seamless and easy for me. I passed my assignment with great marks and the experience was much less stressful than if I had tried to complete the assignment without Elena's help.read more
J Mathews
J Mathews
11:27 22 May 19
My child used Glenda for HL biology. Glenda was outstanding. I would not hesitate to recommend her. Extremely intelligent, always prepared, knows how to teach/very helpful, and also just a nice person. Also, I would use Tavistock again for sure because we had such success with Glenda.read more
Alan Radford
Alan Radford
09:34 09 May 19
Tavistock Tutors were a delight to deal with, and highly professional at all times. They provided my daughter with an excellent tutor at very short notice - after my having approached them on a Thursday urgently requesting a tutor for that weekend. Tavistock Tutors immediately gave the matter their attention; they appreciated the urgency and responded quickly and efficiently, and helped to set my daughter up with exactly the right sort of tutor. Fantastic!read more
Sophie Taieb
Sophie Taieb
12:55 29 Mar 19
Very happy with Tavistock tutors services. They provide a wide range of tutors, from all backgrounds and for all types of needs. My uni son needed some help in research and methodology. We found a perfectly suited tutor in less than 3 days. He is very knowledgeable, punctual, open minded and brings the support needed to my son. I would definitely recommend Tavistock tutorsread more
Next Reviews
 

How to memorise quotes – (great for closed book exams!)

Memorising quotes can be a crucial element to your GCSE and A-level exams, so mastering the skill can be essential. Being able to use quotes in your written responses is a sure way to get marks fo...

How to choose quotes to learn for English GCSE

We know that learning quotes for a closed-book exam can be daunting, difficult and boring – especially when you’ve already been studying the text for an entire year. In our article ‘Do I need ...

Do I need to memorise quotes for English GCSE?

With the new GCSE specifications released in 2015, most English Literature GCSE exams have now become closed-book exams.

But what does this mean?

This means that in your exam, you won...

Call Now Button