|
COSC 1P02 Last Modified: Saturday, 21-Apr-2012 19:49:29 EDT |
2012 |
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
Assignments
Assignment 1
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.
Computer Science Department | COSC 1P02 Home Page