logging in or signing up intro CS 3 Dabby Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 162 Category: Entertainment License: All Rights Reserved Like it (1) Dislike it (0) Added: October 16, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Introduction to Computersfor Non-EECS Major: Introduction to Computers for Non-EECS Major Polly Huang EE NTU http://cc.ee.ntu.edu.tw/~phuang phuang@cc.ee.ntu.edu.twToday: Today Administrative issues Labs, web page project, extra credit assignments, distinguished lecture 0 and 1 Decimal to binary Add table Inside your PCLabs: Labs Only 2 sessions Monday 3-5pm Wednesday 2-4pm You will be informed of the starting weekWeb 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 pickThe 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 answerThe 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 bodyLet’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: YesEmail Part: Email Part Send to: tsowang@hpc.ee.ntu.edu.tw 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: tsowang@hpc.ee.ntu.edu.tw 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, 資訊館103Turing 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 NTUOffice Hours: Office Hours Office hour changed to Thursday 12-2Questions?: 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 0The Meaning of 100: The Meaning of 100 0 1 0 0 100 in binary system = 4 in decimal systemConvert Binary to Decimal: Convert Binary to Decimal 1 1 1 1 23 22 21 20 8 4 2 1Another 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 systemConvert 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 0Another 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 0Notice Something?: Notice Something? 100 200 ? 400In Decimal System: In Decimal System 1,100,100 11,001,000 110,010,000In Binary System: In Binary System 100 200 400Review 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 1Hardware Speedup: Hardware Speedup + . . .Today’s ComputerConceptual View: Today’s Computer Conceptual View Processor Input Output Memory (short term data) Storage (long term data)Today’s ComputerReal Life View: Today’s Computer Real Life ViewInside 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 priceToday’s ComputerReal 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 readerMouse: Mouse Mechanical OpticalKeyboard: Keyboard Clicking sound or not Tighter or looser Up to one’s choiceScanner: Scanner Size Resolution ColorsToday’s ComputerReal Life View: Today’s Computer Real Life ViewOutput 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 speakersMonitor: Monitor CRT or LCD Size Ex. 15’ Resolution Ex. 1280*1024 Contrast Ex. 400:1Printer: Printer Color or not Laser or not Speed Ex. 8ppm (8 pages per minute) Additional functions Fax, copy, scanSpeaker: Speaker Stereo or not Power output Ex. 120W Very wide range Up to one’s choiceToday’s ComputerReal 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-ROMFloppy 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 AFloppy Internal: Floppy Internal Inside a floppy disk Inside a floppy disk drive Tapes circled up Disk rotates Head slidesHard Disk: Hard Disk Size Ex. 60GB Speed Ex. 7200rpm rpm - rounds per minute DurabilityHard Disk Internal: Hard Disk Internal Birdseye View ProfileCD-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 40x12x48xCD-ROM Disk Internal: CD-ROM Disk InternalCD-ROM Drive Internal: CD-ROM Drive InternalToday’s ComputerReal Life View: Today’s Computer Real Life View Processing: Processing CPU Central Processing Unit Memory Storing or retrieving data and programs currently in useCPU: CPU Execute programs Manipulate data Communicate between other parts of a PC Speed, ex. 2GHzCPU Internal: CPU InternalMemory: 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 storageYour 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, storageParts 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. 300WQuestions?: Questions? Show Time!: Show Time! Break into 12 GroupsMy 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 packageComing 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 itHow 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 You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
intro CS 3 Dabby Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 162 Category: Entertainment License: All Rights Reserved Like it (1) Dislike it (0) Added: October 16, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Introduction to Computersfor Non-EECS Major: Introduction to Computers for Non-EECS Major Polly Huang EE NTU http://cc.ee.ntu.edu.tw/~phuang phuang@cc.ee.ntu.edu.twToday: Today Administrative issues Labs, web page project, extra credit assignments, distinguished lecture 0 and 1 Decimal to binary Add table Inside your PCLabs: Labs Only 2 sessions Monday 3-5pm Wednesday 2-4pm You will be informed of the starting weekWeb 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 pickThe 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 answerThe 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 bodyLet’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: YesEmail Part: Email Part Send to: tsowang@hpc.ee.ntu.edu.tw 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: tsowang@hpc.ee.ntu.edu.tw 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, 資訊館103Turing 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 NTUOffice Hours: Office Hours Office hour changed to Thursday 12-2Questions?: 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 0The Meaning of 100: The Meaning of 100 0 1 0 0 100 in binary system = 4 in decimal systemConvert Binary to Decimal: Convert Binary to Decimal 1 1 1 1 23 22 21 20 8 4 2 1Another 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 systemConvert 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 0Another 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 0Notice Something?: Notice Something? 100 200 ? 400In Decimal System: In Decimal System 1,100,100 11,001,000 110,010,000In Binary System: In Binary System 100 200 400Review 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 1Hardware Speedup: Hardware Speedup + . . .Today’s ComputerConceptual View: Today’s Computer Conceptual View Processor Input Output Memory (short term data) Storage (long term data)Today’s ComputerReal Life View: Today’s Computer Real Life ViewInside 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 priceToday’s ComputerReal 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 readerMouse: Mouse Mechanical OpticalKeyboard: Keyboard Clicking sound or not Tighter or looser Up to one’s choiceScanner: Scanner Size Resolution ColorsToday’s ComputerReal Life View: Today’s Computer Real Life ViewOutput 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 speakersMonitor: Monitor CRT or LCD Size Ex. 15’ Resolution Ex. 1280*1024 Contrast Ex. 400:1Printer: Printer Color or not Laser or not Speed Ex. 8ppm (8 pages per minute) Additional functions Fax, copy, scanSpeaker: Speaker Stereo or not Power output Ex. 120W Very wide range Up to one’s choiceToday’s ComputerReal 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-ROMFloppy 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 AFloppy Internal: Floppy Internal Inside a floppy disk Inside a floppy disk drive Tapes circled up Disk rotates Head slidesHard Disk: Hard Disk Size Ex. 60GB Speed Ex. 7200rpm rpm - rounds per minute DurabilityHard Disk Internal: Hard Disk Internal Birdseye View ProfileCD-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 40x12x48xCD-ROM Disk Internal: CD-ROM Disk InternalCD-ROM Drive Internal: CD-ROM Drive InternalToday’s ComputerReal Life View: Today’s Computer Real Life View Processing: Processing CPU Central Processing Unit Memory Storing or retrieving data and programs currently in useCPU: CPU Execute programs Manipulate data Communicate between other parts of a PC Speed, ex. 2GHzCPU Internal: CPU InternalMemory: 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 storageYour 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, storageParts 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. 300WQuestions?: Questions? Show Time!: Show Time! Break into 12 GroupsMy 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 packageComing 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 itHow 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