intro CS 3

Information about intro CS 3

Published on October 16, 2007

Author: Dabby

Source: authorstream.com

Content

Introduction to Computers for Non-EECS Major:  Introduction to Computers for Non-EECS Major Polly Huang EE NTU http://cc.ee.ntu.edu.tw/~phuang [email protected] Today:  Today Administrative issues Labs, web page project, extra credit assignments, distinguished lecture 0 and 1 Decimal to binary Add table Inside your PC Labs:  Labs Only 2 sessions Monday 3-5pm Wednesday 2-4pm You will be informed of the starting week Web Design Project:  Web Design Project HTML 4.0 Content Clear main topic and subtopic arrangement. Art and alignment Incorporate colors, images, and text with HTML table, tag, or CSS Polishing the page with creativity The point is to communicate the content to the viewers. HTML coding style Bonus:  Bonus From a plain HTML document to an interactive HTML document Form Client-side image map Java script Java applet Flash Frame or others. Extra Credit Assignments:  Extra Credit Assignments State your name, student ID, the question and the answer in a file Send your TA an email with the file in the attachment One assignment, one email Chinese or English, your pick The File:  The File Must be a plain text file File name: {Student ID}_c{The assignment number}.txt Example, B89703093_c1.txt State your names, and student ID in at the beginning of the file Then the question and answer The Email:  The Email Subject of the email: Introduction to Computer Science Credit Assignment #{The credit number} Example, Introduction to Computer Science Credit Assignment #1 Include the text file in the attachment No content required in the email body Let’s do the extra credit #1 for example:  Let’s do the extra credit #1 for example Extra Credit #1:  Extra Credit #1 Your name, department, year, student ID, url to your homepage (if there is one) 8 questions Surfing the Internet? Playing games? Word processing? Spreadsheet making? Buying your own PC parts? Installing your own OS/applications? Programming? HTML, C, Java Ever heard about Linux? B78201035_c1.txt:  B78201035_c1.txt Name : Polly Huang Student ID : B78201035 Q1: State your name, department, year, student ID, URL to your homepage (if there is one) A1: Polly Huang, Mathematics, Freshman, B78201035, http://www.math.ntu.edu.tw/~b78201035/ Q2: Have you used a computer for surfing the Internet? A2: Yes Q3: Have you used a computer for playing games? A3: Yes Q4: Have you used a computer for word processing? A4: Yes Q5: Have you used a computer for spreadsheet making? A5: Yes Q6: Have you bought your own PC parts before? A6: Yes Q7: Have you installed your OS/application before? A7: Yes Q8: Have you done any programming before? A8: Yes, HTML, C, C++ Q9: Have you heard of Linux before? A9: Yes Email Part:  Email Part Send to: [email protected] Cc: Attachment: 1. B78201035_c1.txt Subject: Introduction to Computer Science Credit Assignment #1 ------------------------Message Text------------------------------------- (OK to leave blank here) Extra Credit #2:  Extra Credit #2 What if you have 8 slots? In decimal system 0, 1, 2, 3… ? (?) In Turing machine 1, 11, 111, …, ? Translated: 0, 1, 2, …, ? In binary system 0, 1, 10, 11, …, ? Translated: 0, 1, 2, 3, …, ? (?) _ _ _ _ _ _ _ _ _ B78201035_c2.txt:  B78201035_c2.txt Name : Polly Huang Student ID : B78201035 If there are 8 slots of memory, Q1: What are the possible numbers that can be represented in the decimal system? A1: 0, 1, 2, …, 99999999 Q2: What is the total number of numbers can be represented in the decimal system? A2: 10^8 Q3: What are the possible numbers that can be represented in the Turing machine? A3: Q4: What is the total number of numbers can be represented in the Turing machine? A4: Q5: What are the possible numbers that can be represented in the binary system? A5: Q6: What is the total number of numbers can be represented in the binary system? A6: Email Part:  Email Part Send to: [email protected] Cc: Attachment: 1. B78201035_c2.txt Subject: Introduction to Computer Science Credit Assignment #2 ------------------------Message Text------------------------------------- (OK to leave blank here) Distinguished Lecture:  Distinguished Lecture Classical Physics and the Church-Turing Thesis Dr. Andrew Chi-Chih Yao 姚期智 Turing Award 2000 Princeton University, 台大物理67 3/7 Friday 2 pm, 資訊館103 Turing Award?:  Turing Award? Alfred Nobel 1833-1896 Chemistry Dynamite Nobel Prize Physics, Chemistry, Medicine, Literature, Economics, Peace Alan Turing 1916-1954 Mathematics Turing machine Turing Award Computer Science Source: http://www.nobel.se/nobel/alfred-nobel/biographical/life-work/index.html Source: http://www.turingarchive.org/ Helper Needed:  Helper Needed Move the PC 新202 to any entrance of NTU Office Hours:  Office Hours Office hour changed to Thursday 12-2 Questions?:  Questions? More About 0 and 1:  More About 0 and 1 100 = 4 or 1100100?:  100 = 4 or 1100100? Depents! The Meaning of 10:  The Meaning of 10 0 0 1 0 The Meaning of 100:  The Meaning of 100 0 1 0 0 100 in binary system = 4 in decimal system Convert Binary to Decimal:  Convert Binary to Decimal 1 1 1 1 23 22 21 20 8 4 2 1 Another Example:  Another Example 0 1 0 0 26 25 24 23 22 21 20 64 32 16 8 4 2 1 1 1 0 64+32+ 4 = 100 1100100 in binary system = 100 in decimal system Convert Decimal to Binary:  Convert Decimal to Binary 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 X 100 36 X 4 X 0 Another Example:  Another Example 28 27 26 25 24 23 22 21 20 256 128 64 32 16 8 4 2 1 X 200 72 X 8 X 0 Notice Something?:  Notice Something? 100 200 ? 400 In Decimal System:  In Decimal System 1,100,100 11,001,000 110,010,000 In Binary System:  In Binary System 100 200 400 Review the Adder:  Review the Adder Be the Computer…:  Be the Computer… The State Machine:  _ _ The State Machine + _ _ _ _ _ Carry Z _ 0 1 1 0 0 1 0 Y 0 1 1 0 0 1 0 0 X 0 _ _ _ 1 0 0 256 128 64 32 16 8 4 2 1 Hardware Speedup:  Hardware Speedup + . . . Today’s Computer Conceptual View:  Today’s Computer Conceptual View Processor Input Output Memory (short term data) Storage (long term data) Today’s Computer Real Life View:  Today’s Computer Real Life View Inside Your PC:  Inside Your PC Input/Output Take a PC apart Storage Processing Other parts not on standard teaching material Find me a PC in fair price Today’s Computer Real Life View:  Today’s Computer Real Life View Input devices:  Input devices Accept data or commands and convert them to electronic form Getting data into the computer Typing on a keyboard Pointing with a mouse Scanning with a wand reader or bar-code reader Mouse:  Mouse Mechanical Optical Keyboard:  Keyboard Clicking sound or not Tighter or looser Up to one’s choice Scanner:  Scanner Size Resolution Colors Today’s Computer Real Life View:  Today’s Computer Real Life View Output devices:  Output devices Convert from electronic form to some other form Getting data out of the computer Displaying on a monitor Printed out with a printer Played out with speakers Monitor:  Monitor CRT or LCD Size Ex. 15’ Resolution Ex. 1280*1024 Contrast Ex. 400:1 Printer:  Printer Color or not Laser or not Speed Ex. 8ppm (8 pages per minute) Additional functions Fax, copy, scan Speaker:  Speaker Stereo or not Power output Ex. 120W Very wide range Up to one’s choice Today’s Computer Real Life View:  Today’s Computer Real Life View Let’s Open One Up:  Let’s Open One Up Hope I don’t break any parts! Feel free to come forward to observe. Photographer needed, anyone? Storage:  Storage Long-term storage Data and programs remain on the storage space until deleted specifically Storing data/programs on various media Floppy disk Hard disk CD-ROM Floppy Disk Drive:  Floppy Disk Drive Storing or retrieving data and programs from a floppy disk Pretty standard 3.5”, 1.44MB Twisted cable For drive A Floppy Internal:  Floppy Internal Inside a floppy disk Inside a floppy disk drive Tapes circled up Disk rotates Head slides Hard Disk:  Hard Disk Size Ex. 60GB Speed Ex. 7200rpm rpm - rounds per minute Durability Hard Disk Internal:  Hard Disk Internal Birdseye View Profile CD-ROM Drive:  CD-ROM Drive CD-ROM R Drive Read only Read from both CD-R and CD-RW Read speed, ex. 54x CD-ROM RW Drive Read and Write Read from both CD-R and CD-RW Write on CD-RW Write to CD-R, Rewrite to CD-RW, Read speed, ex 40x12x48x CD-ROM Disk Internal:  CD-ROM Disk Internal CD-ROM Drive Internal:  CD-ROM Drive Internal Today’s Computer Real Life View:  Today’s Computer Real Life View Processing:  Processing CPU Central Processing Unit Memory Storing or retrieving data and programs currently in use CPU:  CPU Execute programs Manipulate data Communicate between other parts of a PC Speed, ex. 2GHz CPU Internal:  CPU Internal Memory:  Memory Data and programs disappear after task completed or power turned off Size, ex. 256MB Speed, ex. 266MHz Type, ex. DDR, DIMM, SIMM… People Also Classify This Way:  People Also Classify This Way Memory Primary storage Temporary storage Storage Secondary storage Long-term storage Your PC: More Than a Computer:  Your PC: More Than a Computer Computer Attached to the motherboard CPU, Memory Peripheral equipment Connected to the computer by a cable Input, output, storage Parts Not Mentioned Yet:  Parts Not Mentioned Yet Motherboard Holds CPU, memory, PCI bays, etc Sound card Ex. 16bit sound or …wide variety Video card Ex. VRAM 64MB… wide variety Network card 100Mbps Power Unit Ex. 300W Questions?:  Questions? Show Time!:  Show Time! Break into 12 Groups My Requirement:  My Requirement CPU 2GHz Memory 512MB Video card 32MB HD 80GB Monitor LCD, 15” Motherboard Sound card (if not on the motherboard already) Network card Floppy CD-R Drive CD-RW Drive Power unit Case Speaker Mouse Keyboard How much? Take Your Time:  Take Your Time If you have questions, just ask I might not know all though Those who know, please help (class participation…) Let me know your offer by the end of the class $$ or not sufficient information How did you come up with the $$ Easier to start from modifying a package Coming Up:  Coming Up Operating system (OS) To operate all the parts we talk about today Well-known ones Windows vs. Linux For each part, What does the OS need to do Ways of doing it How Linux does it How much?:  How much? Group 1 31500 Group 2 27700 Group 3 25999 Group 4 24900 Group 5 23449 Group 6 28840 Group 7 734f00 Group 8 Group 9 Group 10 Group 11 Group 12

Related presentations


Other presentations created by Dabby

Propaganda Comparativa
16. 11. 2007
0 views

Propaganda Comparativa

ch 6 ppt
15. 06. 2007
0 views

ch 6 ppt

Feudal Japan Origin Religion
09. 10. 2007
0 views

Feudal Japan Origin Religion

Riedel DASER2
25. 09. 2007
0 views

Riedel DASER2

Shen CRF
25. 09. 2007
0 views

Shen CRF

Anna
11. 10. 2007
0 views

Anna

TheatreHistoryO
17. 10. 2007
0 views

TheatreHistoryO

panama 5
22. 10. 2007
0 views

panama 5

Lesson 1 Intro and Pre WW II
22. 10. 2007
0 views

Lesson 1 Intro and Pre WW II

gf5
25. 09. 2007
0 views

gf5

hao discr prob mod rel dat
25. 09. 2007
0 views

hao discr prob mod rel dat

Correcting News Mistakes
05. 10. 2007
0 views

Correcting News Mistakes

MRCME Febrile Rash
23. 10. 2007
0 views

MRCME Febrile Rash

Microfinance MDGs
28. 11. 2007
0 views

Microfinance MDGs

kinetic models
25. 09. 2007
0 views

kinetic models

rtc
16. 10. 2007
0 views

rtc

debate
26. 10. 2007
0 views

debate

SALSA RTE Burchardt Frank
01. 11. 2007
0 views

SALSA RTE Burchardt Frank

Behav Interv Gay MA Users
02. 11. 2007
0 views

Behav Interv Gay MA Users

usits2001 talk
29. 10. 2007
0 views

usits2001 talk

ECCR IU Mar15 07
21. 11. 2007
0 views

ECCR IU Mar15 07

Lesson 1 Introduction
28. 12. 2007
0 views

Lesson 1 Introduction

99 ChemAware Chapter 03
02. 01. 2008
0 views

99 ChemAware Chapter 03

Dr G B Reddy
03. 01. 2008
0 views

Dr G B Reddy

Sloboda Prague
25. 09. 2007
0 views

Sloboda Prague

ber
02. 08. 2007
0 views

ber

05 bandura
02. 08. 2007
0 views

05 bandura

Robins
25. 09. 2007
0 views

Robins

Comp Gen Phylo HMM
25. 09. 2007
0 views

Comp Gen Phylo HMM

plkongres2007 crop 04
04. 10. 2007
0 views

plkongres2007 crop 04

lysenko
26. 11. 2007
0 views

lysenko

CNE120 11 8 04
02. 08. 2007
0 views

CNE120 11 8 04

Martin Hilbert
22. 10. 2007
0 views

Martin Hilbert

antioxidants
04. 03. 2008
0 views

antioxidants

presentation reynolds
07. 11. 2007
0 views

presentation reynolds

certeau present
03. 01. 2008
0 views

certeau present

NewBrunswick
12. 03. 2008
0 views

NewBrunswick

JVM models in ACL2
25. 09. 2007
0 views

JVM models in ACL2

ge203 08
25. 03. 2008
0 views

ge203 08

Q307 englanti
26. 03. 2008
0 views

Q307 englanti

auerickson
25. 09. 2007
0 views

auerickson

EcologicalFootprints
07. 04. 2008
0 views

EcologicalFootprints

TradeinHealthService s130207
28. 03. 2008
0 views

TradeinHealthService s130207

april cyprus lnarayanan
30. 03. 2008
0 views

april cyprus lnarayanan

BRAMBLE
31. 12. 2007
0 views

BRAMBLE

Macro course 2005 lecture 4
09. 04. 2008
0 views

Macro course 2005 lecture 4

summit2008a
10. 04. 2008
0 views

summit2008a

Wayne NY NJPresentation
13. 04. 2008
0 views

Wayne NY NJPresentation

AE2 C04 2007
14. 04. 2008
0 views

AE2 C04 2007

Rinolfi
17. 10. 2007
0 views

Rinolfi

HDX4000 Training NA
22. 04. 2008
0 views

HDX4000 Training NA

chapman poster 14jan05
25. 09. 2007
0 views

chapman poster 14jan05

BBC Series State of the Earth
08. 10. 2007
0 views

BBC Series State of the Earth

1960spowerpoint
02. 11. 2007
0 views

1960spowerpoint

hansjeppson
15. 10. 2007
0 views

hansjeppson

hegel
05. 01. 2008
0 views

hegel

exec blue 060120
18. 06. 2007
0 views

exec blue 060120

Ethiopia session II
18. 06. 2007
0 views

Ethiopia session II

emergenuity
18. 06. 2007
0 views

emergenuity

experiencia aenor
18. 06. 2007
0 views

experiencia aenor

India Work Plan UNCT
07. 01. 2008
0 views

India Work Plan UNCT

Tropsha 4 5 05
24. 11. 2007
0 views

Tropsha 4 5 05

posterH2OinPFCs
01. 01. 2008
0 views

posterH2OinPFCs

etd2004
12. 10. 2007
0 views

etd2004

chi00
19. 11. 2007
0 views

chi00

38613SciTechStudies1
16. 10. 2007
0 views

38613SciTechStudies1

educause 2004 Fedora
25. 09. 2007
0 views

educause 2004 Fedora

cours7
23. 10. 2007
0 views

cours7

comics
15. 06. 2007
0 views

comics

Columbia Political Cartoons
15. 06. 2007
0 views

Columbia Political Cartoons

Collins Math Stats2
15. 06. 2007
0 views

Collins Math Stats2

Chapter Eight student version
15. 06. 2007
0 views

Chapter Eight student version

blagues
15. 06. 2007
0 views

blagues

Anime Manga Pres
15. 06. 2007
0 views

Anime Manga Pres

1193 Cartoons pig
15. 06. 2007
0 views

1193 Cartoons pig

1 cartoon
15. 06. 2007
0 views

1 cartoon

PBOCJapan060103
09. 10. 2007
0 views

PBOCJapan060103

control
15. 06. 2007
0 views

control

jcdl contentmodels
25. 09. 2007
0 views

jcdl contentmodels

curso dq abp joao
28. 12. 2007
0 views

curso dq abp joao

conf present 045
07. 01. 2008
0 views

conf present 045

05 International Conflict
23. 11. 2007
0 views

05 International Conflict

banse1
15. 06. 2007
0 views

banse1

Feg Express
18. 06. 2007
0 views

Feg Express

Fantasztikus programozas
18. 06. 2007
0 views

Fantasztikus programozas

smp99
25. 09. 2007
0 views

smp99

efg pr005
07. 11. 2007
0 views

efg pr005

F8 Femenino
18. 06. 2007
0 views

F8 Femenino

9 3 DEPAC SLPRS Ppresentation
29. 11. 2007
0 views

9 3 DEPAC SLPRS Ppresentation

geer sesiposter
25. 09. 2007
0 views

geer sesiposter