-
Input (1)
Reading input is really important in programming. It means that we can interact with the computer program. There are a number of methods of doing this. Here we will focus on using the Python input function to read input and assign the data entered to a variable. The input function returns a value which is […]
-
Variables
Variables are used to store data and the contents of them can be changed. This could be strings (text), numbers (integers, floats / decimals), or booleans (true or false). Variables must start with a letter. When naming variables (and functions) in Python we use an _ to separate different words. For example a variable to […]
-
Fixing Errors (1)
Try running the program below: There will be a number of errors that are detected when the program runs. The ones here are called syntax errors as they are due to the errors being due to the text we have used in our code. These are different to logic errors which the code will run […]
-
Output
Create a new file in your editor of choice called ex_1_output.py Enter the code shown below. We are using the print function. You can identify functions in Python as they have ( ) after the function name. The print function takes one or more arguments (stuff inside the brackets). In this example it has one […]
-
Introduction
Python is a high level third generation programming language. Python is an interpreted language as opposed to a compiled language. This means that each line of Python code is executed (run) line by line directly on the computer only at the time the program is run. This is different from a compiled language such ad […]
-
Visual Studio Setup for Python
Download and install Python 3 first if it’s not already installed. Once Python is installed restart your computer before moving to the next step. Download Visual Studio Code if you don’t already have it. Open Visual Studio Code Install the Python extension. Click the icon below to access the Extensions tab. Install the Microsoft Python […]
-
2021 Project Themes
In 2021 projects are to be themed around one of the following five topics.
-
Making Music – Song Maker
Chrome experiments has a good quick music maker. This can quickly make short soundtracks for use in different digital outcomes. Chrome Experiments – Song Maker
-
1.10 Demonstrate understanding of human computer interaction (91886 L1 3cr)
This is a 3 credit external This achievement standard requires demonstrating understanding of human computer interaction through inspecting, evaluating and analysing user interfaces. A user interface is the hardware or software part of a computer or electronic system that a human user interacts with to control the system. The usability of an interface is the […]
-
1.07 Develop a computer program (91883 L1 4cr)
This is a 4 credit internal This achievement standard involves developing a computer program to carry out a task or activity. Click here to access the NZQA Digital Technology Achievement Standards page. Achievement Develop a computer progam This involves you: You can show this by: writing code for a program that performs a specified task […]