Download presentation
Presentation is loading. Please wait.
Published byGriselda Little Modified over 5 years ago
1
Intro to Computer Science CS1510 Dr. Sarah Diesburg
Problem Solving Intro to Computer Science CS1510 Dr. Sarah Diesburg
2
Your turn #1 What unsigned decimal numbers are represented by the following binary numbers? Example: = 5
3
Your turn #2 How would you write the following numbers in binary? Example: 14 = > 3 121 143
4
Encoding Binary numbers can represent more things than just integers
Another example is ASCII American Standard Code for Information Interchange Character encoding scheme based on the English alphabet
5
Problem Solving How do humans solve problems?
Once we know that, how to we translate that to how a computer would solve a problem? Get in groups of two or three
6
Problem #1 Suppose that on a recent trip, you left Cedar Falls with a full tank of gas and your odometer read miles. When you returned, your odometer read miles. You refilled your gas tank with 8 gallons of gas. What was your mileage per gallons (or MPG)?
7
Problem #1 What is the answer?
How did you arrive at this specific answer? What is the general purpose algorithm to solve this class of problem?
8
On Friday We are going to look at How the computer does mathematics
How do we assign names to things How do we put numbers in the computer and take them back out
9
For Lab Tomorrow Bring your thumb drive Play with Python ahead of time
Install Python from Get familiar with IDLE Start reading chapter 1
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.