cse 113 introduction to computer programming lecture slides for week 1 monday, august 29 th, 2011...

26
CSE 113 Introduction to Computer Programming Lecture slides for Week 1 Monday, August 29 th , 2011 Instructor: Scott Settembre

Upload: berniece-lee

Post on 03-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

CSE 113Introduction to

Computer Programming

Lecture slides for Week 1

Monday, August 29th, 2011Instructor: Scott Settembre

University at Buffalo: CSE 113 Instructor: Scott Settembre

2

COURSE SYLLABUSSection 1

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

3

Course Objectives

• To have fun programming.

• To learn how to program:– Games– Simulations– Interactive applications

• To get you an “A” for your transcript!

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

4

Course Objectives (more specifically)

• To learn how to program in Java.

• To understand the fundamentals and the usefulness of object oriented programming (often referred to as “OOP”).

• To get you an “A” for your transcript!

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

5

Greenfoot

• A development environment that will help you quickly acquire OOP concepts

• It is very graphical, teaching the basic concepts quickly.

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

6

Some Greenfoot Programs

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

7

Some Greenfoot Programs

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

8

Some Greenfoot Programs

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

9

Some Greenfoot Programs

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

10

Some Greenfoot Programs

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

11

You will have to crawl first…

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

12

And you will need to do some of this…

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

13

But, then you get to do this!!!

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

14

Greenfoot web page

• The Greenfoot web page can be found at:

http://www.greenfoot.org/index.html

• Here are some videos that you can use for additional help or inspiration:

http://www.greenfoot.org/doc/videos.html

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

15

Where can I run Greenfoot?

• It is already installed in Bell 101 and Bell 340.– Click on the UB Linux Penguin at the bottom of the screen.– Select UB Applications and allow the menu on the right

to expand.– From that menu, select "Application Development" and

from the right menu that appears, select Greenfoot.

• The Greenfoot environment is also 100% free, so you can install it on your home machine.

http://www.greenfoot.org/getting-started/

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

16

Book or E-Book, there is no question.

• You can pick up the book from the bookstore, it should be fully stocked.

• You can also order online:http://www.mypearsonstore.com/bookstore/product.asp?isbn=0136037534Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

17

Course Operations

• The course runs for 13 weeks.– There is a lecture MWF from 9-9:50am in Alumni 97.– All students will need to attend their recitation (lab) in Bell 340

at their assigned times.

• Each week we will essentially cover the concepts presented in each chapter of the book.– I will explain the important concepts and syntax.– You will attend lab and step through the chapter.– In lab, your projects will also be explained and you should use

the remainder of your lab time to further your progress on your projects.

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

18

How to Win!

• See syllabus under “Grading”.

The grade will be composed of the following: 10 lab assignments/assessments 20% 3 projects 40% Midterm exam 15% Final exam (cumulative) 25%

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

19

How not to Lose!

• See syllabus under “Cheating”.

Monday, August 29th, 2011

F

University at Buffalo: CSE 113 Instructor: Scott Settembre

20

Course Details

• CSE 113 Syllabus can be found on UBLearns

• We will be using UBLearns for the course.– Go to http://ublearns.buffalo.edu/– Log in with your UBIT username and password

• I may also refer you to the Greenfoot resource page that can be found at:

http://www.greenfoot.org/book/Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

21

Contact

• E-mail me at [email protected] with any questions

• Include “CSE113:” in the subject line

• Office hours will be determined shortly and posted on UBLearns

• I will use mass-email to communicate:– Any clarifications or updates to the lecture– Any important due dates– Any tips or helpful information for assignments

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

22

Teacher Assistants

• We will have (I believe) 2 assistants for this course.

• They will be available in lab and office hours to:– Help you work through the chapter exercises.– Administer the assignments/assessments that I create.– Grade your projects according to a grading rubric.– Encourage you to do your best.

• They will not be available to:– Do your work for you!

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

23

New to UB?• UB Free Softwarehttp://ubit.buffalo.edu/software/ • Using your own computer at UBhttp://ubit.buffalo.edu/newstudent/ • Help from UB IThttps://wiki.cse.buffalo.edu/services/ • FREE Microsoft Software – ALL OF IT! – MSDN-AAhttps://wiki.cse.buffalo.edu/services/content/microsoft-developer-network-academic-alliance-msdn-aaMonday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

24

VERY IMPORTANT!

• Go to Bell 101 and log in by Monday, September 5th, 2001.

• If you cannot log in, the make sure you get your account enabled.– Either talk to the attendant on duty in Bell 101 or– Go to: http://www.sens.buffalo.edu/accounts/

• If you go to lab and cannot log in, everyone will point and laugh at you!!!

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

25

How to get good at programming?

• You may as well ask, “How can I get good at anything?!”– Know your available options and tools. (Not

necessarily by heart, but be familiar with them)

– Learn to recognize an opportunity to use the tools. (Identify the sub-problems to solve.)

– Pick the tools that will help you the most. (i.e. save you the most time/effort or work the best for this situation)

Monday, August 29th, 2011

University at Buffalo: CSE 113 Instructor: Scott Settembre

26

Summary

• This was an overview, the details will come. You will not be overwhelmed and you will have fun!

• I will do my best to familiarize you with Greenfoot, Java, and the concepts of programming.

• With programming, as with many other careers, a good communicator and team player is extremely important and often worth more than a “code guru”.– (i.e. You do not need to be an code wizard to be valuable.)

Monday, August 29th, 2011