click below
click below
Normal Size Small Size show me how
Karel Vocabulary
| Term | Definition |
|---|---|
| code | typed commands given to a computer to have it perform a specific function |
| commands | functions that call specific tasks for the computer to do in a single line of code |
| computing | the act of a computer running code |
| computer | machine that runs code to perform tasks |
| degrees | units something can rotate in code |
| Karel | fictional dog character used by CodeHS to teach the basics of programming |
| semicolon | comes at the end of each line of code, allows the code to be run |
| world | where Karel lives/performs functions |
| functions | lines of code represented by a single line that can be called and have parameters added to it |
| calling a function | causing the action to actually happen |
| curly bracket | code in the function goes in between two of these |
| function | a way to teach Karel a new word |
| function body | the code in the function between the two curly brackets |
| pseudocode | simplified computer code |
| decomposition | breaking down larger problems into smaller ones |
| top down design | a web that shows the breaking down of a large problem into smaller and smaller tasks |
| defining a function | creating a function in which you name the function, then write commands within the curly brackets that the function will perform every time it is called |
| multi-line comments | a comment that spans multiple lines, written with a /* at beginning and a */ at end, with the comment written between between the two asterisks |
| postconditions | detail what will be true after the function has finished running |
| precondition | are the assumptions that we make and conditions that must be true before the function runs |
| single-line comments | a comment that only spans one line, written with a // before the comment |
| Super Karel | more advanced Karel, he knows also how to turn right and how to turn around |
| street | horizontal rows in Karel’s world |
| avenue | vertical columns in Karel’s world |