IT Unit 24: Vocabulary

To pass this unit, please study the 20 vocabulary words below.
US

argument
a value passed to a function when it is called
US

Value1 and value2 are both arguments in the expression sum(value1, value2).
US

array
a data structure such as a variable that holds other variables in a particular order; For example: $a = ($b, $c, $d)
US

The programmer decided to store all her variables in an array so she could loop through them and perform a callback function.
US

attribute
a property such as order, size, or color
US

The web designer could not remember the hexadecimal code for the table background cell color attribute and had to look it up.
US

callback
code that is passed as an argument to other code
US

Programmer use callbacks in tedious situations such as asynchronous programming or running an array of values through a function designed to take a string.
US

for loop
a sequence of instructions set to be repeated a specified amount of times until a condition is met
US

The student programmed the for loop to run until the value of "x" was greater or equal to 100.
US

function
a named sequence of procedural code statements that perform a certain task
US

The CS student spent all night working on a function to compute the average rainfall in Alaska.
US

global scope
usable anywhere in a program
US

The veteran programmer said using global scope variables is easier but sometimes less secure.
US

goto statement
an instruction in older procedural programming languages that specifies that the instruction execution is to jump to specified location, normally a line number
US

The professor said that using goto statements is considered bad practice with the possible exception of breaking out of nested loops.
US

if/else statement
a decision making process wherein a block of code may or may not be executed based on pre-existing condition
US

The professor told us the heart of the program logic was simply a long line of if/else statements.
US

local scope
usable only in a limited section of program text such as a function
US

For security reasons the bank password variable had a local scope and was confined to a single function.
US

operand
a value from which an operator derives another value
US

"2" and "1" are examples of an operand in the equation "2 + 1 = 3".
US

operator
a symbol that represents a arithmetical calculation.
US

The plus sign (+) is the operator in the mathematical expression "1 + 3 = 4".
US

parameter
a variable specified inside a function or subroutine definition which may set by the code which calls it
US

the program returned a fatal error because a required parameter was missing.
US

regex (regular expression)
a string that describes or matches a set of strings, according to certain syntax rules
US

Search engines use regular expressions to match many kinds of similar words, even misspelled ones.
US

statement
a sentence of code in a programming language, usually ending with a semi-colon
US

a computer program is simply a collection of valid statements which provide a result.
US

string
a series of letters and/or numbers
US

The teacher asked us to type a search string into the Google text box and press "enter".
US

subroutine
an independent block of code, separate from the main program, which performs a specific task necessary to the program
US

The Pascal software program was buggy due an incorrectly performing subroutine.
US

switch
a block of code or function causing a program to change its default behavior
US

The programmer preferred using a switch statement to many if/else statements.
US

variable
a symbol used to represent data which can be changed while the program is running.
US

Without variables, programs would not be able to accept user input.
US

while loop
a sequence of instructions set to continue until a certain expression is false
US

The while loop continued until the value of "x" was greater than "y".
Go to Unit Activities