================================= Be-A-Computer: Programming Basics ================================= The purpose of these problems is to allow you to test your understanding of basic programming concepts. They should not take more than an hour to complete. You should do these warm-up exercises by hand. We provide files that will allow you to check your answers. To get started, run ``git pull upstream master`` to make sure you have the latest files. You can check your answers by running the Python program ``basics.py`` in ``pp/bac/`` Basic Concepts -------------- You can check your answers by running the Python program ``basics.py`` in ``bac1-3`` Warm-up exercise #1: What is the value of ``w`` after evaluating the following code? .. literalinclude:: bac/basics.py :lines: 2-5 Warm-up exercise #2: What is the value of ``c`` after evaluating the following code? .. literalinclude:: bac/basics.py :lines: 9-12 Warm-up exercise #3: What is the output generated by the following program? .. literalinclude:: bac/basics.py :lines: 16-22