Programming: Getting started
What is programming?Computer programming is the process of creating a set of written instructions that the computer follows. These instructions are written in a programming language. Each programming language has its own way of organising the instructions. This is called syntax. A programming language is a formal language made up of instructions for computers. Programming language can be thought about in terms of syntax and semantics. Syntax refers to the words, symbols, punctuation and layout that are used in a programming language. Semantics refers to the meaning of the code that is written in a programming language and the way things are done (the rules that must be followed) in a programming language, such as declaring variables or functions before using them, for the code to be valid or have meaning, and to work as intended. Programming languagesFor Unit 3, Outcome 1 you will be learning Python programming. Python is a versatile and powerful programming language renowned for its simplicity and readability. It is widely used in various domains such as web development, data science, artificial intelligence and automation. Python provides extensive libraries and frameworks that facilitate web and application development. For instance, Django and Flask are popular Python web frameworks used to build web applications. These frameworks offer tools for handling web requests, managing databases and generating dynamic content. Installing Visual Studio Code and PythonYou will need to install Visual Studio Code and Python onto your computer in order to run Python code. We'll provide instructions for how to install these. Visual Studio Code, also commonly referred to as VS Code, is a source-code editor developed by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring and embedded Git. If you have not yet installed VS Code and Python, you can run the code for the first five weeks of the course in an online Python console. Your teacher will let you know which one to use. |
|
Here you would be directed to a source of additional reading. |