Computer Science for Everyone

CSI11 D01 (52921)

Monday, Wednesday 10:00 am - 11:50 am, room ME G16

 
 
-->
Date Details HW assignment

Week 9
 
03/27 topics to be covered:
Tynker:

Lecture slides: to be posted

Handout: Tynker (to be posted)

HW 14 (due date: Friday, April 5th, 11:59pm):

will be posted
03/25 In-class projects: CSI11Day13TwoProjects.pdf

files:
statisticalDataAnalysis.py, input1.txt, input1.txt, input1.txt,
states.py, statesProject.py
HW 13 (due date: Monday, April 1st, 11:59pm):

finish the projects and send them to me (natna20@gmail.com) as attachments

Week 8

Here you can see all your class grades: show my grades
Use last four digits of your school ID to locate your record.
 
03/20 topics to be covered:
Chapter 8: Sections 8.5 - 8.10

Lecture slides: CSI11-Day12_lectureSlides.pdf

In-class work: CSI11_Day12_InClassActivity.pdf
HW 12 (due date: Wednesday, March 27th, 11:59pm):

1) ZyBooks, HW12:
Chapter 8: sections 8.5 - 8.9/ all participation activities, and challenge activities
Note that sections 8.7-8.9 are self-study

2) On Paper : CSI11HW12OnPaperAssignment.pdf, CSI11HW12OnPaperAssignment.docx,
submit electronically or in class on March 27th.

3) Programming assignment: CSI11HW12ProgrammingAssignment.pdf
03/18 Midterm Exam  

Week 7

Here you can see all your class grades: show my grades
Use last four digits of your school ID to locate your record.

The Midterm Exam will be on Monday, March 18th
The Review will be on Wednesday, March 13th

 
03/13 Preparation for the Midterm Exam

The Midterm Exam Study Guide: CSI11_midterm_exam_studyGuide.pdf

More information about the Midterm Exam can be found on Midterm and Final exams page
 
03/11 topics to be covered:
Chapter 8: Sections 8.1-8.4

Lecture slides: CSI11-Day11_lectureSlides.pdf

In-class Activity: CSI11Day11_inClassActivity.pdf, conditionalsCode.py

HW 11 (due date: Wednesday, March 20th, 11:59pm):

ZyBooks, HW11:
Chapter 8: sections 8.1 -8.4/ all participation and challenge activities

Week 6

Here you can see all your class grades: show my grades
Use last four digits of your school ID to locate your record.

The Midterm Exam will be on Monday, March 18th
The Review will be on Wednesday, March 13th

 
03/06
topics to be covered:
Chapter 7: Sections 7.1 - 7.10

Lecture slides: CSI11-Day10_lectureSlides_new.pdf

In-class Activity: CSI11Day10InClassActivity.pdf

web-page: myAwesomeWebPage.html
 
HW 10 (due date: Monday, March 11th, 11:59pm):

ZyBooks, HW10:
Chapter 7: sections 7.1 -7.10/ all participation and challenge activities
03/04 All classes are cancelled due to inclement weather

Week 5

Here you can see all your class grades: show my grades
Use last four digits of your school ID to locate your record.
 
02/27 topics to be covered:
Chapter 6: Sections 6.4 - 6.10

Lecture slides: CSI11-Day09_lectureSlides.pdf

In-class Activity: CSI11Day8In-classActivity.pdf, CSI11Day9In-classActivity.pdf

Programs: Dict1.py, listAndDict.py

Answers: listAndDict_answer.py
HW 9 (due date: Saturday, March 9th, 11:59pm):

1) ZyBooks, HW9:
Chapter 6: sections 6.6 - 6.10/ all participation and challenge activities,
Note that sections 6.6 and 6.10 are optional (for extra practice)

2) programming assignment:
(a) Python string assignment: PythonStringBasicsHWassignment_NN.pdf
(b) Python list assignment: PythonListBasicsHWassignment_NN.pdf
(c) Python dictionary assignment: PythonDictionariesHWassignment_NN.pdf
02/25 topics to be covered:
Chapter 6: Section 6.1 - 6.3

Lecture slides: CSI11-Day08_lectureSlides.pdf

In-class Activity: CSI11Day8In-classActivity.pdf

Programs: Dict1.py
HW 8 (due date: Monday, March 5th, 11:59pm):

ZyBooks, HW8:
Chapter 6: Sections 6.1 - 6.5 / all participation and challenge activities

Week 4

Note that on Monday, February 18th the college is closed - President's day


Here you can see all your class grades: show my grades
Use last four digits of your school ID to locate your record.
 
02/20 topics to be covered:
Section 1.5 Representing information as bits

Lecture slides: CSI11-Day07_lectureSlides.pdf

In-class Activity 1: CSI11Day7In-classActivity.pdf

In-class activity 2: Poison Wine Bottle
youTube link: https://www.youtube.com/watch?v=N3qmN6pYhi0&feature=youtu.be
HW 7 (due date: Wednesday, February 27th, in class):

1) Convert
(a) 92 to its binary representation (you must show all your work!)
(b) (10101101)2 to the decimal form (you must show all your work!)
(c) 87643 to its hexadecimal representation (you must show all your work!)
(d) (34D2F)16 to the decimal form (you must show all your work!)

2) Watch the poison wine bootle again (try to understand both the Poison Wine Challenge and the solution), then answer the following questions:
  • (a) Instead of 1,000 bottles, there are 1,024 of them.
    How do you number the bottles, 1 through 1,024 or 0 through 1,023, and why?
  • (b) Rats 0, 1, and 5 die. Which bottle was bad? Explain.
  • (c) There are 64 bottles. How many rats do you need? Explain.
  • (d) There are 8 rats. How many bottles can you test? Explain.

Submit your homework on paper.
 

Week 3

Note that on Tuesday, February 12th the college is closed - Lincoln's birthday
on Monday, February 18th the college is closed - President's day


Here you can see all your class grades: show my grades
Use last four digits of your school ID to locate your record.
 
02/13 topics to be covered:
Turtle

Lecture slides: CSI11-Day06_lectureSlides.pdf

A quick reference guide for the Turtle library: QuickReferenceGuideForTurtleLibrary.pdf

Programs: Turtle_fun1.py, Turtle_fun2.py, Turtle_fun3.py, Turtle_fun_4shapes.py, Turtle_fun_5fence.py, Turtle_backgroundPlay.py
backgound pictures of the last program: background1.gif, background2.gif
Note that the background pictures MUST be in the same folder where the program is!

Other recource: Turtle library methods https://docs.python.org/3/library/turtle.html#overview-of-available-turtle-and-screen-methods

HW 6 (due date: Wednesday, February 20th, 11:59pm):


programming assignment: use Turtle library and Python Idle: write a program that draws a house or a flower. Send the program to me via e-mail as attachment (natna20@gmail.com). Group work and nice pictures are very welcome!

02/11 topics to be covered:
Chapter 5: Sections 5.6 - 5.10

Lecture slides: CSI11-Day05_lectureSlides.pdf

In-class Activity: CSI11Day5InClassActivity.pdf

Programs: qr.py, circleMath.py
HW 5 (due date: Wednesday, February 20th, 11:59pm):

1) ZyBooks, HW05:
Chapter 5: sections 5.6-5.10 / all participation and challenge activities,

2) programming assignment: write a program to find solutions of a quadratic equation ax2+bx+c = 0. The user should be prompt for three values: a, b, and c. Then the formulae

x1 = -b - √ b2-4ac   ,   and
                    2a

x2 = -b + √ b2-4ac   .
                    2a

should be used to find the two solutions.

To test your program use the following information:
1) quadratic equation x2 + 4x + 4 = 0 has one solution: x = -2
(note that the constants a = 1, b = 4, c = 4)
therefore your program should produce both x1 = -2 and x2 = -2

2) quadratic equation x2 - 4x + 4 = 0 has one solution: x = 2
(note that the constants a = 1, b = -4, c = 4)
therefore your program should produce both x1 = 2 and x2 = 2

3) quadratic equation x2 - 2x - 3 = 0 has solutions: x = -1, 3
(note that the constants a = 1, b = 4, c = 4)
therefore your program should produce both x1 = -1 and x2 = 3

Week 2
 
02/06 topics to be covered:
Chapter 5: Variables and Expressions (Sections 5.1 - 5.5)

In-class Activity: CSI11Day04InClassActivity.pdf

Lecture slides: CSI11-Day04_lectureSlides.pdf
HW 4 (due date: Wednesday,February 13th):

1) ZyBooks, HW04:
Chapter 5: Sections 5.1 - 5.5/ all participation, challenge activities;
2) programming assignment: to be sent to my e-mail natna20@gmail.com as attachments
(a) Lemonade: the description can be grabbed here: lemonade.pdf, the file to work on: lemonade.py
(b) Deli shop: the description can be grabbed here: deliShop.pdf, the file to work on: deliShop.py
02/04 topics to be covered:
Chapter 3: Introduction to Python (sections 3.8 - 3.10)
Chapter 4: Operating Systems

In-class Activity: CSI11Day03InClassActivity.pdf

Lecture slides: CSI11-Day03_lectureSlides.pdf

Programs: myThirdProgram.py, myFourthProgram.py
HW 3 (due date: Monday, February 11th, 11:59pm):

1) ZyBooks, HW 2:
Chapter 3: sections 3.7-3.10
Chapter 4: all sections

2) programming assignment: to be sent to my e-mail natna20@gmail.com as attachments
(a) Write a program that will display a tree, save is with the name myTree.py
(b) Write a program that asks the user two enter two integer numbers, and then displays their sum, product, and difference. Here is the draft of the program, use it: twoIntegers.py
 

Week 1
 
01/30 topics to be covered:
Chapter 2: Hardware and Software (sections 2.6 - 2.8)
Chapter 3: Introduction to Python 3 (sections 3.1 - 3.7)

In-class Activity: CSI11-Day02-InClassPractice.pdf

Lecture slides: CSI11-Day02_lectureSlides.pdf


Programs: helloWorld.py, mySecondProgram.py
HW 2 (due date: Sunday, February 10th, 11:50pm):

ZyBooks, HW 2:
Chapter 2: sections 2.6-2.8
Chapter 3: sections 3.1 - 3.7 / all participation and challenge activities
01/28 topics to be covered:
Chapter 1: History and Basics (all sections)
Chapter 2: Hardware and Software (sections 2.1 - 2.5)

In-class activity: Harold the robot

Lecture slides: CSI11-Day01_lectureSlides.pdf

videos mentioned in lecture slides:
1) video about 10 amazing robots that really exist (~10 minutes) https://youtu.be/sZ_-yb-TN9M
2) video about Hardware (~30 minutes): https://youtu.be/ctAVC2JwEwI
program: myFirstProgram.py

HW 1 (due date: Sunday, February 10th, 11:50pm) :

ZyBooks, HW 1:
Chapter 1: all sections, and
Chapter 2: sections 2.1 - 2.5 / all participation and challenge activities

Install Python 3.7:
1) Download the distribution of the Python from here (latest release 3.7): https://www.python.org/downloads/release/python-370/ (scroll down)
This distribution includes compiler, standard libraries and a simple IDE called IDLE.

2) Install Python.
Check "add Python to the PATH" during the installation.

3) After installation you can run IDLE by clicking:
  Start -> All Programs -> Python 3.7 -> IDLE (Python GUI)