Boolean Logic and Computational Thinkings
Arrays and ArrayLists
Strings and Substrings
Systems
Computer Systems
100
This is an ordered set of unambiguous, executable steps that defines a terminating process.
What is an algorithm?
100
Given an array arr[] of ints {3, 5, 4, 7}, what value is in arr[2]?
What is 4?
100
The two arguments to the relevant overload of the substring function represent these.
What are the starting index and the ending index?
100
Help files, online support and printed manuals are all methods of providing this type of documentation.
What is user-documentation?
100
ROM and RAM both types of this sort of memory.
What is primary (memory)?
200
NOT (TRUE OR FALSE)
What is the FALSE?
200
Given an ArrayList arr of ints {3, 5, 4, 7, 6, 9, 2}, what call would be made to return the value "7"?
What is "arr.get(3);"?
200
The first parameter in the substring method is ____ and the second parameter is ____ (inclusive or exclusive).
What are inclusive and exclusive?
200
Loss of medical records and cancellation of a hotel reservation unbeknownst to traveller are examples of this sort of issue.
What is an data loss?
200
This type of memory is used to speed up a computer system.
What is the cache?
300
A boolean operator that takes two values for input is a ____ operator; one that only takes a single input value is a ____ operator.
What are binary and unary?
300
To get the number of elements in an array, you use ____; to get the number of elements in an ArrayList you use ____. (Make sure to include parentheses where necessary)
What are "length" and "size()"?
300
"abcdefgh".substring(2, 4)
What is "cd"?
300
When transferring from one email system to a new one, this term is used in referring to the former system.
What is "legacy?"
300
For the purpose of transferring bit patterns, a machine’s CPU and main memory are connected by a collection of wires called this.
What is a BUS?
400
When a program includes an OR statement and the first input is true, or when it includes an AND statement and the first input is false, this happens, preventing the second statement's evaluation.
What is short-circuiting?
400
When constructing an ArrayList, you cannot use this type of variable for the ArrayList's type.
What is a primitive variable?
400
"abcdefgh".substring(2) + "hgfedcba".substring(5)
What is "cdefghcba"?
400
Dropbox, Google, Twitter and Facebook are examples of this sort of service.
What is Software as a Service (SaaS)?
400
This is the performance of several activities at the same time.
What is parallel processing?
500
!(T || (F && !T)) && (F || !F)
What is FALSE?
500
This is the primary reason one would use an ArrayList over an Array.
What is dynamic resizing? (Or the ability to add elements/remove elements/change size/etc.)
500
"adbcefg".substring(1, 3 * "abcd".indexOf("acbcd".substring(2)) + 1)
What is "dbc"?
500
A virtual, point-to-point connection through the use of dedicated connections and data traffic encryption is sometimes referred to as this.
VPN
500
This refers to the total amount of work the machine can accomplish in a given amount of time.
What is throughput?
M
e
n
u