CS 115 Homework 1 Introduction to CS 115
CS 115 Homework 1
This is an individual assignment. Every student is expected to do
all the activities themselves.
Due date: Sunday, September 2, midnight
Educational goals of this homework - verify that every student can
- Communicate with your TA by email
- Use the Python IDE or a text editor (Notepad) to create a text file
- Answer some questions about the recent lectures
- Estimate what knowledge you have about the subject of the course (Knowledge Survey)
Submit your files with the link provided by Canvas.
The Knowledge Survey has its own submit link at the bottom of its page.
- (30 points) Problem #1: Email to your TA
Send email to your TA. The subject
line must be "Homework 1 115 Section " and your section number. Here is a page with
all TA addresses on it.
- It is BEST to use your "uky.edu" address as the sender of this email.
We must verify that you know how to read mail at that address.
It is used by the University administration if they need to contact you!
Privacy laws require us to verify that we are communicating with UK students, by using the "uky.edu" address.
You can forward your uky.edu account to any other address you like; the TA MUST use your uky.edu address.
You are responsible for email sent to your uky.edu address.
Make sure you check it regularly or keep it forwarded to somewhere you do read!
You can access your university email account from any computer connected to the Internet from this link:
- Send a carbon copy to yourself.
- The body of the message must also contain the answers to these questions about the
syllabus in plain text (NOT an attachment!):
- If you and another student work together on a program implementation,
what must both of you put in your documentation of that program?
- What is the late penalty for source code for program assignments? (Be complete.)
- What percentage of the overall grade is each lab test?
- When (date and time) and where (building and room) is the first common hour exam?
- What is your status with Python 3.x? (no wrong answer here:)
- you have successfully installed Python 3.x on your home computer or laptop
- you do not intend to install Python 3.x on your home computer or laptop this semester
- you are in the process of getting Python 3.x installed at on your computer and you are stuck.
If you are stuck, let your TA know what is wrong so that they can help you *now*.
- This email to your TA must be sent by the deadline above.
You will lose 5 points if you send it within one day after this deadline.
If it is later than that, you lose all points.
You can, of course, send it in earlier than the deadline.
- The reason for this email is that we use emails very often to communicate with you. We send
feedbacks, requests for appointments, hints, corrections, etc. We must use the uky.edu address
so we want to be sure that you read it. Why those questions? Because Questions 1-4 are very important
facts about the class that you should know (or at least know where to find!)
Question 5 is asked because we want to make sure everyone in the class has access to a Python
interpreter. You will use it very, very often to test your programs when you are writing them.
- (20 points) Problem #2: Knowledge Survey
- Go to this page and fill out the Knowledge Survey.
There are no right or wrong answers.
You get the points for doing the survey and submitting your answers with the button at the bottom of the page
Please be as accurate as you can with your answers.
- Make SURE you enter your first and last names in the blanks and choose your section
from the drop-down menu at the top!
- This MUST be done by the deadline above!
If it is turned in by one day late, it loses 5 points. If it is timestamped later
than that, you have lost all points.
- Why do we ask you to do this survey? The information tells us something about your experience.
It helps your TA to get to know you a bit.
This information is also used to make initial lab team assignments.
- (40 points) Problem #3: Questions on Lecture Contents
- Answer these questions in a text editor. Put the answers to these in a text file called hw1.txt. Note: if you turn in another format like rtf or docx, you will lose 15 points.
- Which would cost less per gigabyte: RAM or a hard drive? Which would be
faster to access data from?
- Name an accomplishment of Lady Ada Lovelace with regard to computers.
- What does Guido van Rossum have to do with this class?
- Which is larger, 50 Megabytes or 3 Gigabytes?
- If you have 15 files, each of which was 256 Megabytes in size, can they all
fit on a memory stick with a capacity of 5 Gigabytes? If so, how much space is left over?
If not, how much more space do you need? Hint: you do NOT need to handle numbers of many digits to find this!
- If you had a hard drive with a capacity of 2 Terabytes, how many movies could fit on it
if a movie took up 16 Gigabytes?
- This is due by the deadline above. If you turn it in after
midnight but before midnight on the next day, you will lose 15
points. If it is after that, it gets zero points.
If you use a lab machine, log off properly - you don't want your account misused by someone else!
Remember NOT to leave files
on the local hard drives in any lab on
campus! Make sure you save your projects onto a portable
storage device you take with you or mail it to yourself or use a Cloud drive (Dropbox, for example)!