gender of computers? an english teacher was explaining to his students the concept of gender...
Post on 21-Dec-2015
221 views
TRANSCRIPT
![Page 1: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/1.jpg)
Gender of Computers?
• An English teacher was explaining to his students the concept of gender association in the English language.
• He stated how hurricanes at one time were given feminine names and how ships and planes were usually referred to as "she". One of the students raised his hand and asked - "What gender is a computer"?
![Page 2: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/2.jpg)
• The teacher wasn't certain which it was, so he divided the class into two groups, males in one, females in the other, and asked them to decide if a computer should be masculine or feminine.
• Both groups were asked to give four reasons for their recommendation.
![Page 3: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/3.jpg)
The group of women concluded that computers should be referred to in the masculine gender because:
1. In order to get their attention, you have to turn them on.
2. They have a lot of data but are still clueless.
3. They are supposed to help you solve your problems, but half the time they ARE the problem.
4. As soon as you commit to one, you realize that, if you had waited a little longer, you could have had a better model.
![Page 4: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/4.jpg)
The men, on the other hand, decided that computers should definitely be referred to in the feminine gender because:
1. No one but their creator understands their internal logic.
2. The native language they use to communicate with other computers is incomprehensible to everyone else.
3. Even your smallest mistakes are stored in long-term memory for later retrieval.
4. As soon as you make a commitment to one, you find yourself spending half your paycheck on accessories for it
![Page 5: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/5.jpg)
Course Overview
Broad overview of Computer Science
Text Book: Schneider & Gersting
An invitation to CS
Selected Topics only
Lab exercises alongside
Lab Manual
![Page 6: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/6.jpg)
CS120: Week 1
Introduction to Computer Science
Course Introduction
Course overview
Laboratory Sessions
What is Computer Science?
What is an algorithm?
History of Computing
![Page 7: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/7.jpg)
Course Overview
Course Objective
Course Outline
Assessments and Grading
Assessment schedule
Variety of topics – Overview CS
Usually, lectures on Mondays & Fridays and
Labs on Tuesdays and Thursdays
![Page 8: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/8.jpg)
Lab ExercisesOf the 21 exercises, we will do some 10 only
Should attend the lab sessions
Lab exercises will be checked
Self paced (most could be completed in class)
Have lab tutors to help you learn
Concept (theory) followed by Lab
Bring both the text-book and lab manual to the class
![Page 9: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/9.jpg)
An Introduction to Computer Science
Objectives:• Explain what computer science is and is not.• Know and explain definitions of: algorithm,
computing agent, and primitive.• Trace execution of an algorithm.• Determine if a set of steps is an algorithm;
explain.• Describe and identify sequential, iterative,
conditional operations.
![Page 10: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/10.jpg)
What is Computer Science
• Write down the things a computer has.
• Write down the things you do with a computer.
• Write down your definition of what computer science is
![Page 11: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/11.jpg)
Computer Science is not just:
• the study of computers
• programming
• using computer applications
![Page 12: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/12.jpg)
Not just computers
• circuits
• disks
• monitors
• Keyboards
• Play stations
• PDAs
![Page 13: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/13.jpg)
Not just programming
Using programming languages like
• Pascal
• FORTRAN, COBOL
• COBOL
• C, C++, C#
• Java
![Page 14: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/14.jpg)
Not just using applications
• word processors
• spreadsheets
• databases
• Internet
• Web Browsers
![Page 15: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/15.jpg)
Computer Science is
the study of algorithms, including their
• formal mathematical properties (correct, efficient)
• hardware realizations (to carryout)
• linguistic realizations (translate)
• Applications (uses)
![Page 16: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/16.jpg)
Organization of the Textbook LEVEL CHAPTER
Algorithmic FoundationsAlgorithmic Foundations
HardwareHardware
Virtual MachineVirtual Machine
SoftwareSoftware
ApplicationsApplications
Social IssuesSocial Issues6
5
4
3
2
1
15
12, 13, 14
8, 9, 10, 11
6, 7
4, 5
2, 3
![Page 17: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/17.jpg)
Completing the Loop
• So, for starters in CS, we learn about all the above six, starting from Algorithmic foundation
• We identify problems requiring solutions using computers for the good of the society.
• So there is the ‘Problem to be solved’ that links the ‘society’ and the ‘algorithmic foundation.’
![Page 18: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/18.jpg)
What is an algorithm?
Informally:
An Algorithm is
a step by step method for solving a problem.
(more formal definition later)
We tell the computer how to do something and it does what we tell for us.
So what does this imply?
![Page 19: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/19.jpg)
Computing agent
• We do the algorithms• A thing that carries out the algorithm is called a
computing agent.• An unambiguous operation that can be understood
and carried out by a computing agent is called primitive operation.
• When I tell you ‘Study Chapters 1 and 14 in our text for homework’, is it a primitive?
• How about ‘Build an airplane’?
![Page 20: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/20.jpg)
Computing Agent
The present day Computer Agent
• Can accept input
• Can store information in and retrieve it from memory (unlike us accurately)
• Can take actions according to algorithm instructions (given to it)
• Can produce output
![Page 21: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/21.jpg)
What is an Algorithm?
Formal definition:
An algorithm is a
• well ordered collection of
• unambiguous and
• effectively computable operations
• that produces a result and
• halts in a finite amount of time.
![Page 22: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/22.jpg)
An Algorithm is Well Ordered
• Each step of the algorithm is executed in the order in which it is written, or else the order is clearly stated.
• Consider the following example:
• Design the algorithm that will add two number together and save the sum.
![Page 23: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/23.jpg)
An Algorithm is Unambiguous
• The algorithm must be clearly stated, in terms that the computing agent understands (its primitive operations).
• Correct this algorithm telling a robot how to take a step to the left, if its only primitive operations are Move_Forward_One_Step, and Turn_Right.
Step 1. Turn leftStep 2. Move_Forward_One_Step
![Page 24: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/24.jpg)
An Algorithm is Effectively Computable
• It must be possible for the computing agent to perform the operation and produce a result.
• Example: Find and print the 100th prime number.
• If we have the following algorithm, can this be done properly?
![Page 25: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/25.jpg)
Example of finding 100th prime number and print it
• Step1: Generate a list L of all the prime
numbers: L1, L2, L3,….
• Step2: Sort the list into ascending order
• Step3: Print out the 100th element in the list,
L100
• Step 4: Stop
![Page 26: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/26.jpg)
An Algorithm Must Halt in a Finite Amount of Time
• Even if it would take centuries to finish executing the algorithm, there is some point in time when the result would be produced.
• What is wrong with this algorithm?
Step 1. Set X to –1Step 2. Subtract 1 from XStep 3. If X is not 0, go back to Step 2.
![Page 27: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/27.jpg)
![Page 28: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/28.jpg)
Three different things to be done
• I have three research papers to do in CS120 • On Saturday, if it rained I play some indoor games
otherwise play an outdoor game.• I am taking five courses this semester and in each
course there are several assessments (exams, projects, research papers et.). I have a calendar sheet with dates & time for the whole semester. I want to mark on it the assessment dates (due dates, in some cases)
• Help me draw diagrams to describe these.
![Page 29: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/29.jpg)
More about Algorithms
The order in which the steps of an algorithm are executed is one of the following:
• sequential
• conditional
• iterative
![Page 30: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/30.jpg)
Sequential Order
• Each step is performed in the order in which it is written (top to bottom).
• Example: Algorithm for finding a sale price.
Step 1. Multiply the regular price by the discount percent.Step 2. Subtract the result of Step 1 from the regular price.
![Page 31: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/31.jpg)
Conditional Order
• Determines whether or not a condition is true; and, based on whether or not it is true, selects the next step to do.
• Example-- Algorithm for processing a bank check:
Step 1. Determine if the amount of the check is greater than the checking account balance.Step 2. If Step 1 is true, print “Overdraft”Step 3. Otherwise, subtract the amount of the check from the balance.
![Page 32: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/32.jpg)
Iterative Operation
• Repeat a set of steps over and over -- also called a “looping” operation.
• Example: Algorithm for counting the digits in a positive integer N.
Step 1. Set the Count to 0Step 2. Divide N by 10 (dropping any remainder)Step 3. Add 1 to the CountStep 4. If N is greater than 0, repeat steps 2-4
![Page 33: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/33.jpg)
![Page 34: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/34.jpg)
1.4 Historical Overview of Computer Systems Development
![Page 35: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/35.jpg)
The Nineteenth Century Inventor of Computers
Charles Babbage -- 1830’s• idea for a general purpose steam-driven
computer• programs stored on punched cards• four subsystems: memory, mill (ALU),
operator (control unit), output• programs documented by Ada Augusta,
Countess of Lovelace (first programmer)
![Page 36: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/36.jpg)
The Birth of Computers1940-1950
In the United States, the ENIAC was built at the University of PA by J. Presper Eckert and John Mauchly
• funded by Defense Department for use in World War II
• completed in 1946• contained 18,000 vacuum tubes and
weighed 30 tons
![Page 37: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/37.jpg)
1950 - Present
• First Generation: 1945-1955
• Second Generation: 1955-1965
• Third Generation: 1965-1980
• Fourth Generation: 1980-?
![Page 38: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/38.jpg)
First Generation 1945-1955
ENIAC --- Electronic Numerical Integrator And Computer
It consisted of 18,000 vacuum tubes and 1500 relays.
It weighted 30 tons and consumed 140 kilowatts of power.
![Page 39: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/39.jpg)
Second Generation 1955-1965
• vacuum tubes replaced by transistors --- a big leap in computer making.
• difficulties of programming computers overcome by high level languages– FORTRAN (Formula Translation)
– COBOL (Common Business Oriented Language
Example: PDP-1 by by Digital Equipment Corporation. Price $120,000
![Page 40: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/40.jpg)
Third Generation 1965-1980
• wiring problems solved by integrated circuits
• first small computers built and sold to government– on-board computer for Apollo 11 --
first man on moon– on-board computers for guided missiles
![Page 41: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/41.jpg)
Fourth Generation 1980-?• microprocessors -- allowed mass production
of “throw-away” computers -- “computer on a chip”
• Apple (1978) -- first affordable commercial microcomputer
• IBM-PC (1981) -- took major part of market away from Apple
• Macintosh (1984) -- first graphical interface• Microsoft Windows for IBM-PC (1990)
![Page 42: Gender of Computers? An English teacher was explaining to his students the concept of gender association in the English language. He stated how hurricanes](https://reader030.vdocuments.site/reader030/viewer/2022032704/56649d5f5503460f94a3f481/html5/thumbnails/42.jpg)
Fifth Generation ???
• Networked computers (the Internet)
• Versatile input-output (e.g. touch, speech)
• Multi-media (graphics and sound)
• Virtual reality (3-d graphics)
• Artificial intelligence
• Neural networks