click below
click below
Normal Size Small Size show me how
Mohogany L.- U1-1-3
Unit 1 Lesson 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 the "Run" button to execute the program. |
Comments | begin with two dashes and a space and mark lines that are ignored by the computer. In order to comment several lines by starting with {- and putting -} at the end. |
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). head = body |
Keywords | are special words used to modify the way a computer program works.Usually shown in boldface in the edit or import, program, and where. |
identifiers | names of variables or functions. |
Operators | arithmetic, such as +, -, * (multiplication) and / (division) |
Punctuation | [ 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) |
Literal Data | includes numbers, such as 1, or text, which is enclosed in double-quotes, such as "CHUCK WAGON". |
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. |
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 |
Library | A collection of predefined functions |
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. |
Hanging indent | Formatting of a paragraph, citation, or definition for which all lines except the first are indented. |
Header | Consist of 4 major components: Specification (usually begins with "This program will...") Name and Date Import Statement(s) (usually imports the Standard library) |
Body | body is where the actual code is. It must contain at least this line: Program (tells the computer where to start running the code.) It usually has the form program = drawingOf( ...something here... ) |