Introduction to Computer Programming

From the study guide

Course Outline

  1. Computer Programming Foundations
  2. Literal Computer Behavior
  3. System and Application Programs
  4. Binary and Machine Language
  5. Three Programming Language Levels
  6. Translators and Source Code
  7. Compilation and Interpretation Paths
  8. Precise Instructions and Responsibility

1. Computer Programming Foundations

Key Concepts & Definitions

  • Computer: A machine that stores data and carries out instructions on it exactly as given.
  • Program: A complete set of instructions that tells a computer how to do one job.
  • Programmer: The person who decides what the instructions are and is answerable for what they do.
  • Instruction: One single command inside a program.

Memory Hook

Machine speed, human thinking

2. Literal Computer Behavior

★ Must-know

📌 A computer obeys literally, follows instructions in order unless told to jump, and never guesses what an unclear instruction means.

📌 An instruction can be carried out only when it has one single definite meaning, so phrases such as “buy some rice” or “charge a fair price” must be made precise before a computer can act on them.

Further detail

Read the full study guide →

Practice quiz preview

1. What is the primary role of a computer in relation to data and instructions?

2. Which statement best distinguishes a program from an individual instruction?

3. A program receives the instruction “charge a fair price” without defining what “fair” means. What must happen before the computer can carry out the instruction?

Take the quiz (11 questions) →

Flashcard preview

What is a computer?

A machine that stores data and carries out instructions exactly as given.

Who is a programmer?

The person who decides instructions and is answerable for their actions.

How does a computer follow instructions by default?

It follows instructions in order unless told to jump.

What must be true for a computer to carry out an instruction?

The instruction must have one single definite meaning.

Computer Definition

Machine that stores and executes instructions.

Program

Set of instructions for a specific task.

See all 11 flashcards →

Frequently asked questions

What does the Introduction to Computer Programming study guide cover?

It covers the core concepts of Introduction to Computer Programming, organized by topic with the key definitions, explanations and takeaways, so it's easier to learn and remember.

Read the full study guide →

How many questions are in the Introduction to Computer Programming quiz?

The practice quiz has 11 multiple-choice questions, each with an explanation. Use it to check what you know and find your gaps.

Take the quiz (11 questions) →

How do I study Introduction to Computer Programming with flashcards?

There are 11 flashcards on Introduction to Computer Programming, with a question on the front and the answer on the back. Try to recall each answer before you flip, and let spaced repetition bring back the ones you miss.

See all 11 flashcards →

Related classes

Turn your own class notes into a study guide

Upload a PDF or paste your notes. Revizly writes a study guide, a practice quiz and flashcards in about a minute.