stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Code Combat L01-L03 Flashcards | StudBud
Explore
/
Code Combat L01-L03
Code Combat L01-L03
40 terms
·
StudBud Administration
·
23 plays
Imported from external platform
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
The use of plain language to represent the logic of an algorithm.
indent
body of loop
condition
pseudocode
2
Characteristics that all objects of a single type share.
property
string
type
argument
3
Computers generally execute programs from top to bottom.
True
False
4
A data type that is represented by true or false.
while loop
body of loop
keyword
boolean
5
The act of completing the action described by a code segment in the order in which it is given within a program.
execute
sequencing
comments
syntax
6
A sequence of characteristics that are enclosed by quotation marks.
type
argument
string
property
7
A special line of code that tells our computer to run a method.
object
call
method
argument
8
A set of instructions that an object can follow in order to perform an action. (ex: moveRight)
object
argument
call
method
9
In the line of code below, the letter A represents...
an object
a method
an argument
10
A whole number.
float
string
argument
integer
11
The act of finding and fixing problems within a program.
debugging
syntax
execute
sequencing
12
The descriptions added to a program that help programmers understand what a program does.
comments
execute
sequencing
syntax
13
A sequence of instructions to solve a problem.
program
code segment
statement
algorithm
14
A boolean expression that determines if a code segment runs.
condition
keyword
while loop
boolean
15
The act of a computer reading and completing a statement in a program.
comments
sequencing
syntax
execute
16
In the following method call, hero.say("Hi!"), ____________ is the method.
hero
"Hi!"
say
17
A word in a programming language that has special meaning.
keyword
body of a loop
while loop
pseudocode
18
The statements that are repeated in a while loop.
keyword
condition
boolean
body of a loop
19
Part of a method call that specifies how an action is performed.
type
property
string
argument
20
A control structure that is used to repeat a code segment while a condition is true.
condition
body of loop
pseudocode
while loop
21
Arguments are passed to method calls.
True
False
22
Comments in Python begin with //.
True
False
23
A set of instructions that tells the computer to do something.
algorithm
code segment
statement
program
24
Boolean values are not strings.
True
False
25
A group of statements that work together to perform a specific action.
algorithm
statement
code segment
program
26
What 3 things do you need when making your own while loops? (Choose 3 answers.)
condition
keyword
body of loop
boolean
27
The space that you need to put in front of statements.
keyword
indent
condition
body of loop
28
In the line of code below, the letter B represents...
a method
an argument
an argument
29
Text arguments have to be placed in brackets.
True
False
30
A program is also called software.
True
False
31
The only difference between those who find and fix errors in their programs and those who don't is persistence.
False
True
32
A line of code that tells our computer to perform a specific action.
statement
algorithm
program
code segment
33
Part of a method that specifies
how the action is performed
. (examples: the number 4 and the word attack)
method
object
argument
call
34
In the following method call, hero.MoveUp(3), ___________ is the object.
hero
moveUp
3
35
A set of values that all share the same characteristics.
argument
property
type
string
36
The rules of a computer language that govern how lines of code are written (ex: structure, capitalization, punctuation).
comments
syntax
sequencing
execute
37
In the line of code below, the letter C represents...
an object
an argument
a method
38
In the following method call, hero.say("Hi!"), ___________ is the argument.
"Hi!"
3
say
39
Loops are a way of repeating a sequence of code while a condition is true. (always checks condition before running)
True
False
40
Information that you can access and manipulate using methods, like a character or asset in your game. (ex: hero)
argument
method
object
call