Agendas

DateTopics/Activities
Tuesday
March 29
    Starters
  • Collect Homework (finishing classwork from Friday)
  • Quiz
    Main Activity
  • Reengineer Gradebook / Assignment Struct
      Files
    1. District/School
    2. Student
    3. Teacher
    4. Assignment
    5. Grade
    6. Department
    7. Course
    8. Meeting Time
    9. Class Lists
  • Parameter Passing
    some options: link file, field command line arguments, record data
  • Forms, Programs, Database

    Assignments
  1. Image file project deliverable next Friday April 1
  2. Image file project class presentations on Tuesday April 5.
  3. Past Due Assignments (References):
Thursday
March 24
    Starters
  • Review homework fTOCgrades.c (Version 1 and 2)
  • Warm-up: Tracing programs, processing command line arguments
    Main Activity
  • Introduction to the Image Processing Project - investigating image file formats.
  • Design Considerations for a GradeBook Database System, how we go from a single incomplete file structure to an operational (online) grade book system.
  • Connections from the grade book system to any other relational system

    Assignments
  1. Be prepared for a quiz on any of the basic file operations
  2. Image file project deliverable next Friday April 1
  3. Image file project class presentations on Tuesday April 5.
  4. Past Due Assignments (References):
  5. Read your reference for fread, fopen, fclose, fwrite, fseek and ftell.
  6. Organize examples of fread, fopen, fclose, fwrite, fseek, ftell.
  7. Add a call to ftell to one of your programs that processes files of structures (Such as fTOCgrades.c)
  8. Be ready for a file processing quiz on Thursday or Friday
Friday
March 25
    Starters
  • Overview: "Assignment System"
    Main Activity
  • File Processing Lab 4 - creating an output file from command line data
    some options: link file, field command line arguments, record data

    Assignments
  1. Complete lab 4 - it will be collected twice,
    At the end of class today and form last time on Tuesday March 29 at 8:00. All programs must be available on the workspace I shared with you on Cloud 9.
  2. Be prepared for a quiz on any of the basic file operations
  3. Image file project deliverable next Friday April 1
  4. Image file project class presentations on Tuesday April 5.
  5. Past Due Assignments (References):
  6. Read your reference for fread, fopen, fclose, fwrite, fseek and ftell.
  7. Organize examples of fread, fopen, fclose, fwrite, fseek, ftell.
  8. Add a call to ftell to one of your programs that processes files of structures (Such as fTOCgrades.c)
  9. Be ready for a file processing quiz on Thursday or Friday
Thursday
March 24
    Starters
  • Review homework fTOCgrades.c (Version 1 and 2)
  • Warm-up: Tracing programs, processing command line arguments
    Main Activity
  • Introduction to the Image Processing Project - investigating image file formats.
  • Design Considerations for a GradeBook Database System, how we go from a single incomplete file structure to an operational (online) grade book system.
  • Connections from the grade book system to any other relational system

    Assignments
  1. Be prepared for a quiz on any of the basic file operations
  2. Image file project deliverable next Friday April 1
  3. Image file project class presentations on Tuesday April 5.
  4. Past Due Assignments (References):
  5. Read your reference for fread, fopen, fclose, fwrite, fseek and ftell.
  6. Organize examples of fread, fopen, fclose, fwrite, fseek, ftell.
  7. Add a call to ftell to one of your programs that processes files of structures (Such as fTOCgrades.c)
  8. Be ready for a file processing quiz on Thursday or Friday
Tuesday
March 22
    Starters
  • Review homework fgrades.c (Version 3 and 4)
    Main Activity
  • Introduction to file formats - beyond the file extensions
    Example Image File Formats
  • Gain additional experience using networked resources (handout)
  • Expand fgrades.c program continuing an introduction to file processing using C in a Linux environment. File processing documentation will be handed out, along with class assignment.

    Homework: Due Thursday
  1. Complete fTOCgrades.c versions 1 and 2
  2. References:
  3. Read your reference for fread, fopen, fclose, fwrite, fseek and ftell.
  4. Organize examples of fread, fopen, fclose, fwrite, fseek, ftell.
  5. Add a call to ftell to one of your programs that processes files of structures (Such as fTOCgrades.c)
  6. Be ready for a file processing quiz on Thursday or Friday
Friday
March 18
    Starters
  • Review homework fgrades.c (Version 1 and 2)
    Main Activity
  • Gain additional experience using networked resources (handout)
  • Expand fgrades.c program continuing an introduction to file processing using C in a Linux environment. File processing documentation will be handed out, along with class assignment.

    Homework: Due Tuesday
  1. Complete fgrades.c Version 3 if you were not able to complete it during class
  2. Complete fgrades.c Version 4 if you were not able to complete it during class
  3. Bookmark C references for fread, fopen, fclose, fwrite, fseek and ftell.
Thursday
March 17
    Starters
  • Review homework grades.c (ouch)
    Main Activity
  • Gain some experience using networked resources (handout)
  • Expand grades.c program to fgrades.c as an introduction to file processing using C in a Linux environment. File processing documentation will be handed out, along with class assignment.

    Homework: Due Friday
  1. Complete fgrades.c Version 1 if you were not able to complete it during class
  2. Complete fgrades.c Version 2 if you were not able to complete it during class
  3. Bookmark C references for fread, fopen, fclose, fwrite, fseek and ftell.
Tuesday
March 15
    Starters
  • Review homework status Tic-Tac-Toe Project
    Main Activity
  • Review Tic-Tac-Toe Status
  • Demo Tic-Tac-Toe game
  • Review structure of tic-tac-toe game
  • Introduce struct and typedef and enum Structures.pdf
  • Class work in the workspace I shared with you individually, create program gradebook.c
  • Use struct and typedef and enum from class, create a program that creates an array of up to 10 grade records and writes them to a file.

    Homework: Due Thursday
  1. Read through the Structures.pdf
    There are a few steps we didn't get to complete. The pdf has some examples and practice exercises.
  2. Use the workspace I shared with you individually, create program gradebook.c
  3. Complete the grades exercises
  4. (I suggest strongly that you read both of these web pages)
Friday
March 11
    Starters
  • Collect/Post Homework
    Main Activity
  • Assign components of tic-tac-toe game
    tic-tac-toe.pdf
  • Discuss project methodology/testing
  • Take notes and understand your responsibilities
    Homework:
  • Complete the programming and testing of your tic-tac-toe module
  • Complete testing of one other module assigned in class
  • You must add a comments to the project management discussion group tic-tac-toe class project
    1. First - when you have completed your module and you have tested it, and it is ready for someone else to test
    2. Second - when you have completed testing someone eles's code and have sent them a comment with the results. Update this as many times as needed until the module works. Keep us updated.
Thursday
March 10
    Starters
  • Do we really need a lecture (or speech) about the convert libraries?
    Main Activity
  • C Two-dimensional Arrays two-D-Arrays.pdf
  • Creating a multiplication table
    Summary:
  • Tic-tac-toe
    Homework:
  • Write an algorithm for playing tic-tac-toe and imagine all of the steps to implement a two-player game in C, using a command line interface. Consider how players will make moves, checking for legal moves, deciding when someone wins, what a board looks like, how in initialize it, how to print it out...what other considerations should a game include?
Tuesday
March 8
    Starters
  • Review grades and assignments
    Main Activity
  • Topic: HTML Links
    • To resources on other web sites
    • To resources on the same web site, other directories
    • To resources in the same directory
    • To resources in the same html page
  • Introduction to Client-Server form processing
  • Introduction to Objects
  • The Document Object Model
  • Introduction to JavaScript
    Homework:
  1. Review possible events on W3Schools.com>Events that can be processed using Javascript
Friday
March 4
    Starters
  • Another chance of tracing C programs to improve the C test grade
    Main Activity
  • Use the HTML form from Quiz #2 and connect it to mycalc.php
Thursday
March 3
    Starters
  • Review agenda for today
    Main Activity
  • Test C - Programming: command line arguments, tracing C programs
  • Quiz #2 HTML
    • Draw a screen to calculate values given two numbers
    • Supply the HTML to implement the calculator screen
    • Implement the HTML using a real form
      Homework:
    1. Complete HTML Quiz 2 for Homework
Tuesday
March 1
    Starters
  • HTML Quiz #1 corrections/incorrections
    Summary:
      Schedule:
    • C Test Thursday - command line arguments, tracing programs
    • Completing all work assignments from Trimester 2
    • HTML Quiz#2 - Thursday or Friday
    Homework:
  1. Create an html document that looks similar to My HTML Files
Thursday
February 25
    Starters
  • HTML Quiz #1
    Main Activity
  • HTML Form processing
  • Calling PHP programs
  • Form01.html - practice form calling prog0.php
    Summary:
  • Form elements: form, input types: text, checkbox, radio, subbit; textareas
    Homework:
  1. Create an html form that will call quad.php which will be provided.
  2. Your form should include text areas for a user to enter a, b, and c for a quadratic equation ax2 + bx + c
  3. Include a submit button
  4. Add other features that make the screen the way you would want any screen to look like for a real world application.
  5. This is due on Tuesday
Tuesday
February 23
    Starters
  • Networking topics, IP addresses, ports
    Main Activity
  • HTML Form processing
  • Calling PHP programs
  • Form01.html - practice form calling prog0.php
    Summary:
  • Form elements: form, input types: text, checkbox, radio, subbit; textareas
    Homework:
  1. Create an html form that will call quad.php which will be provided.
  2. Your form should include text areas for a user to enter a, b, and c for a quadratic equation ax2 + bx + c
  3. Include a submit button
  4. Add other features that make the screen the way you would want any screen to look like for a real world application.
  5. This is due on Thursday
Friday
February 12
    Starters
  • Outline todays activities - creating files
    Main Activity
  • Implement functions on prthtml.c
  • Test all functions of prthtml.c using a driver program
  • Update quad.c to accept a new parameter -h
      When a user specifies -h the quadratics program should send the output in html form, at a minimum this means:
    • Send the html header - with a title
    • send the body tag
    • send the output of the quadratic equation and the result - display the output nice - the way you would want to see it on a screen
    • send the end tag for body and html
    Summary:
  • Next steps for how the piece fit together
    Homework:
  1. Have a save vacation week - be smart at all times.
Thursday
February 11
    Starters
  • Preview of today's activities, homework that is due
    Summary:
  • Networking Concepts
    Homework:
  1. Complete HTML Lab-4 - all components.
Tuesday
February 9
    Starters
  • Review HTML Tags that we have used so far
    Main Activity
      Homework Check - verifying is_functions from my_lib_1.c
    • All of the functions should accept a string as a parameter
    • All of the functions should return a boolean variable, true or false
    • None of the functions should prompt the user for any values
    • my_lib_1.c should compile
    • You should have a driver program named test_my_code.c and it shoulc be compiled and linked with my_lib_1.o to create a program named ./testit
    • You should validate that each function should return true when it should, and return false when it should.
    • You have verified that your partners program also works exactly as stated above for all test case.
    • Turn in paper at the end of the period

    Summary:
  • Review command line arguments
    Homework:
    Due Thursday
    • Change your quad.c program as follows:
    • check for command line parameters -a to accepts a as a command line parameter.
    • check for command line parameters -b to accepts b as a command line parameter.
    • check for command line parameters -c to accepts c as a command line parameter.
    • If any command line parameters are entered by the user, then do not prompt the user for any values of a, b, or c.
    • The parameters for a, b, and c can be specified in any order, such as
      ./quad -a 1 -b 2 -c 4
      ./quad -b 2 -c 4 -a 1
    • Add another option -d which will display a list of all of the command line parameters that your program received; use any of the print_args functions you have seen or create a new one.
Thursday
February 4
    Starters
  • Return tests
  • Review Args assignment due next Tuesday
    Main Activity
  • HTML Day 2
  • Number Conversion Project corrections and responsibilites
    Summary:
  • Processing command line arguments
  • Using header files
    Homework:
  1. complete Args assignment - creating libraries to print command line arguments
  2. Fix the is_functions in your my_lib_1.c file and test them using a driver program named test_my_code.c complied as ./testit
Tuesday
February 2
    Starters
  • Introduction to Unit-2 Topics in C and HTML
    Summary:
  • Reviewing the list of HTML tags from today
    Homework:
  1. Complete todays C activity and HTML activity