1. Home
  2. Explore
  3. Computer Science
  4. Introduction to Programming

Study methods

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

Introduction to Programming

  • 76Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Computers and Functionality
Unlike most single-purpose machines, computers can be given instructions to perform
different types of tasks.

76 questions

  1. 1
    Unlike most single-purpose machines, computers can be given instructions to perform
    _____
    different types of tasks.
    Hint

    Think about the flexibility that distinguishes computers from old-fashioned cars and sewing machines.

    Answer

    many

  2. 2
    An old-fashioned car engine primarily performs the task of using fuel to move the pistons and
    _____
    the car.
    Hint

    The pistons transfer energy to make the vehicle move.

    Answer

    power

  3. 3
    Once the settings of an old-fashioned sewing machine are set, it is primarily designed to perform the task of
    _____
    .
    Hint

    The machine moves the needle and fabric to accomplish this activity.

    Answer

    sewing

  4. 4
    Browsing the web, using the Canvas app, and streaming a video are all examples of different
    _____
    that a computer can perform.
    Hint

    These are activities carried out by the computer.

    Answer

    tasks

  5. 5
    When streaming a video, a computer receives data in separate
    _____
    before displaying the video and playing its audio.
    Hint

    Networked information is divided into small units for transmission.

    Answer

    packets

  6. 6
    A smartphone is considered a computer because installing apps can give it new
    _____
    .
    Hint

    Apps expand what the device is able to do.

    Answer

    functionality

  7. 7
    Modern cars, sewing machines, and pipe organs may contain computers that
    _____
    the device.
    Hint

    The computer supplies instructions that operate the device.

    Answer

    control

  8. 8
    Even a single-purpose device may use a computer because this can be simpler than building a complicated electronic or
    _____
    device.
    Hint

    The missing term describes devices involving both electrical and mechanical systems.

    Answer

    electromechanical

  9. 9
    Programming is the act of creating a set of
    _____
    that gives a computer new functionality.
    Hint

    A program tells the computer what actions to follow.

    Answer

    instructions

  10. 10
    A program is a set of instructions that a computer can
    _____
    .
    Hint

    The computer carries out the instructions in sequence.

    Answer

    follow

  11. 11
    Running a program means that the computer follows its instructions in order to complete a
    _____
    .
    Hint

    Programs are created to accomplish something specific.

    Answer

    task

  12. 12
    Firefox, Chrome, the Canvas app, File Explorer, and video games are all examples of
    _____
    .
    Hint

    These are sets of instructions that computers can run.

    Answer

    programs

  13. 13
    The broad term for all kinds of different programs is
    _____
    .
    Hint

    This term includes applications and operating systems.

    Answer

    software

  14. 14
    An operating system such as Microsoft Windows, iOS, or Android is a piece of
    _____
    .
    Hint

    An operating system is itself a set of computer instructions.

    Answer

    software

  15. 15
    A program that lets a user type information into a form and click buttons demonstrates
    _____
    interaction.
    Hint

    The interaction involves actions performed by the person using the program.

    Answer

    user

  16. 16
    When a user submits a web form, the browser passes the typed information and button actions to the web
    _____
    .
    Hint

    The browser communicates with the computer that provides the website's services.

    Answer

    server

  17. 17
    A person who writes programs in order to make a computer perform a task is called a
    _____
    .
    Hint

    The word describes someone who programs.

    Answer

    programmer

  18. 18
    A programmer programs a
    _____
    so that a computer can perform a particular task.
    Hint

    This is the set of instructions created by programming.

    Answer

    program

  19. 19
    Computers receive information through electrical signals whose states are either
    _____
    or off.
    Hint

    Binary uses two possible signal states.

    Answer

    on

  20. 20
    The on-or-off states of electrical signals produce binary
    _____
    .
    Hint

    These are the basic units represented by 0 and 1.

    Answer

    digits

  21. 21
    Computers only understand
    _____
    directly.
    Hint

    This system represents information using two signal states.

    Answer

    binary

  22. 22
    Early computer programming required programmers to write instructions in
    _____
    .
    Hint

    This is the machine-readable representation of instructions.

    Answer

    binary

  23. 23
    Assembly languages were created to provide a slightly more
    _____
    way to write instructions than binary.
    Hint

    Assembly is easier for people to read than strings of ones and zeros.

    Answer

    human readable

  24. 24
    Assembly language is translated directly into
    _____
    before being fed into the computer.
    Hint

    The target form is the representation the computer directly understands.

    Answer

    binary

  25. 25
    One advantage of writing directly in binary is that the programmer knows exactly what the computer is doing because every instruction is entered
    _____
    by one.
    Hint

    The phrase describes manually specifying each instruction individually.

    Answer

    one

  26. 26
    The detailed control of binary or assembly can be useful when a program requires very specific
    _____
    .
    Hint

    This means improving performance or efficiency.

    Answer

    optimization

  27. 27
    A major disadvantage of binary and assembly programming is that useful tasks require writing a large amount of
    _____
    .
    Hint

    The programmer must manually specify many low-level operations.

    Answer

    code

  28. 28
    Programming languages are designed to be somewhat
    _____
    so that programmers can work more easily than with binary.
    Hint

    They use familiar words and are easier to remember.

    Answer

    human readable

  29. 29
    A programming language may consolidate many binary instructions into one easy-to-remember
    _____
    .
    Hint

    The term refers to an instruction written for the programmer's convenience.

    Answer

    command

  30. 30
    The process of converting human-readable programming instructions into binary instructions is called
    _____
    .
    Hint

    The programming language changes one representation into another.

    Answer

    translation

  31. 31
    A
    _____
    translates source code into an executable program that can be run.
    Hint

    This tool performs translation before the program runs.

    Answer

    compiler

  32. 32
    An
    _____
    reads code while the program is running and performs its instructions without compiling everything ahead of time.
    Hint

    This program translates and executes code live.

    Answer

    interpreter

  33. 33
    C, C++, Java, JavaScript, Node.js, and Python are examples of
    _____
    languages.
    Hint

    They are human-readable systems for writing computer instructions.

    Answer

    programming

  34. 34
    A programming language paradigm is a style or way of thinking about how programming languages can accomplish
    _____
    .
    Hint

    Paradigms organize programming approaches around particular kinds of problems.

    Answer

    certain tasks

  35. 35
    In object-oriented programming, the program is modeled as a collection of interacting
    _____
    .
    Hint

    This paradigm treats program components as entities that can interact.

    Answer

    objects

  36. 36
    In an object-oriented program, a button in an application can be represented as a button
    _____
    .
    Hint

    The application and its buttons are treated as program entities.

    Answer

    object

  37. 37
    Rather than listing only step-by-step instructions, object-oriented programming tells
    _____
    to interact with one another.
    Hint

    The paradigm focuses on entities and their relationships.

    Answer

    objects

  38. 38
    Within a program, an object is something that can be seen, touched, or
    _____
    .
    Hint

    The definition includes ways a program can work with an entity.

    Answer

    used

  39. 39
    All objects have
    _____
    that describe information associated with them.
    Hint

    A name is one example of this kind of object characteristic.

    Answer

    properties

  40. 40
    Objects can perform certain
    _____
    based on the instructions given to them.
    Hint

    These are things that an object is able to do.

    Answer

    functions

  41. 41
    A
    _____
    is a pattern used to create objects in object-oriented programming.
    Hint

    It defines the common structure and behavior for objects of a type.

    Answer

    class

  42. 42
    The programmer writes and defines a
    _____
    when working in an object-oriented programming language.
    Hint

    Objects are later created from this program structure.

    Answer

    class

  43. 43
    An object created from a class is called an
    _____
    of that class.
    Hint

    It is one particular example of the class pattern.

    Answer

    instance

  44. 44
    Creating an object from a class is called
    _____
    the object.
    Hint

    This term describes applying a class pattern to create one object.

    Answer

    instantiating

  45. 45
    A class defines the properties that every object of that class
    _____
    .
    Hint

    The class establishes shared characteristics.

    Answer

    has

  46. 46
    A class defines what every object of that class can
    _____
    .
    Hint

    This refers to the actions or functions available to the objects.

    Answer

    do

  47. 47
    A class defines how objects of that class can be
    _____
    with by other parts of the program.
    Hint

    The class controls which procedures outside code may request.

    Answer

    interacted

  48. 48
    In the teacher example, a teacher object may have a name and a list of classes as its
    _____
    .
    Hint

    These are pieces of information stored about the teacher.

    Answer

    properties

  49. 49
    An integrated development environment is a program that allows programmers to create, run, test, and
    _____
    a program.
    Hint

    This step prepares the final application for users.

    Answer

    build

  50. 50
    Before modern IDEs, programmers often used a basic
    _____
    to write their programs.
    Hint

    This tool allowed text entry but lacked many integrated development features.

    Answer

    text editor

  51. 51
    An IDE combines development activities into one enclosed piece of
    _____
    .
    Hint

    The IDE itself is a unified computer program.

    Answer

    software

  52. 52
    A graphical user interface allows users to see and interact with a program using devices such as a monitor, mouse, and
    _____
    .
    Hint

    This device is commonly used to enter typed input.

    Answer

    keyboard

  53. 53
    On a phone, a GUI allows users to interact with programs by
    _____
    items on the screen.
    Hint

    This is the common touch-screen action.

    Answer

    tapping

  54. 54
    A GUI is a
    _____
    of the program that provides visual interaction for the user.
    Hint

    It is one part of the complete program.

    Answer

    component

  55. 55
    An application is typically defined as a program with a graphical user
    _____
    .
    Hint

    The missing term completes the name of GUI.

    Answer

    interface

  56. 56
    A program that runs entirely through text on an old-fashioned terminal is not typically called an
    _____
    in this terminology.
    Hint

    The term is reserved for programs with a graphical user interface.

    Answer

    application

  57. 57
    Visual Basic makes it especially easy to create a
    _____
    .
    Hint

    This is the visual interface users see and interact with.

    Answer

    GUI

  58. 58
    A programmer's job is typically to create computer
    _____
    for company problems.
    Hint

    The programmer develops tools that address organizational needs.

    Answer

    solutions

  59. 59
    A programmer may create a tool that becomes part of a company's information system or
    _____
    .
    Hint

    This refers to the sequence of activities used by an organization.

    Answer

    workflow

  60. 60
    Programming requires solving a problem for all possible
    _____
    of that problem, not just one set of values.
    Hint

    Consider every possible example or occurrence of the problem.

    Answer

    instances

  61. 61
    The first step in the programming workflow is to meet with the people who will
    _____
    the program.
    Hint

    These people are the intended users of the tool.

    Answer

    use

  62. 62
    Before writing code, programmers should completely understand the problem and identify the missing
    _____
    that the software must provide.
    Hint

    These are the parts needed to fill the gap in the existing process.

    Answer

    pieces

  63. 63
    The workflow step that should occur before coding is to
    _____
    a solution to the problem.
    Hint

    Think before implementing.

    Answer

    plan

  64. 64
    Writing code without first planning the solution is informally called
    _____
    coding.
    Hint

    The term compares unplanned programming to roughing it in the Wild West.

    Answer

    cowboy

  65. 65
    After determining how the program should work, the programmer can
    _____
    the program.
    Hint

    This is the implementation step.

    Answer

    code

  66. 66
    After coding, the program must be
    _____
    to make sure it works correctly.
    Hint

    This step checks for errors and evaluates the program.

    Answer

    tested

  67. 67
    Alpha testing focuses on verifying that a program works internally and does not
    _____
    .
    Hint

    This type of testing checks basic technical correctness.

    Answer

    crash

  68. 68
    Beta testing focuses on whether the
    _____
    like the program and whether it solves their problems.
    Hint

    This testing involves the people for whom the program was created.

    Answer

    users

  69. 69
    The Software Development Life Cycle generally attempts to complete the development process with minimal
    _____
    .
    Hint

    Contrast this with Agile's repeated short bursts of development and testing.

    Answer

    repeating

  70. 70
    Agile development uses short bursts of work followed by testing, user feedback, and
    _____
    .
    Hint

    The process cycles through development and feedback multiple times.

    Answer

    repeating

  71. 71
    The final product is delivered after the programmer creates a solution, tests it, and makes sure the user
    _____
    what was made.
    Hint

    This describes user satisfaction with the solution.

    Answer

    likes

  72. 72
    Programming allows a computer to perform tasks based on instructions without building every capability into the computer's original
    _____
    .
    Hint

    The computer's built-in structure does not need to contain every possible function.

    Answer

    design

  73. 73
    Programming lets users turn a computer into a useful tool that can
    _____
    problems.
    Hint

    Programs provide methods for addressing tasks and challenges.

    Answer

    solve

  74. 74
    Without programming their own solutions, users are limited largely to other people's applications, programs, and the
    _____
    they are running.
    Hint

    This is the foundational software that manages interaction with the computer.

    Answer

    operating system

  75. 75
    The overall goal of learning Visual Basic is to make one's own
    _____
    and use the computer to solve problems.
    Hint

    These are computer-based tools created by the programmer.

    Answer

    solutions

  76. 76
    Programming allows a computer to be used at an entirely new
    _____
    by expanding its capabilities through software.
    Hint

    The phrase describes a greater degree of usefulness than simply running existing apps.

    Answer

    level

1 of 76
Question 1 of 76

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent