stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CSO Meeting #2 9/30/21 Flashcards | StudBud
Explore
/
CSO Meeting #2 9/30/21
What is the purpose of a variable?
73 % 8 =
CSO Meeting #2 9/30/21
12 terms
·
StudBud Administration
·
20 plays
yay
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
73 % 8 =
9
2
7
1
2
What is the purpose of a variable?
to perform mathematical operations
to store a value that can change
to store a value that cannot change
none of these
3
What is a boolean?
stores a word
stores a true or false value
stores a single character
stores a number
4
How many times does this loop iterate?
0
infinite loop
5
this code will not run
5
What is inheritance?
When one class imports another
When two classes are identical
When you receive coding knowledge from Mr. Gundlach
When one class derives properties from another
6
0010101 =
22
21
17
18
7
Which of the following is NOT a type of logic gate?
NAND
XNOR
XNAND
XOR
8
What is the purpose of an abstract class?
to simplify coding by "hiding" low-level commands
to provide a blueprint/guideline for subclasses
to provide a simpler way to instantiate objects
to make coding overly complicated and scare you away
9
What is an algorithm?
a programming language
a discrete math problem
a boolean statement
a series of steps to solve a problem
10
What is the value of index 2 of this string: "HELLO WORLD"
L
H
W
E
11
Which of the following is NOT a bitwise operator?
~
(
<<
!
12
What is an intractable problem?
a problem that can only be solved by a computer
a problem that requires advanced math
a problem with infinite solutions
a problem that cannot be solved efficiently by any algorithm