Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

L2 cs110 jcu-sindonirev04092011


Published on

Slides for lesson 2 - CS110-3@JCU

Published in: Technology
  • Be the first to comment

  • Be the first to like this

L2 cs110 jcu-sindonirev04092011

  1. 1. Microcomputer applications<br />Fall semester 2011<br />Day 2: types of software, computing environments<br />Professor: Giuseppe Sindoni (<br />This material is distributed under the “Creative Commons “Attribution – NonCommercial – Share Alike 3.0” , available at<br />
  2. 2. CS110 Microcomputer applications – G. Sindoni<br />2<br />What is Software (SW)?<br />The logical component of a computer <br />Set of instructions to solve a problem by processing data<br />Types of Software:<br />System software: <br />the operating system<br />Application software<br />Foglio Elettronico<br />Browser<br />Elaboratore di Testi<br />Database<br />E molti altri SW applicativi<br />
  3. 3. CS110 Microcomputer applications – G. Sindoni<br />3<br />Operating system<br />Set of procedures that manages the computer’s hardware; loaded into the main memory on booting up and remains there until computer is turned off.<br />Main components:<br />Resource manager: manages CPU, RAM, mass storage, input and output devices.<br />Process manager: manages open programs. <br />User interface -> see below... <br />File manager-> see below... <br />
  4. 4. CS110 Microcomputer applications – G. Sindoni<br />4<br />User interface<br />Allows users to input instructions to use the system.<br />Command line interface (CLI): the original interface mode, still in use for complex tasks. Based on text commands.<br />Graphical User Interface (GUI): graphics-based interaction to enable less expert users to use the computer. Usually based on an analogy of a working environment (Desktop, Folders, Trash, Notes, etc.)‏.<br />Operating systems and their user interface: DOS, Windows, Linux, Mac OS, Android, iOS.<br />
  5. 5. CS110 Microcomputer applications – G. Sindoni<br />5<br />File management<br />C:DocumentsReportsThesis.doc<br /> Root Folder Subfolder File name Extension<br />File: set of homogeneous data stored as a single item in a mass storage device. <br />Files have attributes like name, type, creation or last modification date, dimension. <br />Each Operating System uses a specific file organization called “File System”.<br />Folders are logical containers of files (directory). They can contain subfolders.<br />
  6. 6. CS110 Microcomputer applications – G. Sindoni<br />6<br />Application software - 1<br />Personal productivity programs are the main reason for the success and spread of PCs:<br />Word processors, for editing of complex texts (Word, Writer, Pages, Google Documents).<br />Spreadsheets, for complex calculations and simple data analysis (Excel, Calc, Numbers, Google spreadsheets).<br />Presentation tools (PowerPoint, Impress, KeyNote, Google presentations).<br />Databases for personal data management (Access, Base).<br />Currently available office suites: Microsoft Office,, StarOffice, iWork<br />
  7. 7. CS110 Microcomputer applications – G. Sindoni<br />7<br />Application software - 2<br />Browsers: Internet Explorer, Mozilla Firefox, Chrome, Safari<br />Email clients: Outlook (Express), Mozilla Thunderbird.<br />Desktop Publishing<br />Computer Aided Design (CAD)<br />Enterprise Resource Planning (ERP)<br />Media Players<br />Graphics programs for drawing and retouching photos, programs for composing music, editing film, etc<br />Computer games <br />And many others...<br />
  8. 8. CS110 Microcomputer applications – G. Sindoni<br />8<br />Algorithms<br />Algorithms solve problems by tackling them in a systematic way. Examples include recipes and search engines.<br />In IT, algorithms are methods to solve problems that can be implemented as programs. <br />A procedure is a series of steps (sequence) implementing an algorithm.<br />A flowchart provides a graphic representation of the algorithm (procedure). Broadly speaking, flowcharts are a graphic modeling language to represent algorithms.<br />
  9. 9. CS110 Microcomputer applications – G. Sindoni<br />9<br />Example flowchart <br />
  10. 10. CS110 Microcomputer applications – G. Sindoni<br />10<br />Programming languages<br />Source<br />code<br />Used to control a machine’s behaviour. <br />In IT, they are used by programmers to instruct computers. <br />Machine language and assembly language, high level languages.<br />Program execution: compilation and interpretation<br />Object<br />code<br />
  11. 11. CS110 Microcomputer applications – G. Sindoni<br />11<br />Phases of software implementation<br />
  12. 12. CS110 Microcomputer applications – G. Sindoni<br />12<br />Computers in everyday life<br />Computers are used in the office and at home, for work and leisure.<br />Services available on the Internet and the Web:<br /><ul><li>E-commerce: transactions for selling goods and services between producers (supply) and consumers (demand).
  13. 13. E-banking: management of bank accounts and financial transactions.
  14. 14. E-government: IT-enabling of Public Administration (PA) services, aimed at optimizing organizations’ work and providing users (members of public and businesses) with newer, faster services (e.g. websites).
  15. 15. E-learning: learning over the Internet by long-distance access to teaching materials and tools.
  16. 16. Teleworking: use of ICT to overcome office boundaries and enable staff to work from home. Teleworking has both benefits and limitations.
  17. 17. Leisure time services…</li></li></ul><li>CS110 Microcomputer applications – G. Sindoni<br />13<br />Your health and the environment<br />Ergonomics. Suggestions for protecting the health of computer users:<br />Pay attention to back, wrist and eye discomfort;<br />Use a suitable chair (adjustable seat height, armrests, lower back support, 5-pedestal base);‏<br />Right keyboard position, wrist support;<br />Screen: straight in front of you, eliminate reflections, don’t stare at it too long, use a big screen;<br />Take frequent breaks: alternate computer and paper work as much as possible.<br />Environmental protection:<br />Reduce use of paper and toner/cartridges. Recycle waste where possible;<br />Use low-energy devices and energy saving options (PC configuration parameters).<br />
  18. 18. CS110 Microcomputer applications – G. Sindoni<br />14<br />Computer security: user identification<br />Security encompasses 3 aspects:<br />Confidentiality: data, services and devices can be accessed by enabled users only.<br />Integrity: security of data, services and devices; tracking every change.<br />Availability: those who have the right to use data, services and devices must be able to do so. <br />User identification is crucial. <br />Authentication: general rules for creating passwords.<br />Identification and personal data: each country has specific laws on protection of privacy. <br />
  19. 19. CS110 Microcomputer applications – G. Sindoni<br />15<br />Data security<br />Many causes of data and information loss or damage:<br />Failure of mass storage devices (e.g. hard disks);<br />Intrusion of external agents (e.g. viruses);<br />Theft (laptop, PDA, smartphone).<br /><ul><li>Many precautions to preventdata loss:
  20. 20. Backups. Compression techniques;
  21. 21. Firewalls and modern antivirus programs;
  22. 22. Mechanical blocking devices, disk encryption. </li></li></ul><li>CS110 Microcomputer applications – G. Sindoni<br />16<br />Computer viruses<br />Viruses are programs containing potentially harmful instructions. Main types:<br />True viruses: portions of a program which are activated when the program is executed. They can reproduce and cause trouble.<br />Worms: programs which exploit the net to infect other computers. They propagate via email and the Web. <br />Trojans: programs behaving in unexpected ways or opening doors to the “enemy”.<br />Where they hide:<br />Infected programs; they also spread as email attachments or are downloaded from “fake” websites.<br />Infected documents (MacroVirus).<br />Defence:<br />Antivirus programs. Keep them and operating systems updated. <br />Defence systems limiting access to local resources (e.g. Firewall)‏.<br />Common sense: do not open email attachments if you are not sure of their content; do not download software from unsafe websites.<br />
  23. 23. CS110 Microcomputer applications – G. Sindoni<br />17<br />Legal aspects: copyright<br />Copyright: software is usually protected by copyright laws. <br />The user license is called EULA (End User License Agreement).<br />Proprietary software can generally only be used on an individual basis: duplication and improper use are prohibited.<br />Other types of licence:<br />Freeware: usually downloaded from the Internet. Free, unrestricted use, can be freely copied and distributed.<br />Shareware: trial version usually downloaded from the Internet. The licence to continue using it or to access and use all its functions is usually cheap.<br />Open Source software -> day 5... <br />Most internet content - images, music, video, etc – is protected by copyright.<br />
  24. 24. CS110 Microcomputer applications – G. Sindoni<br />18<br />ICT history in a nutshell<br />1946 ENIAC, the first electronic computer: valve technology, programs written in machine code, physical connections between circuits.<br />1959 First transistors.<br />1965 IBM introduces 360 mainframe series: integrated circuit technology.<br />1969 ARPA-Net, the precursor of the internet.<br />1977 First Apple II microcomputer.<br />1981 First IBM Personal Computer with MS-DOS and Intel 8088.<br />1984 Apple Macintosh, mouse and graphical environment, laser printers.<br />1991 First Linux version.<br />1992 Microsoft Windows 3.1<br />1994 World Wide Web. First version of Netscape. Intel Pentium processor.<br />1998 AMD Athlon processor.<br />2001 Windows XP, rise of Linux.<br />2004 Rise of Google and spread of ADSL.<br />Web 2.0: Wikipedia, Flickr, YouTube, Facebook, etc.‏<br />iPhone<br />Android<br />
  25. 25. CS110 Microcomputer applications – G. Sindoni<br />19<br />Local computing<br />So far…<br />PC as a self-contained world<br />Software seen as something aimed at making a single PC work<br />Principle…<br />One person, one PC, a bunch of dedicated software programs running on it<br />
  26. 26. CS110 Microcomputer applications – G. Sindoni<br />20<br />Computer networks<br />Connect computers (millions of them).<br />Communication network: a system of computers, telephones or other connected devices, able to communicate with each other and share applications and data. Main types:<br />Local or LAN: Local Area Network. WLAN (Wireless LAN);<br />Geographic or WAN: Wide Area Network. MAN (Metropolitan Area Network);<br />Networks of networks or Networking. Internet.<br />
  27. 27. CS110 Microcomputer applications – G. Sindoni<br />21<br />Example of LAN<br />
  28. 28. CS110 Microcomputer applications – G. Sindoni<br />22<br />Client-Server architecture<br />Computers in a network can provide or use services.<br />Server: central computer connected with clients.<br />Contains collections of data and programs for clients <br />Servers can be general purpose or File Server, Database Server, or Printer Server, according to the services they offer.<br />Client: uses services made available by servers.<br />Connected via a wired or wireless network.<br />PC, workstation and other devices requesting services.<br />Web surfing example: browser and web server.<br />
  29. 29. CS110 Microcomputer applications – G. Sindoni<br />23<br />Network data transmission<br />Communication channels are the paths along which information travels:<br />Wired channels: telephone duplex cable, coaxial cable, optical fiber cable.<br />Wireless channels: radiofrequency, cell, satellite. <br />Transmission rate is measured in bits per second (bit/sec or baud). Multiples: Kbit/sec, Mbit/sec. <br />Communication protocols regulate communication between devices.<br />Network devices: Hub, Switch, Router, Bridge, Gateway <br />
  30. 30. CS110 Microcomputer applications – G. Sindoni<br />24<br />Home connections<br />To access the Internet from home we need:<br />An access device (modem, terminal, router, etc)‏.<br />A physical connection to a telephone, digital or mobile network.<br />An Internet Service Provider (ISP)‏.<br />Types of connection:<br />“Dial-up” with modem on a telephone network up to 56 Kbit/sec. Less and less used, available everywhere there’s a home telephone.<br />Digital network ISDN up to 128 kbit/sec: simultaneous data and voice transmission.<br />ADSL (Asymmetric Digital Subscriber Line) network: up to 24Mbit/sec, very widespread, AKA broadband. “Always on” connection. ‏<br />Optical fiber: no telephone line needed.<br />Cell: Radio-Modem USB.<br />
  31. 31. CS110 Microcomputer applications – G. Sindoni<br />25<br />What is the Internet?<br />The largest computer network.<br />Created in the 60s from an USA ARPA-DoD project.<br /><ul><li>A network of networks, based on the TCP/IP (TCP, IP, UDP, FTP, NNTP, HTTP). They are public and open.
  32. 32. The original objective was to share and exchange data between research laboratories.
  33. 33. 1969: first connection between two computers (UCLA-Stanford).
  34. 34. The oldest services are email, file and document transmission (ftp), newsgroup (nntp), remote control (telnet).
  35. 35. Modern services include web, chat, voip, etc.
  36. 36. Main internet organizations: ICANN, ISOC, IETF, IESG and W3C, managed by companies, selected users and nations.
  37. 37. Internet technologies in the business world: Intranet and Extranet.</li></li></ul><li>CS110 Microcomputer applications – G. Sindoni<br />26<br />Internet history in a nutshell<br />1969: ARPANet, initially connecting 4 American universities with remote connection services and file exchange. Originally also the backup for the US military network. <br />1971: First email service.<br />1972: ftp protocol: ARPANet connects 37 hosts (nodes)<br />1982: ARPANet adopts the Tcp/Ip protocol and recommends use of Unix.<br />1983: The “military” part of ARPANet spins off and becomes MilNet.<br />1984: ARPANet offers the first DNS services, creation of NSFnet (56Kbps)‏.<br />1989: ARPANet closes down. 100,000 hosts on NSFnet.<br />1990: Internet starts spreading in Europe.<br />1992: Public release of the WWW at CERN, Geneva. Rise of the internet society (Isoc)‏.<br />1993: Mosaic, the first graphical browser.<br />1995: Non-USA nodes amount to 50% of the total. New backbone carrying 155 Mbps. Creation of Netscape.<br />1997: One million hosts on the Internet<br />1999: Backbone upgraded to 2.5 Gbps. European backbone: 1 Gbps<br />2004: Continental backbones beyond 10 Gbps, national ones beyond 2.5 Gbps<br />2009: 43 million hosts and more than a billion Internet users<br />2011: 2,100,000,000 Internet users and rising… <br />
  38. 38. CS110 Microcomputer applications – G. Sindoni<br />27<br />The World Wide Web (web)<br />1989: Web project began at CERN, Geneva, led by Tim Berners-Lee<br />Goal: promote collaboration among scientists by exploiting the Internet. <br />Web standards:<br />HTTP: hypertext document transfer protocol on Internet.<br />HTML: web document format (tag language).‏<br />URL: standard protocol to assign a unique address to each web document.<br />1993: Mosaic, the first browser with graphic color display of photos, text, images, etc. developed by Marc Andreesen of NCSA (Illinois). Mosaic was the precursor of Netscape, itself the precursor of Mozilla, which became Firefox.<br />
  39. 39. CS110 Microcomputer applications – G. Sindoni<br />28<br />What is the Web?<br />A distributed hypertext network.<br />Hypertexts differ from other texts in the way information is accessed by users: each page provides links to other pages, which can be accessed in whatever order the user prefers. <br />No page sequences: a concept can be explored or expanded with just a click. <br />In a hypertext network each hypertext links to other, related hypertexts.<br />Called a distributed network because hypertexts are located in various computers, connected through the Internet. <br />Hypertext links (URLs) on the WWW are network addresses pointing to web documents or pages (usually in HTML format), transmitted from a server to a browser via the HTTP protocol.<br />Web pages contain hypertext and much more: images, video, music, etc. <br />
  40. 40. CS110 Microcomputer applications – G. Sindoni<br />29<br />Web browsing<br />Browser: application software to surf and display web documents. <br />Website: a collection of documents managed by an organization (on one or more computers). Home page: a site’s access page.<br />URL syntax:<br />http protocol: base protocol for the Web. <br />Domain name ( the name assigned to a computer that is permanently connected to the Internet. Formed by 3 parts:<br />www: world wide web<br />w3: organisation/company/institute name<br />org: organization type, top level domain. Other domains: com (commercial); edu (university and research); gov (governments); mil(military); net(ICT networking organizations). National domains: it, uk, fr, jp.‏ European: eu.<br />File path (/TR/html401/intro/intro.html), with file name: intro.html<br />Fragment identifier (#section3): name of a part of a document<br />
  41. 41. CS110 Microcomputer applications – G. Sindoni<br />30<br />Browser and Web use<br />Direct browsing, using URL and back&forward buttons.<br />Page download: page stop and refresh.<br />Bookmarks and history. <br />Browser settings.<br />Save/download files locally: web pages and PDF (Portable Document Format) documents.<br />Not just display: filling out forms and sending data.<br />
  42. 42. CS110 Microcomputer applications – G. Sindoni<br />31<br />Search engines<br /><ul><li>Developed alongside the Web to allow data and information searches across the Web.
  43. 43. They search and store information on all websites and related pages and keep it updated. The aim is to allow users to retrieve and be directed to information.
  44. 44. A search engine, like any other page, is accessed via its URL. The service is free.
  45. 45. The home page contains a form where a query can be entered to drive the research.
  46. 46. The simplest query example is a keyword.
  47. 47. Result: site ads and web pages ranked according to their “importance”. Search enginesare differentiated by their search and ranking algorithms.
  48. 48. The most popular are Google, Yahoo, Baidu, Live Search (Bing).
  49. 49. Conditional and advanced search, image search.</li></li></ul><li>CS110 Microcomputer applications – G. Sindoni<br />32<br />Search engine market share<br />Copyright NetMarketShare 2006-2011<br />
  50. 50. CS110 Microcomputer applications – G. Sindoni<br />33<br />Internet communication tools<br />Chat: first internet applications for real time text message exchange between several users. <br />VoIp (Voice Over IP): use of internet data connection to transmit voice. Microphone needed.<br />Instant Messaging (IM) programs are currently very popular. They integrate chat (and video from a webcam), email and vocal communication: ICQ, Skype, MSN and Yahoo! Messenger.<br />An “old faithful”: email<br />
  51. 51. CS110 Microcomputer applications – G. Sindoni<br />34<br />Internet security<br />Web security: <br />https protocol (secure http): encrypted. <br />Public key cryptography: public and private keys. Digital signature.<br />Certified sites, CA (Certification authorities).<br />Internet threats, troubles and drawbacks:<br />Malware hidden in executable downloadable programs or message attachments: viruses, spyware.<br />Dangerous and unwanted email messages: fraud attempts, hoaxes, spam. <br />Defence:<br />Antivirus: check of files downloaded while browsing or reading emails.<br />Firewall: filtering of incoming and outgoing data packets from and to a network or another computer by applying rules to enforce network security.<br />
  52. 52. CS110 Microcomputer applications – G. Sindoni<br />35<br />Net etiquette: netiquette<br />Always read FAQs (Frequently Asked Questions) before asking new questions.<br />Keep messages short.<br />DO NOT SHOUT!<br />Delete unnecessary parts of original message when replying.<br />Do not argue in “public”.<br />Do not publish other people’s private stuff without their permission.<br />Do not send mass emails unless strictly necessary.<br />Do not spread spam or chain letters.<br />Always use a clear and meaningful subject in email messages. <br />Keep subject in “reply” messages.<br />Always sign your messages.<br />Do not send over-large attachments.<br />
  53. 53. Homework<br />Choose one of the topics discussed so far (eg. “The CPU”, “The World Wide Web”,…)<br />Spend about an hour finding more information about it on the Internet<br />Synthesize your findings in a page-long document describing the topic. Use MS Word or any other word processor you know<br />Share your document on MyJCU<br />CS110 Microcomputer applications – G. Sindoni<br />36<br />