Introduction to Programming in Python

Course Content from Zyante
Course Number: CS101
Download Course Syllabus

This course provides an introduction to both the principles and the practice of programming, using a subset of Python 3. Materials and activities include: animations, learning questions, web-based programming windows, and web-based challenge activities. The course covers basic programming constructs (branches, loops, functions) to advanced topics such as inheritance, exceptions, and plotting.

Coming Soon

4
college credits
Course Type Icon
Self Paced
Course Department Icon
Computer Science
Publisher Icon

No reviews have been submitted for Introduction to Programming in Python

Course Objectives

After completing this course, students will be able to:

  • Explain the basics of how a computer works, then write a first program
  • Use standard input and output, and understand common syntax errors
  • Declare and initialize variables with valid identifiers
  • Use a variety of integer data types and the concept of overflow. Use floating-point, character, and string data types
  • Cast between data types
  • Develop programs that branch based on user input
  • Write expressions with relational and equality operators and develop expressions with logical operators
  • Use multiple branches for more complex programs
  • Use the Boolean data type to store results of conditional statements
  • Access elements in arrays/lists
  • Understand memory usage for single and multi-dimensional arrays/lists
  • Combine loops and arrays/lists, and develop programs with multiple arrays/lists
  • Write a first function/method, then return from a function/method and parameterize a function
  • Learn reasons to use a function/method
  • Combine functions/methods with branches and loops and use incremental development with functions/methods
  • Send and use arguments passed to program
  • Write classes that group functions/methods and data
  • Initialize class variables with class constructor
  • Introduce abstract data types
  • Creating, copying, and deleting objects
  • Understand standard input and output implementation
  • Manipulate text and floating-points during output
  • Read input from a string
  • Input and output to a file

Topic Number

Topic Title

Objectives

1

Introduction

  • Write first program
  • Use standard input and output
  • Interpret common syntax errors
  • Learn basics of how a computer works

2

Variables/Assignments

  • Declare variables with valid identifiers
  • Learn a variety of integer data types and concept of overflow
  • Use floating-point, character, and string data types
  • Cast between data types

3

Branching

  • Develop programs that branch based on user input
  • Write expressions with relational and equality operators
  • Multiple branching for more complex programs
  • Develop expressions with logical operators
  • Use Boolean data type to store result of conditional statements

4

Loops

  • Use while loop to repeat code execution
  • Count using a while loop
  • Strengths of for-loops
  • Write nested loops
  • Use flow control to break or continue loops

5

Arrays/Lists

  • Access elements in arrays/lists
  • Combine loops and arrays/lists
  • Develop program with multiple arrays/lists
  • Understand memory usage for multi-dimensional arrays/lists

6

User-Defined Functions/Methods

  • Write first function/method
  • Return from a function/method and parameterize a function
  • Learn reasons to use a function/method
  • Combine functions/methods with branches and loops
  • Use incremental development with functions/methods
  • Send and use arguments passed to program

7

Classes

  • Write classes that group functions/methods and data
  • Initialize class variables with class constructors
  • Overload class constructor
  • Introduce abstract data types

8

Streams

  • Understand standard input and output implementation
  • Manipulate text and floating-points during output
  • Read input from a string
  • Input and output to a file

9

Other topics as assigned

  • Final Exam

StraighterLine suggests, though does not require, that students take Pre-Calculus or its equivalent before enrolling in this course.

No text required, all materials are included in the course price and available online.

Zybooks, a new kind of publishing company founded in 2012, is dedicated to creating interactive animated material primarily for the challenging lower-division university courses in STEM (science, technology, engineering, and math) subjects. Rather than retargeting traditional textbooks, we create new material that takes advantage of the web to replace lengthy text passages and static figures by animations, question sets, and tools. Our "less text, more action" approach engages students and enables deeper more-intuitive understanding.

StraighterLine does not apply letter grades. Students earn a percentage score. A passing percentage is 70% or higher.

If you have chosen a Partner College to award credit for this course, your final grade will be based upon that college’s grading scale. Only passing scores will be considered by Partner Colleges for an award of credit.

There are a total of 1000 points in the course:

Topic

Assessment

Points Available

1

Reading

10

1

Homework

15

1

Labs:

  • Basics
  • Interleaved input/output
  • Formatted output: Hello World!
  • Formatted output: No parking sign

40

2

Reading

10

2

Homework

15

2

Labs:

  • Divide by x
  • Driving costs
  • Expression for calories burned during workout
  • Using math functions/methods
  • Phone number breakdown
  • Simple statistics
  • Musical note frequencies

40

3

Reading

10

3

Homework

15

3

Labs:

  • Remove gray from RGB
  • Largest number
  • Interstate highway numbers
  • Seasons
  • Exact change
  • Leap Year

40

4

Reading

10

4

Homework

15

4

Labs:

  • Convert to binary
  • Mad Lib - loops
  • Password modifier
  • Count input length without spaces, periods or commas
  • Countdown until matching digits
  • Output range with increment of 10
  • Print string in reverse

40

4

Midterm

80

5

Reading

10

5

Homework

15

5

Labs:

  • Middle item
  • Output values below an amount
  • Adjust list by normalizing
  • Word frequencies
  • Elements in a range

40

6

Reading

10

6

Homework

15

6

Labs:

  • Miles to track laps
  • A jiffy
  • Driving cost - functions
  • Swapping variables
  • Max magnitude
  • Convert to binary - functions

40

7

Reading

10

7

Homework

15

7

Labs:

  • Triangle area comparison - classes
  • Car value - classes
  • Winning team - classes

40

8

Reading

10

8

Homework

15

8

Labs:

  • Parsing strings
  • Data visualization

40

9

Final

400

Total

1000


Final Proctored Exam

The final exam is developed to assess the knowledge you learned taking this course. All students are required to take an online proctored final exam in order complete the course and be eligible for transfer credit.

Learn more about Proctored Exams

This course provides an introduction to both the principles and the practice of programming, using a subset of Python 3. Materials and activities include: animations, learning questions, web-based programming windows, and web-based challenge activities. The course covers basic programming constructs (branches, loops, functions) to advanced topics such as inheritance, exceptions, and plotting.

Create your own custom Introduction to Programming in Python ! Select up to courses from the list below.

Introduction to Programming in Python   +$99.00
Proctoring   +$0.00

Subtotal

As low as: $99.00

plus subscription
Introduction to Programming in Python

Introduction to Programming in Python

$0.00

Your Courses

  • {{label}}:{{options}}
{{qty}} x {{name}}
{{qty}} x {{name}}
  •  
Plus Membership [?]

Only registered users can write reviews. Please, log in or register