Coding Lounge ...

Welcome to our coding section

Please click on a link to the left to get started. TeachingComputing has specific tutorials on langauges like Python, VB.Net, HTML, JavaScript. Sign up free for access to a free drive full of a growing lot of useful resources. You may also find our comprehensive CODE SNIPPETS area useful. Search for any specific Python code snippet that you may be looking for whether it be a worked example of how to read and write to CSV files or string manipulation or the use of dictionaries.
You'll need to SIGN UP and then subscribe if you want access to all our hundreds of topical powerpoints. We also highly recommend for the teaching and learning of the Python language. As you can see from the below diagram from codeeval - Python, it seems, is by far evolving as one of the most popular languages of all time! 

Need help with your Computing GCSE PROJECT? or A LEVEL? Our Learning Pathways section can help you with that! We'll go through Analysis, Design, Development, Testing and Evaluation with you, with worked examples. You can also work on sample controlled assessments yourself or for A Level or more advanced projects, go through the process of creating a professional write-up (project documentation) by following our steps and using our examples.Don't forget to go through our Coding mini projects section which takes you step by step through the problem solving of OCR's NEA Controlled assessment sample tasks. See, for example, the 'CREATING A NETFLIX TYPE SYSTEM', mini project here. Full solutions and python files available to subscription members.

Image result for popular coding languages 2016





Which programming languages do employers want?

Let’s first look at the skills that tech employers are asking for. We asked job-finding site Indeed to comb through its 16 million job listings to see how often each of the various programming languages were mentioned in the first five months of 2016. As shown in the chart below, Java showed up in job titles far more often than any other language, with 2,992.19 mentions per million listings.

Indeed chart

According to Terence Chiu, vice president of Indeed Prime, “It is not surprising that Java is such a popular programming language. It’s been around for a long time, runs in many computing environments, and has advantages of readability, scalability, and robustness.”

Java is also popular on another major job board, Dice. The top 10 “languages” in its listings, along with their year-over-year change in frequency, are:

  1. Scala: 50%
  2. Puppet: 20%
  3. Python: 13%
  4. Hadoop: 11%
  5. Java/J2EE: -4%
  6. SOAP: -5%
  7. HTML: -7%
  8. C, C++, C#: -7%
  9. UML: -9%
  10. Perl: -9%

Dice also notes a healthy increase in demand for Python, whose 13% growth lands it in third place, up from eighth last year. C, C++, and C# fall to eighth place from first last year, even though the number of listings fell by only 7%. If Indeed combined the trio into a single listing, it would grab a strong second place, so it seems premature to dismiss them. This list is confusing, however, in that Scala, which compiles to Java bytecode, earns the top slot. Puppet, Hadoop, and SOAP, meanwhile, are not actually programming languages.

What developers and programmers say

What employers want is one thing. What developers are actually doing is another. According to RedMonk’s analysis of the number of repositories devoted to a language on GitHub and the amount of discussion on Stack Overflow, JavaScript remains the most popular choice. In fact, the list has changed little since the last rankings in January:

  1. JavaScript
  2. Java
  3. PHP
  4. Python
  5. C#
  6. C++
  7. Ruby
  8. CSS
  9. C
  10. Objective-C

Unsurprisingly, RedMonk’s list resembles the results of a recent Stack Overflow survey of more than 50,000 developers. JavaScript tops that list, too! Employers may not be asking for JavaScript programmers as much as for folks skilled in other languages, but the people who use it certainly like to talk about it.


The Python Programming Language

Some information about Python: from

Highest Position (since 2001): #4 in Dec 2016

Lowest Position (since 2001): #13 in Feb 2003

medal Language of the Year: 2007, 2010

Ratings (%)20022004200620082



Prepare to be shocked!

There are a ton of programming languages out there - and here's a list!



























Code in Python

Try it yourself - right here in the browser. Simply the delete the code below or edit it to get started and get experimenting!

Please wait. Loading Trinket ...

Code in JavaScript, HTML and use CSS

Try it yourself - right here in the browser. Simply delete the code below or edit it to get started and get experimenting!

Please wait. Loading Trinket ...

Code in VB.Net, C# or F#

Try it yourself - right here in the browser. Simply delete the code below or edit it to get started and get experimenting!

Python Coding - solving sample tasks

The only way you are going to get good at Python and coding is to code! Do also check out our other sections on GCSE and A Level coding (in Learning Pathways) Sample tasks provided by your exam board are a great way to problem solve. Don't give up until you've got there. This particular task is NEA TASK 2(for the OCR exam board). Try it yourself and share your answers or thoughts here. Here's one possible angle at a solution ....

The Task

Download it here: In brief, create the beginnings of a NETFLIX type computer program. A user can log on, view films, like films, search for films based on things like keyword or title, and the program will also intelligently suggest other films you might like based on previous viewings. 

Skills needed:

Variables, global and local, selection (if and else), iteration (loops of all kinds), string handling, file handling (read and write to file), CSV file handling ....


1. Is there a better way to organise the files (file structure). For example, would it be better to store the likes by member, instead of in the films text file? What do you think?

2. How do you think facebook stores member likes? Is there one correct way or many ways to do this? How do you go about deciding on a file structure?

A coded solution in progress. What do you think?

Here we have a coded solution (and this is just one possible way of millions to get you thinking) for the NETFLIX type program problem. NEA Task 2 (OCR) Solution. There are so many ways in which you can approach the problem and that's what makes it great. Make sure you try it yourself and only peruse the below code when you've done your own to compare. Ask yourself or discuss with peers about the best solution (the one below is by no means the BEST structure or most elegant solution but it solves the problem) ....we haven't put in the code for the intelligent profiling. What would your algorithm be? This is clever stuff - great for getting those brain juices well and truly flowing ....

Creating a NetFlix type program - Code it!