click below
click below
Normal Size Small Size show me how
Zion G U1 - 1-3
Unit 1 lessons 1-3
Term | Definition |
---|---|
Editor | The large window where we type our code(on the left) |
Line number | The number at the beginning of each line |
Run | after we type our code, we click"run" to execute the program. |
Output | top right |
The console | bottom left |
editor keys | a list of shortcuts |
Comments | Comments begin with two dashes and a space and mark lines that are ignored by the computer. You can also comment out several lines at once by starting with {- and putting -} at the end. |
definitions | Definitions have an equal sign separating the word that is being defined, at the left (the head), from the expression that it stands for, at the right (the body). |
keywords | Keywords are special words that are used to modify the way a computer program works. They are usually shown in boldface in the editor. The keywords used in the example program were: |
operators | Operators can be arithmetic, such as +, -, * (multiplication) and / (division) other (you will learn about them later) |
punctuation | Punctuation includes [ and ] (square brackets, used to delimit lists) ( and ) (round parentheses, used to delimit tuples and arguments) , (comma, used to separate elements in lists and tuples), and |
ethics | The moral principles applied to a person's actions |
Plagiarism | The unethical act of passing off someone else's work as your own |
problem solver | : A thinker that takes all of the knowledge and resources at hand to design solutions |
perseverance | The act of continuing to attempt something difficult, even if it takes a long time to succeed, often after many failures |
Growth Mindset | The belief that you can learn and grow through perseverance and resilience |
debugging | The process of searching for, identifying, and fixing errors in a code/program |
Facilitating questions | Questions that are used to guide conversation rather than provide answers |
Constructive Criticism | Suggesting improvements or questioning a decision in a healthy and supportive manner |
Library | A collection of predefined functions. |
Specification | A statement at the top of the input panel that specifies the purpose of the program (as a comment so it is ignored by the program). |
Documentation | A description of all the available libraries for your reference. |
Hanging indent | Formatting of a paragraph, citation, or definition for which all lines except the first are indented |
Import statement: | Using the keyword Import followed by the name of the library being imported. Once the library is imported into the code, the programmer can use any function defined in that library. |