Download presentation
Presentation is loading. Please wait.
1
CSC115 Introduction to Computer Programming
Zhen Jiang Dept. of Computer Science West Chester University West Chester, PA 19383
2
Table of Contents Welcome Introduction Plain text format printout
Variable and its value type Expression & operator String
3
Welcome Why this class? Job hunting Something help you to stand out!
WCU graduated, Database, Software Engineering, … vs. UPenn, Temple, Drexel, … Something help you to stand out! — How do you like to be introduced?
4
Research project Critical thinking, communication, well-plan, etc. Real competition, deadline, pressure More realistic system, complex programming, for instance, Student opportunities: Sponsorship NSF, NSA, etc Industry interns
5
Student Opportunities
Collaboration at international level Course project NSF REU Collaboration at inter-disciplinary level Collaborative work at inter-department level
6
Industry partners Such as Gnostech, Chase, etc.
Invited talks in courses Seminars or guest speeches Curriculum review/assessment Permanent intern opportunities
7
Engage students continuously working hard
Goal Competitive students entrepreneurially and computationally empowered citizenries Temple, NYU, etc. IBM, SAP, Vanguard, Bell lab, etc. Key Engage students continuously working hard
8
No pain, no gain Need to handle those things coming from pressure: frustration, upset, madness, etc. Looking for solution, not excuse. Deadline!
9
Highlights in class materials (available at D2L)
Thinking process (instead of resultant program) Hands-on experience Happy ending!
10
Introduction What to learn and why? Blocky programming, e.g., Python
11
See in the following explanation
What to reach in one semester? Problem solving Python What?
12
Practice, assignment, achievement Understanding of computer
Prerequisite skills Sample: as our E.D. planed for the kids to learn Practice, assignment, achievement Understanding of computer Computer problem + computer processing/execution = solution Analysis, plan, skill and knowledge in handling computer program language Instructor role: translator and helper, but not giving the solution directly Future VR/AR programming
13
Print-out Hello world (Welcome.py), page 3 Python 3.x PyCharm
Project creation and the location of its saving ***** Not only the place, but also the project root name print { } and ( ) “ ” and ‘ ’ \n, \t, and space. # Python is case-sensitive
14
Variable I/O (Variable.py), page 3-4, 9-13, 17-18, 29-30, 45-46
Variable name, page 10 Begin with [a]-[Z] Contain only [a]-[Z], [0]-[9], and _ No keyword Case distinct (better lowercase for a name)
15
Assignment Left is a single variable Right is a legal expression Initialization Value of variable, i.e., its use in arithmetic operation +, -, * , / , **, %, // Precedence order and execution time line Concurrent assignment (operator ,)
16
11/18/2018
17
Function and its call, page 17
int, float, str, random (p126) Method and its need for import, page 18 turtle (Screen, Turtle, shape, left, forward, mainloop, etc.) math (sin, sqrt, log10, pi, etc.)
18
Keyboard input, page 45 input
19
Types, page 4 int, float, str (or String)
Conversion between different types
20
String = +
21
File reading, page 83 open readline FIFO order
wait for the loop chapter to obtain a full control of reading and writing file
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.