Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

save #5

Try the problem here from Sp 2003 Midterm Review #1


1. We sample the source data to create the target data. Samples are the collections of Sample objects, each indexed by a number.
2. An array is how the computer stores data, one right after another. It is like a line of data that makes it easier for the comp to find a certain piece of info. A matrix is how pixels are set up in a picture, in rows and columns. A computer finds these by a (x,y) coordinate system.
3. A computer is stupid, so it makes every bit of data it contains into 1's and 0's. This is encoding, and it means that can fill its bytes with encoding. Encoding can be layered to make the computer do more and more complex things.
Kelly Farrell

Nope on 1. You've only seen sampling for scaling up and down pictures so-far, but you're going to see it for sampling sounds, too. 3 is missing a critical piece. Mark Guzdial

Note

I do consider it fair game to ask you about other critical CS concepts we've talked about in this class like:




I made a stab at other possible test questions listed above...hope it may help someone who couldn't remember something...

1. Python is a programming language. In the Python environment that we use (JES), it is easy to learn and read coding 'recipes' that manipulate, in our case, images, sounds, etc. More info. on this on pp. 10-11, 22-24
2. Moore discovered that the number of components on integrated circuits seemed to double regularly.
3. A wire in a computer that encodes a 1 or a 0, depending on wether the wire carries a voltage or not. p. 11
4. 8 bits. p. 11
5. 255
6. A byte can represent 2^8 (256) different patterns, 16 bits = 2 bytes = 2^16 (65536) patterns.

John R. Long


Original Questions:
1.Sampling is taking a piece of continuous data to manipulate it via encoding.
3.Encoding is taking information and turning it into something that the computer understands, usually starting with 1's and 0's.

Alternate Questions:
2. You're right, but to further that definition: Moore said that the same amount of money you spend on a computer now, will, in 18 months, buy the double the computer capability then (i.e. double the # of transistors) at that 18 months. It's held true since the 1940s.
3. Clarification: According to my TA, a bit is 1 wire encoding, either 1 or 0, and the 1 and 0 are dependent on whether the wire has a voltage or not.
Rebecca Phillips

1 has a voltage and 0 has no voltage. Wires are grouped in sets of 8 and have the 2 choices ( 0,1). That is why largest number to store in a byte is 2^ 8 then you subtract one = 255. Sam Wilkerson

You subtract one from 256 to include the zero, so the largest number value is 255, but it stores 256.
Rebecca Phillips


Wouldnt the highest number stored be a 1? Since it can only understand 0's and 1's??? I am not sure which is right.
Justin Kennon


Let me restate that: the largest pattern value is 256. There are 8bits per byte. There are 2patterns per bit. You could say that the computer thinks in binary. Translate 255 to binary and you'll come up with the largest 1 and 0 combination a byte can store. You have to subtract 1 in order to include the zero, since it, too, is a pattern.
Rebecca Phillips

Said another way: There are 256 possible patterns in 8 bits. We assign one of those the value of "0" and that leaves a range of 0 to 255. Mark Guzdial
An important part of Moore's law is that computing power doubles every 18 months for the same dollar. Mark Guzdial


review in the different concept in computer


Link to this Page