Information Technology 11/12 (Mr. Calzavara)

Taking control of the computer! Learn to code.

Oct 10-13 : Create the Pizza ordering program -minimum 3 radiobuttons for sizes, 6 checkboxes for toppings, a combobox for name/address information, a static label with the price, a button to quit, a button to clear the form back to a standard pizza, a button that calculates and updates the price (based on size and # of toppings), 2 ‘preset’ buttons for ordering Hawaiian or Meat-lover specials, and an ORDER button that prints the ingredients to the screen, and pops up the billing info in a messagebox.

Oct 2-6 :  Windowed programs and their elements – event driven programming. Modify the Calculator program given here :CalcExample4 :  to include a squareroot button , timesNumb, divNumb and SIN that works with domain checking (can’t divide by zero etc.)

Sep. 25-29 : Basic math functions, IF and IF-ELSE construct, calculate triangles, marks average and lettergrade, and create a subprogram to accept numeric only input in a given range, with a variable prompt message

Sep. 18-22 : Refine ttt game with new controls, error checking, documentation and more generalization. What would a 3 player game on a bigger grid look like? How can we re-write some of our smaller functions to take different parameters, and become more generalized?

Sep. 11-15 : Create new programs by editing and adding to old ones – use polygons to make a house, make multiple houses on a street. Add range checking to the house and street to limit sizes and numbers.  More turtle control – penup/down, setposition to draw anything anywhere on the screen. Adding commands to get input from the user in pop-up boxes (yes/no, multiple choice, typed response?) and building up the logic of a tictactoe style game.

Sep. 7-8 :  How does the computer store numbers, text, sound, pictures etc. ? The On/Off of binary digits (bits) combine in groups of 8 (byte) to represent numbers (from 0 to 255) using the binary number (e.g. 1011 = 1*8+0*4+1*2+1*1 = eleven in decimal). A single byte can represent an unsigned integer up to 255, or a signed integer from -128 to 127 (using the left bit as sign +/- and two’s complement inversion). A double byte unsigned integer ranges from 0 to 65536 (2^16 power). Representing floating point (decimal point ) numbers uses a kind of scientific notation approach, with bits for the sign of the number, sign of the exponent, size of the exponent and the number.
Numbers can also be used to represent the colours of pixels in  a picture, the volume or frequency of a sound, or all the characters on the keyboard (ASCII codes the number 97 as lower-case ‘a’ ).

Started FMSLogo programming – basic turtle control and repeat to draw polygons in any size, limiting the variables with IFELSE and popping up a messagebox if the numbers are excessive (minimum 3 sides, maximum ? and minimum and maximum side length also).

ADST 11 Computer Programming

Fall 2017- Mr. Calzavara

 

Goals

This course is meant to give you to the knowledge and skills to program in a variety of environments.

 

You will learn a variety of programming languages, and the strategies to design, create, document and test programs for a wide range of problems. Naturally we will be using the internet extensively and most of your time will be spent working independently on tasks. You are responsible for keeping yourself focused on the tasks and not using the internet or the computer for any other purpose.

 

You will also be responsible for maintaining the security of your computer account, school assigned Google account, and all files stored on your network drive or memory sticks. All of these are to be used for school activities only, other files may be removed without prior notice.

 

You should also refer to the Acceptable Internet Use Form.

 

Evaluation

Tests     15% Assignments – long and short projects 85%

 

Projects and assignments will be marked according to a rubric supplied in advance. The first test will be preceded by a sample test so that students know what to expect in format and content.

 

Students absent for tests must make-up the test as soon as possible upon return to school (usually the next day).

 

Topics  These topics will be revisited repeatedly in each programming environment, to varying degrees.

 

  1. Problem research, definition, design and pseudo coding
  2. Programming language constructs – input/output, decisions, control
  3. Data representation
  4. Coding documentation, internal and external
  5. Coding Test data and code tracing
  6. Coding Tools, IDEs and libraries

 

Approximate Timeline

Sep – Logo Oct – Small Basic and Visual Basic Nov – Visual Basic Dec – Javascript Jan – C++