1. Home
  2. Explore
  3. Computer Science
  4. Computer Science and Problem Solving

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computer Science and Problem Solving

  • 54Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Problem Solving
Computer Science is described as a
for solving problems.

54 questions

  1. 1
    Computer Science is described as a
    _____
    for solving problems.
    Hint

    Think of a container holding useful tools and ideas.

    Answer

    toolbox

  2. 2
    The ideas in the Computer Science toolbox are used to solve
    _____
    problems.
    Hint

    These are problems encountered outside abstract theory.

    Answer

    real life

  3. 3
    In 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

  4. 4
    After 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

  5. 5
    In this problem-solving model, the output is the
    _____
    and result we want.
    Hint

    It is the intended outcome of solving the problem.

    Answer

    goal

  6. 6
    Problem 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

  7. 7
    The computer is made of electronic components called
    _____
    .
    Hint

    These tiny components function like switches inside a computer.

    Answer

    transistors

  8. 8
    A computer contains
    _____
    of transistors.
    Hint

    The quantity is an extremely large number, on the scale of thousands of millions.

    Answer

    billions

  9. 9
    A transistor has two possible states:
    _____
    or OFF.
    Hint

    It is the state in which the switch allows current to pass.

    Answer

    ON

  10. 10
    When a transistor is ON, it allows
    _____
    to pass.
    Hint

    This is the electrical flow that the transistor controls.

    Answer

    current

  11. 11
    When a transistor is OFF,
    _____
    does not pass through it.
    Hint

    It is the electrical flow blocked by the OFF state.

    Answer

    current

  12. 12
    The state of a transistor with current is represented by the digit
    _____
    .
    Hint

    It is the binary digit associated with the ON state.

    Answer

    1

  13. 13
    The 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

  14. 14
    A
    _____
    represents the state of one transistor, indicating whether current is present.
    Hint

    Its name refers to a single unit of binary information.

    Answer

    bit

  15. 15
    Computers 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

  16. 16
    One transistor can represent
    _____
    distinct possibilities.
    Hint

    Count its two states: ON and OFF.

    Answer

    two

  17. 17
    Two 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

  18. 18
    Three transistors can form
    _____
    distinct combinations.
    Hint

    Adding a transistor doubles the number of available combinations.

    Answer

    eight

  19. 19
    Each 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

  20. 20
    The 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

  21. 21
    In the coin analogy,
    _____
    coins have four possible outcomes.
    Hint

    The number of outcomes doubles from the one-coin case.

    Answer

    two

  22. 22
    To represent more data using transistors, the computer needs
    _____
    transistors.
    Hint

    More components create additional ON/OFF combinations.

    Answer

    more

  23. 23
    Binary numbers are made using the two digits
    _____
    and 111.
    Hint

    It is the digit paired with 1 to represent OFF and ON states.

    Answer

    000

  24. 24
    The word “binary” refers to the use of
    _____
    digits.
    Hint

    The prefix “bi” means this number.

    Answer

    two

  25. 25
    When checking for the next binary combination, begin with the
    _____
    bulb.
    Hint

    The counting rule starts at the end opposite the left side.

    Answer

    rightmost

  26. 26
    If 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

  27. 27
    If 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

  28. 28
    When 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

  29. 29
    When 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

  30. 30
    A 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

  31. 31
    The greatest decimal value representable with nnn bulbs is given by
    _____
    .
    Hint

    There are 2n2^n2n combinations, numbered starting from zero.

    Answer

    2n−12^n - 12n−1

  32. 32
    With three bulbs, the number of possible combinations is
    _____
    .
    Hint

    Use 2n2^n2n with n=3n = 3n=3.

    Answer

    8

  33. 33
    With four bulbs, the greatest decimal value representable is
    _____
    .
    Hint

    Apply the maximum-value rule 2n−12^n - 12n−1 with four bulbs.

    Answer

    15

  34. 34
    With three bulbs, the all-OFF binary pattern 000000000 represents
    _____
    .
    Hint

    Each OFF bulb contributes a binary digit of 0.

    Answer

    0

  35. 35
    With three bulbs, the binary pattern 001001001 represents decimal
    _____
    .
    Hint

    Only the rightmost bulb is ON.

    Answer

    1

  36. 36
    With three bulbs, the binary pattern 010010010 represents decimal
    _____
    .
    Hint

    This pattern is the next combination after 001001001.

    Answer

    2

  37. 37
    With three bulbs, the binary pattern 011011011 represents decimal
    _____
    .
    Hint

    It follows 010010010 in the counting sequence.

    Answer

    3

  38. 38
    With three bulbs, the binary pattern 100100100 represents decimal
    _____
    .
    Hint

    This is the first pattern after all two-bulb combinations have been used.

    Answer

    4

  39. 39
    With three bulbs, the binary pattern 101101101 represents decimal
    _____
    .
    Hint

    It comes directly after 100100100 in the counting sequence.

    Answer

    5

  40. 40
    With three bulbs, the binary pattern 110110110 represents decimal
    _____
    .
    Hint

    It follows 101101101 after the rightmost bulb switches OFF and the bulb to its left switches ON.

    Answer

    6

  41. 41
    With three bulbs, the all-ON binary pattern 111111111 represents decimal
    _____
    .
    Hint

    It is the last combination available with three bulbs.

    Answer

    7

  42. 42
    With four bulbs, the binary pattern 100010001000 represents decimal
    _____
    .
    Hint

    It is the first value represented after the three-bulb patterns run from 0 through 7.

    Answer

    8

  43. 43
    With four bulbs, the binary pattern 100110011001 represents decimal
    _____
    .
    Hint

    It is the combination immediately after 100010001000.

    Answer

    9

  44. 44
    With four bulbs, the binary pattern 101010101010 represents decimal
    _____
    .
    Hint

    It follows 100110011001 in the counting sequence.

    Answer

    10

  45. 45
    With four bulbs, the binary pattern 101110111011 represents decimal
    _____
    .
    Hint

    It comes immediately after 101010101010.

    Answer

    11

  46. 46
    With four bulbs, the binary pattern 110011001100 represents decimal
    _____
    .
    Hint

    It is the next combination after 101110111011.

    Answer

    12

  47. 47
    With four bulbs, the binary pattern 110111011101 represents decimal
    _____
    .
    Hint

    It follows 110011001100 in the counting sequence.

    Answer

    13

  48. 48
    With four bulbs, the binary pattern 111011101110 represents decimal
    _____
    .
    Hint

    It is the combination immediately before all four bulbs are ON.

    Answer

    14

  49. 49
    With four bulbs, the all-ON binary pattern 111111111111 represents decimal
    _____
    .
    Hint

    It is the final combination available with four bulbs.

    Answer

    15

  50. 50
    When 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

  51. 51
    The 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

  52. 52
    A 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

  53. 53
    In the content, machine code consists of the digits
    _____
    and 111.
    Hint

    These are the two binary digits understood by the computer.

    Answer

    000

  54. 54
    Machine 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

1 of 54
Question 1 of 54

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent