Brock

COSC 1P02
Introduction to Computer Science

Last Modified: Saturday, 21-Apr-2012 19:49:29 EDT

Winter
2012

Final Marks

Description
An introduction to computers and computer programming in a high-level language (currently Java). Topics include computer fundamentals, problem solving, software development, programming language syntax & semantics, methods, input/output, control structures and data types.

Instructor
Prof. David McCarthy: Office J322
Office Hours: TBA.
Lectures: Monday and Friday 3:30-4:50 TH255

Term Test
Please note that the mid term test will be held in class on Friday, February 18th.

Textbooks
Introduction to Programming Using Java (6th Edition), David J. Eck.
Note: This is a free online textbook and may be freely printed.

Tools
A Java IDE (integrated development environment)
The preferred choice is Dr. Java, freely available from this link.

Outline
o introduction, hardware,software, algorithms, languages
o Java, syntax, comments, identifiers, variables
o primitive types (byte, short, int, long,float, double, char, boolean)
o classes, subroutine calls, methods, TextIO library
o assignment statements, expressions, operators, operator priority
o shortcut assignments (++, +=, etc)
o simple repetition, concept of nesting
o structured statements (blocks, while, do ... while, for, if, switch)
o sub-routines/methods & parameters, booleans, Strings
o classes, objects, abstraction, constructors
o 1-dimensional collections, 1-d arrays
o String processing
o 2-dimensional collections, 2-d arrays

Class Examples

Assignments
Assignment 1

Assignment 2

Assignment 3

Assignment 4

Assignment 5

Support Files


Evaluation:
Assignments (5 1/2) 22%

Mid-term Test (Friday, Feb. 17th, in class) 29%

Final Exam ( Friday, April 20, 9-12 in Ian Beddis Gym) 49%
The final examination will follow normal university examination procedures.

Important Notes

  1. ALL correspondence to students is emailed to the Brock email accounts of students who are registered in the course. It is vital that you check for messages regularly. If you do not receive an introductory email message from the course instructor by the end of the second week of classes, you should verify that you are registered in the course. Students are responsible for regularly reading their email and checking for updated documents posted on the COSC 1P02 course web pages.
  2. A mark of at least 40% on the final exam is required to achieve a passing grade in this course.
  3. Late assignments will be accepted up to 3 days after the due date subject to a 25% penalty.

Computer Science Department | COSC 1P02 Home Page