Programming for Computing 07 - 08

Chapter: Contents,index, admin etc

Module Admin   Contents, Index   Schedule  
1: Intro to VB    2: First Program and Projects    3: Variables, assignment, Strings    4: Type Conversion, InputBox, Constants    5:Built-in Functions    6: If - decisions    7: Loops - while, for    Example - find smallest    8: Scopes: local, global    9: Writing Procedures.Parameters, Functions   
10: Objects    11: Design    12: Testing    13: Graphics    14: Controls and events    15: Listboxes    16: Arrays    17: Files    18: The Command Line   

Appendices(links etc)   Additional Lectures    Tutorials (not in printed notes)     Selected solutions (not in printed notes)     Assignments    Additions and Errata   

new

The  schedule page has info on what we will do each week.

Detailed Contents of Notes

  1. Intro to VB   general intro
  2. First Program and Projects  Creating/saving projects, editing program, the message box, button, label, using vb at home, or with wi-fi.
  3. Variables, assignment, Strings   Declaring variables (Dim), Integer and Double (decimal), Strings, variable names. using ' for comments, using = for assignment, F8/F11 key for debugging, AppendText to a text box, VbCrLf, operators + - * / \ Mod
  4. Type Conversion,Input Box, Constants   as it says...
  5. Built-in Functions (sqrt, etc),   String functions, Math functions, random
  6. If - decisions   If/else/endif, less-than etc, and or not, elseIf, nested If, boolean type
  7. Loops - while, for   While, For, nested loops, End.
  8. Scopes: local, global   local/global variables, initialising them in Form_load
  9. Writing Procedures.Parameters, Functions   calling, defining them, passing parameters, functions-returning - value or reference parameters

  10. Intro to objects and UML   What is an object, get/set properties, UML class diagrams.
  11. Design   Top-down, bottom-up, event-driven, object-oriented, structure charts, XP-Extreme Programming.
  12. Testing   Alpha, beta, black box, white box, equivalence partitioning, who does what, automated testing.
  13. Drawing shapes  Line, Circle, colours, Pen, animation
  14. Controls and Events  About the controls. Using text boxes, buttons, labels, options etc
  15. Listboxes   Inserting, deleting items etc
  16. Arrays   Declaring, using arrays and loops, 2-dim arrays.
  17. Files   opening/closing files, reading/writing strings, finding out about files etc, writing a simple editor, more message boxes and dialogs.
  18. Command line   The dos prompt, the cd and dir commands etc. Writing command-line programs with VB, scripting, output redirection

Module Admin   Contents, Index