SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
Dr Kathy Egea




COMP1900 week 3        1
   More on computers (cont from week 2)
    ◦ Digitization of data and its storage

   Interface as mediator…




                                     COMP1900 week 3   2
   History of computers
   Computer functions
   Bits and bytes
   Software – application programs and system
    programs
   Storage of data – hardware
   Input of data – hardware




                              COMP1900 week 3    3
   bits
    ◦ Bits are tiny electrical components that can hold a
      very small positive charge (represented as 1) or
      negative charge (represented as 0)
    ◦ speed of processing data is described in bits

   bytes
    ◦ One byte is divided into 8 bits (binary digit)
    ◦ A byte can store a letter of alphabet or a small
      number, see next page
    ◦ storage of data (ie in computer memory) is divided
      into these tiny storage locations described in bytes


                                    COMP1900 week 3          4
   Bit – 0 or 1
    byte = 8 bits

   Eg 10011101

   This represents the number 157, How?

   Using binary notation
    ◦ Each position is a power of 2, with the lowest power
      on the left
    ◦ Compare with the decimal system 245
    ◦ 235 = 200 + 30 + 5
          = 2 * 102 + 3 * 101 + 5 * 100 ( note that 100 = 1)


                                     COMP1900 week 3           5
1    0    0     1    1    1    0    1

                                                    20 (=1)

                                                    21 (= 2)

                                                    22 (= 4)

                                                    23 (= 8)

                                                    24 (=16)

                                                    25 (=32)

                                                    26 (=64)

                                                    27 (=128)


10011101 = 1 * 27 + 0*26+ 0 * 25 + 1 *24 + 1 * 23 + 1 * 22+ 0 * 21 + 1 * 20
          = 1 * 128 + 0*64 + 0 * 32 + 1 *16 + 1 * 8 + 1 * 4 + 0 * 2 + 1 * 1
          = 128 + 0 + 0 + 16 + 8 + 4+ 0 + 1
          = 157
                                                COMP1900 week 3               6
Any digital data
 Numbers
 Characters
 images (Pixels) – see
  image
 Music – digitized sound
  wave (samples)
 ◦ Quality CD song is divided
   into 44,000 samples per
   second


                                COMP1900 week 3   7
Hard drive disk (Magnetic storage)
– data stored in concentric circles called tracks;
- pie shaded wedges – sectors;
- cluster is a group of sectors on one track
- drive stores an index of all the sector (and track) numbers
in a table



                                 Disk structure:
                                 (A) track
                                 (B) geometrical sector
                                 (C) track sector
                                 (D) cluster




                                             COMP1900 week 3    8
A cross section of the magnetic surface in action.




                       COMP1900 week 3               9
   Saving a file
    ◦ Computer looks at the table to see what clusters
      are free, record the file information on the available
      clusters ( ie writes the bits that make up the file on
      one or more clusters of the drive)
   Opening a file
    ◦ computer searches the table to locate marker for
      clusters, locates the file data and reads the file
   Deleting a file
    ◦ delete only the reference in the table



                                     COMP1900 week 3           10
   First computers were mainframes (eg IBM 360)
   Computers work using programs (set of
    instructions)
   CPU or processor executes these programs
   Program entry via
    ◦ Teletype (line by line interaction with computer)
    ◦ Batch mode processing (series of cards with holes)
      Process could take all night to get output from the computer
      Ie big calculator.




                                            COMP1900 week 3           11
   Invention of microprocessor – 1972
   Intel 8080 (1973) – 8 bit processor
   First PC - Altair 8800 cost $395
   Video –
    ◦ How the Altair 8800 started the PC revolution (Part 1)


   So what does the Altair do? How?




                                         COMP1900 week 3       12
   Next stage:
   Video: How the Altair 8800 started the PC revolution (Part 2)

   Outcomes:..
   Operating system
   Software usage




                                        COMP1900 week 3             13
   Jobs and Woznaik – founders of Apple
    ◦ idea to selling formation processing machines for
      use in the home (1982)
    ◦ Video: advertising campaign for Macintosh
    ◦ (physical reality)
   Bill Gates and Paul Allen
    ◦ Idea to sell computer operating systems
    ◦ Video: foundation of Microsoft
    ◦ No physical reality – it came in a disk!




                                    COMP1900 week 3       14
   Mac
   Windows
   Linux
   Red Hat
   UNIX
   Sugar OS (XO computer for kids)




                              COMP1900 week 3   15
COMP1900 week 3   16
   Computers platform
   = OS + microsprocessor (CPU)
Introducing the Mac
Classic Mac OS (1984–2001)
    1984 –
    Mac OS first commercial GUI


          Mac OS X (since 2000)



                            COMP1900 week 3   17
   Windows PC (Bill Gates)
   1985 – Windows 1.0
   The first version of Microsoft Windows
    included
    ◦   Windows Paint, a simple graphics paint program
    ◦   Windows Write, a simple word processor
    ◦   An appointment calendar
    ◦   A cardfiler
    ◦   MS notepad
    ◦   A clock
    ◦   A control panel
    ◦   Game called Reversi
    ◦   Clipboard

                                    COMP1900 week 3      18
   MAC OS vs Windows OS
    ◦ not interchangeable
    ◦ Different processors, and software platform
      dependent
    Mac system better reliability, better documentary
      recovery, but more expensive that PCs
    ◦ Mac OS X Leopard built on UNIX OS with intel chip
    Now designed to share same files
    ◦ Today Mac and Windows – very similar GUI
    ◦ Video: Microsoft's Vista Copies Apple OS?
              Jan 2007, New York Times Technology :
http://www.youtube.com/watch?v=JKuYQwm1yNs&feature=related




                                                             19
                                         COMP1900 week 3
Linux
 ‘Linux is a free Unix-type operating system
  originally created by Linus Torvalds with the
  assistance of developers around the world.
  Developed under the GNU General Public
  License , the source code for Linux is freely
  available to everyone’
 See http://www.linux.org/




                             COMP1900 week 3      20
   One Laptop per child’
   XO computer, uses Sugar OS
    ◦ focuses on activities rather than applications, first screen has
      icons representing home, friends, neighbourhood
   Computer has built in microphone, and webcam for mm
    creations
   Emphasis is on learning by exploring and expressing
   collaborate, wireless mesh network
    ◦ potential for every activity to be networked, browsing, extend
      community beyond borders
   Uses a journaling technique for file management –
    records what the children have done looking like a scrap
    book of events


                                              http://www.olpcnews.com/


                                            COMP1900 week 3              21
   Neil Stephenson (1999) .
   In the beginning there was the command line.
    ◦ http://www.locusmag.com/2004/Issues/08Stephenson.html




                                            COMP1900 week 3   22
   Intermediated experience
    ◦ Command line vs GUI cp Disney’s approach
    ◦ OS, software are intermediaries
       OS is a stack of metaphors and abstractions ..to covert
        the information you’re working on.. into the necklace
        of bytes that are the only things computers know how
        to work with. Stephenson (1999, p7).
   Structure
    ◦ GUI interface access to OS , hardware, software,
      networks, internet
    ◦ File system access to hard drive (HD)


                                       COMP1900 week 3            23
   Operating system, and application software,
    are intermediaries
    ◦ "Disney does mediated experiences better than
      anyone. If they understood what OSes are, and why
      people use them, they could crush Microsoft in a
      year or two." from "In the beginning".




                                  COMP1900 week 3         24
Result of hardware + software (OS + applications)
    ◦ Command line vs GUI interaction cp Disney’s approach
    ◦ Technological perspective:
      Direct control (user) vs system control (GUI) cp Disney’s
       immersive process
    ◦ User’s perspective
      user knowledge/preconceptions/expectation of operation;
      users want meaningful interaction
   Basic rule:
    ◦ User mental model to match system image (Normal
      1988)



                                          COMP1900 week 3          25
   Desktop/GUI gives access to
    ◦ file system, operating system, network,
      internet/www
   different layers of intermediary action
    ◦ network (OSI), hardware, operating system,
      and software
   file system gives access to hard-drives



                                COMP1900 week 3    26
End




      COMP1900 week 3   27

Weitere ähnliche Inhalte

Ähnlich wie COMP1900 L3 Week3 2009

Java Software Solution Chapter 1: Computer Systems Chapter 1: Computer Systems
Java Software Solution Chapter 1:  Computer Systems Chapter 1:  Computer SystemsJava Software Solution Chapter 1:  Computer Systems Chapter 1:  Computer Systems
Java Software Solution Chapter 1: Computer Systems Chapter 1: Computer SystemsNirviVashishtha
 
Computer Systems (JSA).pptx
Computer Systems (JSA).pptxComputer Systems (JSA).pptx
Computer Systems (JSA).pptxssuserb58d2d
 
Lec02-CS110 Computational Engineering
Lec02-CS110 Computational EngineeringLec02-CS110 Computational Engineering
Lec02-CS110 Computational EngineeringSri Harsha Pamu
 
3dfx, nvidia, Moore's Law and more...
3dfx, nvidia, Moore's Law and more...3dfx, nvidia, Moore's Law and more...
3dfx, nvidia, Moore's Law and more...Azul Systems
 
Computer Science 1 computer report 1.ppt.pdf
Computer Science 1 computer report 1.ppt.pdfComputer Science 1 computer report 1.ppt.pdf
Computer Science 1 computer report 1.ppt.pdfhareem53
 
Introduction to Big Data
Introduction to Big DataIntroduction to Big Data
Introduction to Big DataAlbert Bifet
 
My amazing journey from mainframes to smartphones chm lecture aug 2014 final
My amazing journey from mainframes to smartphones  chm lecture aug 2014 finalMy amazing journey from mainframes to smartphones  chm lecture aug 2014 final
My amazing journey from mainframes to smartphones chm lecture aug 2014 finalDileep Bhandarkar
 
SYSTEM CONCEPT
SYSTEM CONCEPTSYSTEM CONCEPT
SYSTEM CONCEPTKak Yong
 
Microkernels and Beyond
Microkernels and BeyondMicrokernels and Beyond
Microkernels and BeyondDavid Evans
 
Unit i-introduction
Unit i-introductionUnit i-introduction
Unit i-introductionakruthi k
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computerlina hajjar
 
Introduction to Computer System-ppt.pptx
Introduction to Computer System-ppt.pptxIntroduction to Computer System-ppt.pptx
Introduction to Computer System-ppt.pptxInfofarazMotivativeA
 
Introduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptxIntroduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptxShivanjaliChaurasia1
 

Ähnlich wie COMP1900 L3 Week3 2009 (20)

slides01.ppt
slides01.pptslides01.ppt
slides01.ppt
 
Java Software Solution Chapter 1: Computer Systems Chapter 1: Computer Systems
Java Software Solution Chapter 1:  Computer Systems Chapter 1:  Computer SystemsJava Software Solution Chapter 1:  Computer Systems Chapter 1:  Computer Systems
Java Software Solution Chapter 1: Computer Systems Chapter 1: Computer Systems
 
Computer Systems (JSA).pptx
Computer Systems (JSA).pptxComputer Systems (JSA).pptx
Computer Systems (JSA).pptx
 
slides01.ppt
slides01.pptslides01.ppt
slides01.ppt
 
Lecture 31.pdf
Lecture 31.pdfLecture 31.pdf
Lecture 31.pdf
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Lecture1 ch01
Lecture1 ch01Lecture1 ch01
Lecture1 ch01
 
Lec02-CS110 Computational Engineering
Lec02-CS110 Computational EngineeringLec02-CS110 Computational Engineering
Lec02-CS110 Computational Engineering
 
3dfx, nvidia, Moore's Law and more...
3dfx, nvidia, Moore's Law and more...3dfx, nvidia, Moore's Law and more...
3dfx, nvidia, Moore's Law and more...
 
Computer Science 1 computer report 1.ppt.pdf
Computer Science 1 computer report 1.ppt.pdfComputer Science 1 computer report 1.ppt.pdf
Computer Science 1 computer report 1.ppt.pdf
 
mix topic.pptx
mix topic.pptxmix topic.pptx
mix topic.pptx
 
Introduction to Big Data
Introduction to Big DataIntroduction to Big Data
Introduction to Big Data
 
My amazing journey from mainframes to smartphones chm lecture aug 2014 final
My amazing journey from mainframes to smartphones  chm lecture aug 2014 finalMy amazing journey from mainframes to smartphones  chm lecture aug 2014 final
My amazing journey from mainframes to smartphones chm lecture aug 2014 final
 
SYSTEM CONCEPT
SYSTEM CONCEPTSYSTEM CONCEPT
SYSTEM CONCEPT
 
1 basic computer course
1 basic computer course1 basic computer course
1 basic computer course
 
Microkernels and Beyond
Microkernels and BeyondMicrokernels and Beyond
Microkernels and Beyond
 
Unit i-introduction
Unit i-introductionUnit i-introduction
Unit i-introduction
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
Introduction to Computer System-ppt.pptx
Introduction to Computer System-ppt.pptxIntroduction to Computer System-ppt.pptx
Introduction to Computer System-ppt.pptx
 
Introduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptxIntroduction to Computer System-ppt-converted.pptx
Introduction to Computer System-ppt-converted.pptx
 

Kürzlich hochgeladen

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Kürzlich hochgeladen (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

COMP1900 L3 Week3 2009

  • 2. More on computers (cont from week 2) ◦ Digitization of data and its storage  Interface as mediator… COMP1900 week 3 2
  • 3. History of computers  Computer functions  Bits and bytes  Software – application programs and system programs  Storage of data – hardware  Input of data – hardware COMP1900 week 3 3
  • 4. bits ◦ Bits are tiny electrical components that can hold a very small positive charge (represented as 1) or negative charge (represented as 0) ◦ speed of processing data is described in bits  bytes ◦ One byte is divided into 8 bits (binary digit) ◦ A byte can store a letter of alphabet or a small number, see next page ◦ storage of data (ie in computer memory) is divided into these tiny storage locations described in bytes COMP1900 week 3 4
  • 5. Bit – 0 or 1 byte = 8 bits  Eg 10011101  This represents the number 157, How?  Using binary notation ◦ Each position is a power of 2, with the lowest power on the left ◦ Compare with the decimal system 245 ◦ 235 = 200 + 30 + 5 = 2 * 102 + 3 * 101 + 5 * 100 ( note that 100 = 1) COMP1900 week 3 5
  • 6. 1 0 0 1 1 1 0 1 20 (=1) 21 (= 2) 22 (= 4) 23 (= 8) 24 (=16) 25 (=32) 26 (=64) 27 (=128) 10011101 = 1 * 27 + 0*26+ 0 * 25 + 1 *24 + 1 * 23 + 1 * 22+ 0 * 21 + 1 * 20 = 1 * 128 + 0*64 + 0 * 32 + 1 *16 + 1 * 8 + 1 * 4 + 0 * 2 + 1 * 1 = 128 + 0 + 0 + 16 + 8 + 4+ 0 + 1 = 157 COMP1900 week 3 6
  • 7. Any digital data  Numbers  Characters  images (Pixels) – see image  Music – digitized sound wave (samples) ◦ Quality CD song is divided into 44,000 samples per second COMP1900 week 3 7
  • 8. Hard drive disk (Magnetic storage) – data stored in concentric circles called tracks; - pie shaded wedges – sectors; - cluster is a group of sectors on one track - drive stores an index of all the sector (and track) numbers in a table Disk structure: (A) track (B) geometrical sector (C) track sector (D) cluster COMP1900 week 3 8
  • 9. A cross section of the magnetic surface in action. COMP1900 week 3 9
  • 10. Saving a file ◦ Computer looks at the table to see what clusters are free, record the file information on the available clusters ( ie writes the bits that make up the file on one or more clusters of the drive)  Opening a file ◦ computer searches the table to locate marker for clusters, locates the file data and reads the file  Deleting a file ◦ delete only the reference in the table COMP1900 week 3 10
  • 11. First computers were mainframes (eg IBM 360)  Computers work using programs (set of instructions)  CPU or processor executes these programs  Program entry via ◦ Teletype (line by line interaction with computer) ◦ Batch mode processing (series of cards with holes)  Process could take all night to get output from the computer  Ie big calculator. COMP1900 week 3 11
  • 12. Invention of microprocessor – 1972  Intel 8080 (1973) – 8 bit processor  First PC - Altair 8800 cost $395  Video – ◦ How the Altair 8800 started the PC revolution (Part 1)  So what does the Altair do? How? COMP1900 week 3 12
  • 13. Next stage:  Video: How the Altair 8800 started the PC revolution (Part 2)  Outcomes:..  Operating system  Software usage COMP1900 week 3 13
  • 14. Jobs and Woznaik – founders of Apple ◦ idea to selling formation processing machines for use in the home (1982) ◦ Video: advertising campaign for Macintosh ◦ (physical reality)  Bill Gates and Paul Allen ◦ Idea to sell computer operating systems ◦ Video: foundation of Microsoft ◦ No physical reality – it came in a disk! COMP1900 week 3 14
  • 15. Mac  Windows  Linux  Red Hat  UNIX  Sugar OS (XO computer for kids) COMP1900 week 3 15
  • 17. Computers platform  = OS + microsprocessor (CPU) Introducing the Mac Classic Mac OS (1984–2001) 1984 – Mac OS first commercial GUI  Mac OS X (since 2000) COMP1900 week 3 17
  • 18. Windows PC (Bill Gates)  1985 – Windows 1.0  The first version of Microsoft Windows included ◦ Windows Paint, a simple graphics paint program ◦ Windows Write, a simple word processor ◦ An appointment calendar ◦ A cardfiler ◦ MS notepad ◦ A clock ◦ A control panel ◦ Game called Reversi ◦ Clipboard COMP1900 week 3 18
  • 19. MAC OS vs Windows OS ◦ not interchangeable ◦ Different processors, and software platform dependent Mac system better reliability, better documentary recovery, but more expensive that PCs ◦ Mac OS X Leopard built on UNIX OS with intel chip Now designed to share same files ◦ Today Mac and Windows – very similar GUI ◦ Video: Microsoft's Vista Copies Apple OS? Jan 2007, New York Times Technology : http://www.youtube.com/watch?v=JKuYQwm1yNs&feature=related 19 COMP1900 week 3
  • 20. Linux  ‘Linux is a free Unix-type operating system originally created by Linus Torvalds with the assistance of developers around the world. Developed under the GNU General Public License , the source code for Linux is freely available to everyone’  See http://www.linux.org/ COMP1900 week 3 20
  • 21. One Laptop per child’  XO computer, uses Sugar OS ◦ focuses on activities rather than applications, first screen has icons representing home, friends, neighbourhood  Computer has built in microphone, and webcam for mm creations  Emphasis is on learning by exploring and expressing  collaborate, wireless mesh network ◦ potential for every activity to be networked, browsing, extend community beyond borders  Uses a journaling technique for file management – records what the children have done looking like a scrap book of events http://www.olpcnews.com/ COMP1900 week 3 21
  • 22. Neil Stephenson (1999) .  In the beginning there was the command line. ◦ http://www.locusmag.com/2004/Issues/08Stephenson.html COMP1900 week 3 22
  • 23. Intermediated experience ◦ Command line vs GUI cp Disney’s approach ◦ OS, software are intermediaries  OS is a stack of metaphors and abstractions ..to covert the information you’re working on.. into the necklace of bytes that are the only things computers know how to work with. Stephenson (1999, p7).  Structure ◦ GUI interface access to OS , hardware, software, networks, internet ◦ File system access to hard drive (HD) COMP1900 week 3 23
  • 24. Operating system, and application software, are intermediaries ◦ "Disney does mediated experiences better than anyone. If they understood what OSes are, and why people use them, they could crush Microsoft in a year or two." from "In the beginning". COMP1900 week 3 24
  • 25. Result of hardware + software (OS + applications) ◦ Command line vs GUI interaction cp Disney’s approach ◦ Technological perspective:  Direct control (user) vs system control (GUI) cp Disney’s immersive process ◦ User’s perspective  user knowledge/preconceptions/expectation of operation;  users want meaningful interaction  Basic rule: ◦ User mental model to match system image (Normal 1988) COMP1900 week 3 25
  • 26. Desktop/GUI gives access to ◦ file system, operating system, network, internet/www  different layers of intermediary action ◦ network (OSI), hardware, operating system, and software  file system gives access to hard-drives COMP1900 week 3 26
  • 27. End COMP1900 week 3 27