Class 18, Monday, February 26
We know you can
You are ready now – For problem solving prowess – Your best will be shown
Look both ways
Agenda
- Show your abilities
Notes
- You can answer the questions in any order you want
- I suggest you do things the easiest way possible.
- You are allowed to submit multiple times. When you do, the previous copy is overwritten.
- My download files do imports and define urls for you.
Terminology
- i.e. means that is.
- e.g. means for example.
- Increment means add.
- Decrement means subtract.
- The additive inverse of a number x, is –x.
- The value of x / y is called a quotient.
- A number x is evenly divisible by a number y, if the remainder of x divided by y is zero. The % is the Python remainder operator.
- The terms dataset and table are synonymous. They are lists of lists. The standard view is they are lists of rows, where each row is a list of column values. The individual column values are called cells.
Test resources
Important
- Remember the University accepted you because you are an outstanding student.
- To make things go smoother, you are strongly encouraged to submit as you go along.
- There are no intended trick questions. Each program has a straight-forward answer (e.g., my programs all together had less than fifty lines of code).
- All programs have the same worth, so do them in the order that you find them easiest. They are asked in the order, that I thought would be easiest.
- Do not leave the room without checking that all of your submissions have been correctly uploaded. Late submissions will not be accepted, so please do not ask.
- Programs should demonstrate proper programming style; e.g., header comments, whitespace, identifier naming, etc.
- Whether a program compiles (that is, no syntax errors) is important.
- Remember the University accepted you because you are an outstanding student.
Test rules of conduct
- This pledged exam is closed notes. The only device you may access during the test is your laptop.
- Do not access class examples, web solutions, or your own past assignments during the test; that is, the only code you may access or view are ones that you develop for this test.
- PyCharm only be used for program submissions; that is, it cannot be used for short answer questions.
- The only windows to be open on your computer are PyCharm, and a single browser with tabs linked from the class website.
- Uploading after you leave the room means you are withdrawing from the class.
Downloads
- Program egypt.py
- Program possum.py
- Program snake.py
- Program stranded.py
- Program webster.py
Warning: fopen(/l/cs1112/public_html/defs/htm/181-trailer): Failed to open stream: No such file or directory in /l/cs1112/public_html/defs/php/read.php on line 5
Unable to open file!