TSA Coding Study Guide with Complete Solutions
"A program contains the following statements:
x= grade
If x >90:
print ("You are an A student!")
What action will the program take when x=89?" - ANSWER-Nothing will print.
Accessibility - ANSWER-a program that let's disable people connect to devices
Algorithm - ANSWER-A predefined procedure that aims to solve a problem or complete
a task. It takes into account specific circumstances and has varying courses of action
for each.
An interpreter or compiler converts data into which numerical value? - ANSWER-Binary
Array - ANSWER-A data structure with one, or more, elements of the same type.
ASCII Code - ANSWER-System in which each English character is assigned a
numerical code ranging from 0 to 127.
Assembler - ANSWER-A program that converts basic, low-level instructions into
machine code.
Binary - ANSWER-a code that turns the English numbers into "0" and "1"
Binary Alphabet - ANSWER-a code that turns the English alphabets into "0" and "1"
Binary Number System - ANSWER-Base2
Bit - ANSWER-a code that is the smallest unit that only uses "0" and "1"
Boolean - ANSWER-One of two values: TRUE or FALSE. It is often used to control an
object's visibility in object-oriented programming (OOP).
Branch Program Flow Control - ANSWER-A flow diagram that has multiple paths that
the user can take.
Bug - ANSWER-a malfunction
Byte - ANSWER-a way to measure data
Case - ANSWER-An if statement with multiple outputs.
Code - ANSWER-a command for computers to run
, Compile - ANSWER-To convert the code into instructions before the program runs.
Computer Program - ANSWER-Any software that runs on top of the operating system.
Conditional - ANSWER-Evaluates the validity of one or more conditions and then
executes one or more commands, whose nature depends now which condition is valid.
CPU - ANSWER-The "brain" of the computer that carries out all of the tasks and
operations of a computer.
Data - ANSWER-information that is saved
Date/time Variable - ANSWER-Variables that are used to store the date and time. It is
often used as a way of time-stamping when something was done or achieved.
Debug - ANSWER-A process that aims to locate the exact source of bugs (i.e. errors or
flaws) in the code.
Debugging - ANSWER-fixing a bug
Decimal - ANSWER-A data type that has a "." in it (e.g. 2.27).
Decimal Number System - ANSWER-Base10
DNS - ANSWER-a program that remembers websites
Documentation - ANSWER-Text written in normal language that describes software; it
consists of comments found directly in the code as well as separate documents that
describe the overall program.
Event Handler - ANSWER-A function that is called when a certain event occurs.
Examples of these include button.onclick and window.onload.
Execute - ANSWER-To run a program or a set of instructions given to a computer.
Flowchart - ANSWER-A diagram used to describe algorithms and the structure of
programs and programming languages. It consists of boxes that represent specific
objects or steps and arrows and lines to represent the relationship between them.
For Loop - ANSWER-Loops that repeat a select number of times.
Global Variable - ANSWER-A variable defined outside all functions and is accessible to
all functions in its scope.
GUI - ANSWER-An icon based interface that the user can interact with.
"A program contains the following statements:
x= grade
If x >90:
print ("You are an A student!")
What action will the program take when x=89?" - ANSWER-Nothing will print.
Accessibility - ANSWER-a program that let's disable people connect to devices
Algorithm - ANSWER-A predefined procedure that aims to solve a problem or complete
a task. It takes into account specific circumstances and has varying courses of action
for each.
An interpreter or compiler converts data into which numerical value? - ANSWER-Binary
Array - ANSWER-A data structure with one, or more, elements of the same type.
ASCII Code - ANSWER-System in which each English character is assigned a
numerical code ranging from 0 to 127.
Assembler - ANSWER-A program that converts basic, low-level instructions into
machine code.
Binary - ANSWER-a code that turns the English numbers into "0" and "1"
Binary Alphabet - ANSWER-a code that turns the English alphabets into "0" and "1"
Binary Number System - ANSWER-Base2
Bit - ANSWER-a code that is the smallest unit that only uses "0" and "1"
Boolean - ANSWER-One of two values: TRUE or FALSE. It is often used to control an
object's visibility in object-oriented programming (OOP).
Branch Program Flow Control - ANSWER-A flow diagram that has multiple paths that
the user can take.
Bug - ANSWER-a malfunction
Byte - ANSWER-a way to measure data
Case - ANSWER-An if statement with multiple outputs.
Code - ANSWER-a command for computers to run
, Compile - ANSWER-To convert the code into instructions before the program runs.
Computer Program - ANSWER-Any software that runs on top of the operating system.
Conditional - ANSWER-Evaluates the validity of one or more conditions and then
executes one or more commands, whose nature depends now which condition is valid.
CPU - ANSWER-The "brain" of the computer that carries out all of the tasks and
operations of a computer.
Data - ANSWER-information that is saved
Date/time Variable - ANSWER-Variables that are used to store the date and time. It is
often used as a way of time-stamping when something was done or achieved.
Debug - ANSWER-A process that aims to locate the exact source of bugs (i.e. errors or
flaws) in the code.
Debugging - ANSWER-fixing a bug
Decimal - ANSWER-A data type that has a "." in it (e.g. 2.27).
Decimal Number System - ANSWER-Base10
DNS - ANSWER-a program that remembers websites
Documentation - ANSWER-Text written in normal language that describes software; it
consists of comments found directly in the code as well as separate documents that
describe the overall program.
Event Handler - ANSWER-A function that is called when a certain event occurs.
Examples of these include button.onclick and window.onload.
Execute - ANSWER-To run a program or a set of instructions given to a computer.
Flowchart - ANSWER-A diagram used to describe algorithms and the structure of
programs and programming languages. It consists of boxes that represent specific
objects or steps and arrows and lines to represent the relationship between them.
For Loop - ANSWER-Loops that repeat a select number of times.
Global Variable - ANSWER-A variable defined outside all functions and is accessible to
all functions in its scope.
GUI - ANSWER-An icon based interface that the user can interact with.