General Notes
Introduction
Programming is the process of writing instructions in a language a computer can understand to solve problems or perform tasks. It is a transferable skill, meaning the skills developed for one scenario can be easily transferred to another.
Algorithm: Solution to a problem expressed as a sequence of defined steps
Stages of Computer Program
- Input: Takes in values from the user to the program
- Storage: Temporarily or permanently saves data for use during or after program execution
- Process: Operations that transform inputs into outputs
- Output: Displays values to the user
Output
PYTHON
Python can be executed directly in the browser.
Editor — Python
Output
No output yet.
Comments
You may wish to write something in the code which the computer will ignore which is why comments are needed. Text written in a program but not run by the computer is called a comment. These are basically used to explain why a part of code is used, help other people reading the code understand it faster, or Ignore a line of code.
PYTHON
Python can be executed directly in the browser.
Editor — Python
Output
No output yet.
