© Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying...

16
© Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington

Transcript of © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying...

Page 1: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

Introduction to Computer Program Design

COMP 102 2014T2.

Xiaoying (Sharon) Gao Computer Science

Victoria University of Wellington

Page 2: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:2

COMP 102

Menu:• What is COMP102 about?

• Course organisation

Page 3: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:3

COMP102 is about Programming• Programming is about designing, building, testing,

modifying software.• Software = instructions to make the hardware run. • Programming is giving instructions to a computer

– very precise, can be very complex• Requires a different way of thinking from most disciplines

• Programming with Java • Java is widely use programming language• Clean enough for learning to program• Easier to use for larger programs• Useful for real programming

• COMP102 is the core course• for BSc(COMP, ECLO), BE(NWEN, SWEN, ENCN)

• We do not assume you have done any programming

Page 4: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:4

COMP102 is NOT …

• Not about using computers and applications software.• Not an “easy credits” course

• Takes time! plan on around 10 hours / week

• Practical work is critical

• Withdrawal with full refund: first 2 weeks

• Standard withdrawal without refund: by 26 September

Page 5: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:5

What is new

• You need B- or better to carry on to COMP103

• Assignments are updated• Do not distribute your model solutions

• If you are repeating • Do not distribute your model solutions• Read the model solutions line by line• Write your own programs by yourself

• Only one term test in T2

Page 6: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:6

Course Organisation

Lectures• Present basic ideas, techniques, examples.

• Mon, Wed, Thur, 2:10pm - 3:00pm in CO LT122

• About 30 lectures • Other lecture slots used for tests, reviews, tutorials

Optional Tutorial • Friday 10:00-10:50, CO219, exercises, answer questions• start in week 3

Optional Help desk: • Tuesday 4-5 CO242B,• start in week 3

Page 7: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:7

Scheduled Labs

• Two Labs, in CO 219 and CO238• Lab B

• Monday 4-5• Tuesday 12-1, 2-3,• Wednesday 9-10

• Lab A• Thursday 3-4, 4-5• Friday 12-1

• Sign up online• https://signups.victoria.ac.nz/

• Tutors present to help.

• Start THIS week (from Thursday)

Page 8: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:8

Lab assignments

• Ten lab assignments (roughly weekly),• hand out: Wednesday Lecture• due: 11am Wednesday (a week later) (except #5 &

#10)

• Apply material from lectures and text book to practical programming problems.

This is where your learning happens!

• Done partly in scheduled lab sessions

• Further work required: expect 5 hours outside labs • Use any of the ECS labs, 24/7, ID card for after hours, • Read the lab rules • Use your home computer

Page 9: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:9

Text Book and Handouts

Text Book• Java Foundations Lewis, DePasquale, Chase

• Same as for COMP103.

Handouts• Course outline, Lecture slides, Assignments• Handed out in class.• On COMP102 web page.

Page 10: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:10

Course Web Site

An essential resource for the course:

• http://ecs.victoria.ac.nz/Courses/COMP102_2014T2

• Course outline, announcements, handouts, timetable,…

• Lab Assignment details (times, dates, handouts, files, ...)

• Forum, for questions and discussion

• Info about doing work at home.

• Java documentation

• Other useful links

• Email for online help: [email protected]

Page 11: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:11

People

Lecturer/Organiser (Academic/content issues)• Xiaoying Gao– “Sharon” Office: CO 339• [email protected] [email protected]

Senior Tutor (Administrative issues, esp labs)• Zarinah Amin Office: CO 343 • [email protected]

Technical Staff

• Monique Damitio: [email protected]

• Reporting problems with the computers: [email protected]

School Office (Forgotten passwords)• Tania, Nattan and Prema School Office: CO 358

Page 12: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:12

AssessmentMandatory Course Requirement:

• Submit reasonable attempts for at least 8 of assignments 2-10.

Final Grade:• Lab assignments: 20% (labs 2 -10)

• Term Test: 15%• Thursday 14 Aug• In lecture time, COLT122 and MCLT101• mark boosted to exam mark, if better

• Exam: 65%

To pass the course, you must:• Satisfy the Mandatory Requirement.• Get overall grade of C- or better.

• To carry on to COMP103, you must get B- or better

Page 13: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:13

Plagiarism (Cheating)

• You must not present anybody else’s work as if it were your own work:

• In COMP102: • You can work in pairs on the core parts of assignments BUT• You must put a comment at the top of your code saying that

you worked with ….• If you use code from the assigned text book, or

from the lectures, then you do not need to declare it;If you use any other code, then declare it!

Assignments are primarily for learning, not assessing

Cheating in the assignments is not worth it!

• Do not copy from model solutions

Page 14: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:14

Key to success

Commitment: lectures, labs, assignmentsAsk for help

• Staff, tutor, • Optional Help Desk, tutorial

• forum

• Online help: [email protected]

Study groups• Equity Help • Science and Engineering Faculty Awhina programme:

• support for Maori and Pacific Nations students• Student Services: http://www.vuw.ac.nz/st_services/

Page 15: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

COMP

102 1:15

What to do Next!

• Sign up for the labs Note: You need to be registered for the course

(a) to sign up for two labs(b) to be able to use the school computers

• Get Text Book (Book Shop).

• Read Chapter 1.

Page 16: © Xiaoying Gao, Peter Andreae Introduction to Computer Program Design COMP 102 2014T2. Xiaoying (Sharon) Gao Computer Science Victoria University of Wellington.

© Xiaoying Gao, Peter Andreae

A taste of Java

COMP

102 1:16