Terms Flashcards
1
Q
HTML
A
hypertext markup language
2
Q
http
A
hypertext transfer protocol
3
Q
URL
A
uniform resource locator
4
Q
jpg
A
short for jpeg
Joint Photographic Experts Group
5
Q
SQL
A
Structured Query Language
6
Q
def
A
define
7
Q
Function checklist
A
- start function definition w. def
- func. name has only characters and _
- need ( ) right after function name
- put arguments after () separated by commas
- make each argument with a unique name, no duplicates
- Must close with the parenthesis )
- Must get all lines of code you watching the function two spaces
- must end function with “end” lined up with “def”
8
Q
Run (“use” or “call”) a function
A
- Must run, use, or call a function by typing its name
- must put ) after the name to run it
- did you put the values you want into the parenthesis separated by commas?
- did you end the function call with a ) character?
- functions that don’t have parameters do not need brackets after them, but would it be clearer if you wrote them anyway?
To ‘run’, ‘call’ or ‘use’ a function all mean the same thing.