Computer Science and Problem Solving
- 54Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
54 questions
- 1Computer Science is described as a_____for solving problems.
Hint
Think of a container holding useful tools and ideas.
Answer
toolbox
- 2The ideas in the Computer Science toolbox are used to solve_____problems.
Hint
These are problems encountered outside abstract theory.
Answer
real life
- 3In the problem-solving process described, the input given to the computer is the_____.
Hint
It is the challenge that the computer is meant to address.
Answer
problem
- 4After receiving input, the computer_____it before producing an output.
Hint
The computer does something with the input rather than merely passing it through unchanged.
Answer
processes
- 5In this problem-solving model, the output is the_____and result we want.
Hint
It is the intended outcome of solving the problem.
Answer
goal
- 6Problem solving applies ideas and techniques from Computer Science and_____to generate a result.
Hint
This abbreviation refers to the subject named in the training series.
Answer
DSA
- 7The computer is made of electronic components called_____.
Hint
These tiny components function like switches inside a computer.
Answer
transistors
- 8A computer contains_____of transistors.
Hint
The quantity is an extremely large number, on the scale of thousands of millions.
Answer
billions
- 9A transistor has two possible states:_____or OFF.
Hint
It is the state in which the switch allows current to pass.
Answer
ON
- 10When a transistor is ON, it allows_____to pass.
Hint
This is the electrical flow that the transistor controls.
Answer
current
- 11When a transistor is OFF,_____does not pass through it.
Hint
It is the electrical flow blocked by the OFF state.
Answer
current
- 12The state of a transistor with current is represented by the digit_____.
Hint
It is the binary digit associated with the ON state.
Answer
1
- 13The state of a transistor with no current is represented by the digit_____.
Hint
It is the binary digit associated with the OFF state.
Answer
0
- 14A_____represents the state of one transistor, indicating whether current is present.
Hint
Its name refers to a single unit of binary information.
Answer
bit
- 15Computers are said to understand zeros and ones because their transistors represent whether_____is present or absent.
Hint
The two binary digits correspond to two electrical states.
Answer
current
- 16One transistor can represent_____distinct possibilities.
Hint
Count its two states: ON and OFF.
Answer
two
- 17Two transistors can form_____distinct combinations of ON and OFF states.
Hint
Each transistor has two states, so consider the combinations made by both.
Answer
four
- 18Three transistors can form_____distinct combinations.
Hint
Adding a transistor doubles the number of available combinations.
Answer
eight
- 19Each time another transistor is added, the number of possible combinations_____.
Hint
The new transistor can be either ON or OFF for each existing combination.
Answer
doubles
- 20The coin analogy uses heads and tails to illustrate the two possible states of a_____.
Hint
The analogy compares a coin's two outcomes to an electronic component's two states.
Answer
transistor
- 21In the coin analogy,_____coins have four possible outcomes.
Hint
The number of outcomes doubles from the one-coin case.
Answer
two
- 22To represent more data using transistors, the computer needs_____transistors.
Hint
More components create additional ON/OFF combinations.
Answer
more
- 23Binary numbers are made using the two digits_____and 1.
Hint
It is the digit paired with 1 to represent OFF and ON states.
Answer
0
- 24The word “binary” refers to the use of_____digits.
Hint
The prefix “bi” means this number.
Answer
two
- 25When checking for the next binary combination, begin with the_____bulb.
Hint
The counting rule starts at the end opposite the left side.
Answer
rightmost
- 26If the rightmost bulb is OFF, turn it_____to form the next possibility.
Hint
An OFF bulb represents 0; changing it creates a new state.
Answer
ON
- 27If the rightmost bulb is ON, turn it OFF and turn ON the bulb immediately to its_____.
Hint
This is the direction in which the procedure moves after the rightmost bulb is already ON.
Answer
left
- 28When all bulbs are ON, all the combinations available with that number of bulbs have been_____.
Hint
No additional state remains with the current set of bulbs.
Answer
used
- 29When adding a new bulb to extend the count, first turn OFF all bulbs that are currently_____.
Hint
The old combination is cleared before the new leftmost bulb is set.
Answer
ON
- 30A new bulb is added to the_____of the existing bulbs.
Hint
This is the side opposite the end where the counting procedure begins.
Answer
left
- 31The greatest decimal value representable with n bulbs is given by_____.
Hint
There are 2n combinations, numbered starting from zero.
Answer
2n−1
- 32With three bulbs, the number of possible combinations is_____.
Hint
Use 2n with n=3.
Answer
8
- 33With four bulbs, the greatest decimal value representable is_____.
Hint
Apply the maximum-value rule 2n−1 with four bulbs.
Answer
15
- 34With three bulbs, the all-OFF binary pattern 000 represents_____.
Hint
Each OFF bulb contributes a binary digit of 0.
Answer
0
- 35With three bulbs, the binary pattern 001 represents decimal_____.
Hint
Only the rightmost bulb is ON.
Answer
1
- 36With three bulbs, the binary pattern 010 represents decimal_____.
Hint
This pattern is the next combination after 001.
Answer
2
- 37With three bulbs, the binary pattern 011 represents decimal_____.
Hint
It follows 010 in the counting sequence.
Answer
3
- 38With three bulbs, the binary pattern 100 represents decimal_____.
Hint
This is the first pattern after all two-bulb combinations have been used.
Answer
4
- 39With three bulbs, the binary pattern 101 represents decimal_____.
Hint
It comes directly after 100 in the counting sequence.
Answer
5
- 40With three bulbs, the binary pattern 110 represents decimal_____.
Hint
It follows 101 after the rightmost bulb switches OFF and the bulb to its left switches ON.
Answer
6
- 41With three bulbs, the all-ON binary pattern 111 represents decimal_____.
Hint
It is the last combination available with three bulbs.
Answer
7
- 42With four bulbs, the binary pattern 1000 represents decimal_____.
Hint
It is the first value represented after the three-bulb patterns run from 0 through 7.
Answer
8
- 43With four bulbs, the binary pattern 1001 represents decimal_____.
Hint
It is the combination immediately after 1000.
Answer
9
- 44With four bulbs, the binary pattern 1010 represents decimal_____.
Hint
It follows 1001 in the counting sequence.
Answer
10
- 45With four bulbs, the binary pattern 1011 represents decimal_____.
Hint
It comes immediately after 1010.
Answer
11
- 46With four bulbs, the binary pattern 1100 represents decimal_____.
Hint
It is the next combination after 1011.
Answer
12
- 47With four bulbs, the binary pattern 1101 represents decimal_____.
Hint
It follows 1100 in the counting sequence.
Answer
13
- 48With four bulbs, the binary pattern 1110 represents decimal_____.
Hint
It is the combination immediately before all four bulbs are ON.
Answer
14
- 49With four bulbs, the all-ON binary pattern 1111 represents decimal_____.
Hint
It is the final combination available with four bulbs.
Answer
15
- 50When writing code, a programmer does not need to manually convert it into zeros and ones because the computer does this_____.
Hint
The conversion happens without the programmer performing it by hand.
Answer
automatically
- 51The software program that converts code into machine code is called a_____.
Hint
It translates the code written by a programmer into a form the computer understands.
Answer
compiler
- 52A compiler converts the code a programmer writes into_____.
Hint
This is the form made from zeros and ones that a computer can understand.
Answer
machine code
- 53In the content, machine code consists of the digits_____and 1.
Hint
These are the two binary digits understood by the computer.
Answer
0
- 54Machine code is understood by the computer because the computer is a_____.
Hint
The answer is the kind of device named in the term “machine code.”
Answer
machine

Ask anything
We've read this whole study set, so questions about it get the best answers.