stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Coding I Review Flashcards | StudBud
Explore
/
Coding I Review
Coding I Review
54 terms
·
StudBud Administration
·
84 plays
An EOC Review
Flashcards
54 cards
F
Practice quiz
P
Host live
L
Questions
54
Answers
1
What is function another name for?
sub class
variable
reference
method
2
What mathematical operator is used to raise five to the second power?
MOD
^
~
/
3
Which loop repeats as long as the Boolean expression is false?
Do-While
Do-Until
While
For
4
What symbol is used to mark the beginning and end of a string?
"
'
!
?
5
What are the functions that the object performs called?
methods
addresses
fields
records
6
Which operator could be used, in some situations, to simplify nested selection structures?
None of the these
AND
NOT
OR
7
Programs that make a computer useful for everyday tasks are know as _________________.
Applications Software
Utility Programs
System Software
Operation Software
8
The value of the expression 12 - 4 * 3 / 2 + 9 is _______.
15
21
-6
2.18
9
A loop that accumulates a total as it reads each number from a series is often said to keep __.
Average
Maximum value
Running total
Accumulation
10
Which of the following operators reverses the logic of its operand?
NOT
AND
All of the above
OR
11
What does an interpreter do with the instructions in a high-level programming language?
Translates and Executes
Complies
Translates
Compiles and Translates
12
Which of the following is not an actual programming language?
Python
C++
Visual Basic
Pseudocode
13
Which operator is used to determine that the operands are not exactly of the same value?
==
None of the these
=
=!
14
Which structure causes a statement or set of statements to execute repeatedly?
Decision
Start Over
Repetition
Sequence
15
10101100111 is an example of an instruction written in which computer language?
C#
Assembly language
Machine language
Alice
16
What is the first step of the program development cycle?
Design the program
Write the code
Test the code
Debug the code
17
The _________ is a diagram that graphically depicts the steps that take place in a program.
Pseudocode
Algorithim
Flowchart
Program
18
Which loop does not contain an increment statement but automatically increments?
Do-Until
While
Do-While
For
19
Which method is called automatically when an object is created?
private
design
public
constructor
20
Which operator is best to determine whether x contains a value in the range of 10 through 57?
OR
NOT
==
AND
21
Which of the following is not the appropriate structure to use to program the statement below?
control
decision
sequence
selection
22
What type of operator is used to determine if a relationship exists between two values?
mathematical
relational
logical
boolean
23
Which error produces incorrect results but does not prevent the program from running?
syntax
semantics
logic
grammar
24
A ______ structure is a set of statements that execute in the order they appear.
control
repetition
sequence
decision
25
How many times will the following loop iterate?
Infinite
4
3
5
26
Methods are commonly called what?
procedures
functions
subrountines
modules
27
The class ____ starts with the word Class followed by the name of the class
definition
body
return
members
28
What loop uses a Boolean expression to control the number of times it repeats?
Count-controlled
Do-While
While
Condition-controlled
29
How many times will the following loop iterate?
infinite
two
no iterations
three
30
What part of a function specifies the return data type, name of the function, and parameter?
header
statement
body
definition
31
What is the term used for the variable that receives an argument that passed into a method?
local
constant
parameter
global
32
What type of expression is a condition?
logical
mathematical
boolean
relational
33
The mutator methods are sometimes called ____________.
public
setters
getters
private
34
What type of programming encapsulates data and functions together in an object?
Object-oriented
Procedural
Interactive
Menu-driven
35
var rate = 10; is an example of what type of statement?
output
assignment
declaration
input
36
What is the informal language used to create models of programs?
flowchart
algorithm
pseudocode
program
37
What is the standard way of drawing diagrams that describe object-oriented systems.
Data flow diagram
Flowchart
Hierarchy chart
UML
38
_________ is another name for accessor methods.
setters
accessors
getters
private
39
What part of a program contain both properties and actions?
Events
Memory location(s)
Objects
Instances
40
What is the name that represents a value that cannot be changed during the program's execution?
uninitialized variable
named constant
input variable
named variable
41
What is the term used for a set of rules that must be strictly followed when writing code?
key words
syntax
grammar
semantics
42
Which of the following is not an example of operating system software?
Ubuntu
Microsoft PowerPoint
Linux
Windows 7
43
What allows a new class to extend all its properties and methods to an existing class?
Inheritance
Polymorphism
Constructor
Private
44
A case structure is a ______ alternative decision structure.
single
single or dual
dual
multiple
45
Which loop is specifically designed to initialize, test, and increment a counter variable?
do-unitl
do-while
while
for
46
Which of these are post test loops?
Do-While, Do-Until
Do-Until, For
While, Do-While
Do-While, For
47
What type of operators are the following?
boolean
mathematical
logical
relational
48
What value is used to mark the end of a list of values? (Used to exit a loop)
End
Flag
Sentinel
Stop
49
Which loop causes a statement or set of statements to repeat as long as a condition is true?
Do-While and For
While and Do-Until
While and Do-While
Do-Until and For
50
The following is an example of what type of loop?
While
Count-controlled
Do-Until
Condition-controlled
51
What type of programming centers on procedures that take place in the program?
procedural
menu-driven
interactive
object-oriented
52
To decrease the value of a variable means to _______.
Decrement
Initialize
Reference
Negate
53
How many times will the following loop iterate?
inifinite
one
No iterations
five
54
How do you execute a method?
Debug
Parse
Compile
Call