stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Coding Fundamentals Flashcards | StudBud
Explore
/
Coding Fundamentals
Coding Fundamentals
30 terms
·
StudBud Administration
Imported from external platform
Flashcards
30 cards
F
Practice quiz
P
Host live
L
Questions
30
Answers
1
Binary code is how computers send, receive, and store information.
False
True
2
A loop
repeats a sequence of commands
is one line of code
performs a specific task when called
is a selection control structure
3
A function
repeats a sequence of commands
is a selected line of script
is one line of code
performs a specific task when called
4
What symbol is used when assigning a value to a variable?
.
-
+
=
5
A variable can be called or referenced before it has been defined.
True
False
6
How does the computer use a selection control structure to decide which path to follow?
By repeating the code until a requirement is met
Randomly
By guessing which requirements work best
By determining which requirements have been met
7
When code is compiled it
runs slower
is made into a smaller version
is read directly from the program
is converted into binary code
8
Variables are used to store information that will be referenced and manipulated in a computer program.
False
True
9
Which of the following describes the Define phase of the programming process?
Write the code
Funnels code into the CPU
Correct any errors
Determine the problem
10
A programmer needs to understand sequencing to determine whether the order of steps will affect the outcome of program.
True
False
11
A = 250; B = 325. Which of the following statements is true?
A == B
A > B
A >= B
A <=B
12
Decomposition is
a set of steps that follow one another in order
a design flaw in the program
breaking a problem into smaller parts
a list of steps to complete a task
13
Which of the following are skills you need to be successful in coding?
Problem-solving
Efficiency
Independence
All the Above
14
An event is
a sentence the provides information
a word that is open for interpretation
a procedure that is used on start up.
an action that occurs as a result of a user's action or another source
15
An operator is a symbol that tells the computer:
All of the above
To shut down
What task to perform
To complete an equation
16
Boolean values are:
All the Above
Yes/No
Left/Right
True/ false
17
A conditional statement is a statement
that allows the computer to choose between different paths in a program
is only executed when the code has been run more than one time
that is only used when there are multiple conditions that must be met
that only appears when called and is then executed
18
A statement is
a control structure
a one-word instruction that has assigned meaning
a sentence
all other elements of a command
19
What job does a back-end developer perform?
Handles what happens behind the scenes on websites
Handles what users see and experience on websites
Writes code for video games.
Evaluates a computer systems vulnerabilities.
20
Which of the following are reasons control structures are used?
All of the above
To save time
To make code easy for others to follow
To make code clear
21
A command is
an order you give the computer verbally
a word that is open for interpretation.
a one-word instruction that has been assigned meaning.
a sentence the provides information
22
An event handler is
“a word that is open for interpretation"
"a sentence the provides information."
"a procedure used to deal with events."
“an action that occurs as a result of user interaction."
23
How are logical operators used?
To determine errors
To create a plan
To make decisions
To correct errors
24
Which of the following is NOT a control structure used in coding?
Repetition
Sequential
Selection
Differential
25
A ?? control structure is used to reduce the # of lines of code for an action that will need to be repeated many times.
Selection
Differential
Sequential
Repetition
26
A sequence is
a set of steps that follow one another in order
a design flaw in the program
a set of steps to complete a task
breaking a problem into smaller parts
27
If A = 5 and B = 10, what is A * B equal to?
2
5
15
50
28
When code is interpreted it
runs slower
is made into a smaller version
is used to perform actions
is read directly from the program
29
An algorithm is
a set of steps to complete a task
a programming language for the internet.
a design flaw in the program
An algorithm is a set of instructions designed to perform a specific task.
30
Coding is
a set of instructions given to a computer
writing a program in a specific language
the computer specifying instructions to the user
the language computers use to communicate