File - Mr. Smith`s Classes

Download Report

Transcript File - Mr. Smith`s Classes

Mr. Smith’s
Schedule
•
•
•
•
•
1st Period
2nd Period
3rd Period
4th Period
Lunch
•
•
•
•
5th Period Intro to Engineering Design
6th Period Prep
7th Period Robotics Programming
8th Period Robotics Projects
AP Computer Science
Computer Science I
Introduction to Programming
Computer Science I/ Advanced Projects
2nd:
Computer
Science 1
Door
4th: CS1/ Adv. Prj
You are
here.
West High
Student Center
Attendance
Commons
Main Gym
Computer Science I
Today’s Schedule
•
•
•
•
•
•
•
Introductions
Student Expectations
Lab Rules
Course Overview
Questions
Log in /Set up Shortcuts
Give first challenge
Introductions
•
•
•
•
•
You will introduce the people next to you
Name
Favorite Video Game
Favorite Car
Two ideas for potential careers
Student Expectations
• Behavior/Discipline Plan:
• Students are expected to be safe, responsible
and respectful.
• Students not following these expectations
may expect: verbal warnings, removal from
class pending conference, parent contact, or
referral to administration.
To be successful in this course:
• Stay focused and productive in the classroom
• Excellent attendance
• Let your projects, daily work, quizzes and tests
display your best effort
• Feel free to talk with me about your projects,
questions, etc.
Computer Lab Rules
• No gum in class
• No food or drink in the lab (except water with a lid at
approved locations)
• No headphones or music except on days selected by
teacher
• Absolutely no off-task Internet usage (e-mail, games,
chat, etc – anything other than class related)
• Absolutely no off-task Computer usage (ask teacher
permission to use equipment for anything other than
class assignments)
• Do NOT download any software (games, utilities, music,
etc.)
• Do NOT use any “chat” software
• No CELL PHONE use in class without permission of Mr.
Smith.
Materials Needed
• Each student will need a Composition Book or
a tabbed off section in your three-ring binder
for notes and handouts.
• Bring a pen or pencil with you everyday
Course Overview
1) Getting Started
In the first week students are introduced to Pascal, the process of writing, compiling and
running code. Students will move from ‘Hello world’ to writing programs that get user input
and perform simple calculations.
2) Math to Pascal
In the second week of the course students use more complex mathematics in Pascal and
gain more experience taking a problem and implementing its solution in Pascal.
3) Making decisions: if/else
During this week students are introduced to decision constructs and add some
logic to their programs.
4) Repeating pieces of code: for loop
For loop, while loop and repeat until.
7) Random numbers
8) Procedures and functions
9) Arrays
Saving
Searching
Sorting
10) Project
Students will write the code for a project in Pascal.
13) If time..
Files
Dynamic data structures
Grading
• Class Activities
•
Warm-up Activities
•
Programs
•
Projects
•
Quizzes
•
Tests
•
• Grading Policy
•
•
A: 90-100%
•
B: 80 – 89%
•
C: 70 – 79%
•
D: 60 – 69%
•
F: 0 – 59%
5 pts
10 pts
20-100 pts
25 pts
100 pts
Questions??
Time to Log-on
• User Name: Use the ‘ID Number ‘ from your
schedule for your user name.
• Password: Use your student ID number, also on
your schedule to the left of your name, with a ‘.’
after it for your password. You will be asked to
change your password on the first time you log in.
Creating
Shortcuts
• Log onto the network
– Your log in number is on your schedule
– Your password is your Student ID# followed by a period.
• Open MyDocuments
– Make a new folder called ComputerScience1
• Keep your ComputerScience1 Folder open
• Open MyComputer
–
–
–
–
Navigate to west on 'dtcfsc04\coursework(R:)‘
Double click on SMITH_GREG folder
Double click on the CS1 folder
Drag the R:\Smith_Greg\ CS1 folder (The one on top, not the
big folder in the Window) and drop it into your
ComputerScience1 folder.
First Program
Open Dev-Pascal
Open a New Source File
File -> New Source File or
CTRL – U
Or Click on the Icon
Delete the Info on the File
After you delete the text.
Start writing your own
program.
Run
Compile
Enter this
program.
Compile and
Run
Listing of errors, if any, when
trying to compile.
Assignment
Pushes: Modify the program so that you can enter
the TAX value. Look up the if..then and give a
special thanks if they spend more than $500.
• Enter the program into Pascal
• Fix any errors made when entering the
program.
• Compile and run it.
• Go back, make and document three errors.
• Write the error and what the compiler says on
the code itself behind. Put {} around your
descriptions.
• Turn it in as YourNameThreeErrors