Study guides · Stuff Every Programming Scout Should Know

Stuff Every Programming Scout Should Know: the Study Guide

Practice facts for the Programming merit badge. Not an official Scouting America credential. Grab a snack: this guide is the friendly version, with the answers explained and a groan-worthy joke waiting at the end of most cards.

Knowing Programming Scout saves you money, time and the occasional embarrassment.

▶ Play the game About this deck

Chapter 1: Computer Architecture

What is an algorithm?

Short answer: A step-by-step specification of a procedure

An algorithm is a step-by-step specification of a procedure that programming implements.

Groan of the day: That algorithm really knows the steps to success.

Sources: Computer programming

What does usability focus on?

Short answer: The ease with which a person can use the program

Usability is the ease with which a person can use the program for its purpose.

Groan of the day: Usability makes a program easy to use and easy to amuse.

Sources: Computer programming

What does maintainability measure?

Short answer: The ease of modifying a program later

Maintainability is the ease with which a program can be modified by present or future developers.

Groan of the day: Maintainable code is easy to keep up with.

Sources: Computer programming

What does conditional execution do?

Short answer: Checks for conditions and runs the appropriate statements

Conditional execution checks for certain conditions and executes the appropriate sequence of statements.

Groan of the day: Conditional execution decides if the condition is right.

Sources: Computer programming

The cheat sheet

The whole guide on one screen. Screenshot it, print it, stick it on the fridge.

  • A program is a sequence of instructions a computer follows to perform tasks.
  • An algorithm is a step-by-step specification of a procedure that programming implements.
  • High-level languages are more easily intelligible to humans than machine code.
  • Debugging is investigating and fixing problems in a program.
  • Normally the first step in debugging is to attempt to reproduce the problem.
  • Reliability measures how often a program's results are correct.
  • Robustness is how well a program anticipates problems due to errors.
  • Usability is the ease with which a person can use the program for its purpose.
  • Portability is the range of hardware and operating system platforms where code can run.
  • Maintainability is the ease with which a program can be modified by present or future developers.
  • Efficiency measures system resources a program consumes, like processor time and memory.
  • Readability is the ease with which a human reader can comprehend the purpose and flow of code.

Pop quiz

Think of your answer first, then peek.

  1. What do we call a sequence of instructions a computer can follow to perform tasks?
    • A program
    • A printer
    • A password
    Show the answer

    A program. A program is a sequence of instructions a computer follows to perform tasks.

  2. What does efficiency measure about a program?
    • How many colors it displays
    • The system resources it consumes
    • How many buttons it has
    Show the answer

    The system resources it consumes. Efficiency measures system resources a program consumes, like processor time and memory.

  3. What does C++ add to the C language?
    • A new keyboard layout
    • Faster internet
    • Object-orientation
    Show the answer

    Object-orientation. C++ adds object-orientation to C.

  4. What does conditional execution do?
    • Checks for conditions and runs the appropriate statements
    • Prints a random picture
    • Turns off the computer
    Show the answer

    Checks for conditions and runs the appropriate statements. Conditional execution checks for certain conditions and executes the appropriate sequence of statements.

  5. What does code refactoring aim to enhance?
    • Speaker volume
    • Readability
    • Screen brightness
    Show the answer

    Readability. Techniques like code refactoring can enhance readability.

Now make it stick

Read a chapter, then play the deck and see how much stuck.

This guide covers the 50 free cards. The other 9 are in the game for members.

▶ Play Stuff Every Programming Scout Should Know Find another deck Founding Members: spots are open

Teacher or trainer? It's free for teachers, and you can embed this deck on your own site.