+ All Categories
Home > Documents > Elementary#Computing CSC100 - University of Victoriamcheng/100/fall.2016/lectures/5... ·...

Elementary#Computing CSC100 - University of Victoriamcheng/100/fall.2016/lectures/5... ·...

Date post: 19-Feb-2018
Category:
Upload: trinhcong
View: 214 times
Download: 1 times
Share this document with a friend
67
M. Cheng, Computer Science Elementary Computing CSC 100 1
Transcript

M.  Cheng,  Computer  Science

Elementary  ComputingCSC  100

1

M.  Cheng,  Computer  Science

Software  Applications

• Application  Software  • Personal  Computing  • Text  and  Graphics  based  Computing  • Examples  of  Applications  • Word  Processing,  Spreadsheets,  Graphics  and  Database  

• Search  Engine  and  Semantic  Web

2

M.  Cheng,  Computer  Science

Outcomes

• Early  computer  applications  were  mostly  processing  data  for  banks,  payrolls,  scientific  calculations.  

• With  personal  computers,  we  entered  a  new  era  of  interactive  computing,  where  applications  are  more  graphics  intensive.  

• WWW  introduced  “information  at  your  finger-­‐tip”  and  Web-­‐based  applications.

3

M.  Cheng,  Computer  Science

Study  Guide

• What  is  application  software?  • What  are  typical  mainframe  software  applications?  

• What  are  typical  software  applications  for  personal  computers?  

• What  are  the  early  text-­‐based  and  graphics-­‐based  applications?

4

M.  Cheng,  Computer  Science

Study  Guide

• What  is  Human  Computer  Interface  (HCI)?  • What  hardware  technologies  are  driving  our  personal  computer  applications?  

• What  is  cloud  computing?  • What  are  file  formats,  file  types/extensions?  • What  are  spreadsheets  and  databases?  • What  is  a  search  engine?    • And  semantic  web?

5

M.  Cheng,  Computer  Science

Without  software  applications,  a  computer  is  not  a  useful  tool.

6

M.  Cheng,  Computer  Science

If  a  computer  is  the  “body”,  then  the  software  is  the  “soul”.

7

M.  Cheng,  Computer  Science

Early  Mainframe  Applications

8

M.  Cheng,  Computer  Science

Early  Computer  Room

9

M.  Cheng,  Computer  Science

Early  Interactive  Computing

• XEROX  invented  the  mouse  and  graphical  user  interface  (GUI).

• It  introduced  a  personal  workstation  (precursor  to  personal  computer)  for  office  applications.

• With  a  laser  printer,  WYSIWYG  computing  is  a  reality.

10

M.  Cheng,  Computer  Science

XEROX  Alto  Workstation

11

M.  Cheng,  Computer  Science

Early  Personal  Computing

• Personal  computing  in  early  80s  is  mostly  text-­‐based,  no  mouse  and  no  graphics.

• Early  microprocessors  were  too  slow;  the  display  technology  was  mostly  monochrome  and  cannot  do  graphics.

• Apple  Macintosh  was  the  first  personal  computer  that  uses  a  mouse  and  a  graphical  display.  

12

M.  Cheng,  Computer  Science

Human  Computer  Interface  have  gone  from  keyboard-­‐based  to  mouse-­‐based,  now  to  touch-­‐based.

13

M.  Cheng,  Computer  Science

Software  applications  have  evolved  from  mostly  text-­‐based  

to  graphics-­‐based.

14

M.  Cheng,  Computer  Science

Early  Applications  on  PC

• Spreadsheets  (e.g.,  VisiCalc,  Lotus-­‐123)

• Draw  and  Paint  (e.g.,  MacPaint,  MacDraw)

• Word  processing  (e.g.,  Apple  Works)

• Simple  text-­‐based  or  low-­‐quality  graphics-­‐based  games  

15

M.  Cheng,  Computer  Science

Apple  II  User  Interface

16

M.  Cheng,  Computer  Science

VisiCalc  :  First  “Killer”  App

17

M.  Cheng,  Computer  Science

Early  Microsoft  Word

18

M.  Cheng,  Computer  Science

GUI  of  Apple  Macintosh

19

M.  Cheng,  Computer  Science 20

M.  Cheng,  Computer  Science

Business  Applications  on  PC

• Accounting

• Database

• Payroll  &  Taxes

• Cashier  Registers

• Inventory

21

M.  Cheng,  Computer  Science 22

M.  Cheng,  Computer  Science

Engineering  Applications  on  PC

• Computer-­‐Aided  Design

• Medical  Imaging

• Project  &  Budget  Management

• Automation  &  Manufacturing

• Data  Analysis  and  Visualization

23

M.  Cheng,  Computer  Science 24

M.  Cheng,  Computer  Science

Applications  on  Today’s  PC

• Digital  Media  Player  and  Editor  • Desktop  and  Web  Publishing  • Gaming  • Entertainment  • Instant  Messaging  • Online  Shopping  • TV,  News  &  Magazines

25

M.  Cheng,  Computer  Science 26

M.  Cheng,  Computer  Science 27

M.  Cheng,  Computer  Science

Faster  microprocessors,  high  definition  color  displays  and  high  

speed  network  changed  the  way  we  use  our  computers  today.

28

M.  Cheng,  Computer  Science

With  WWW,  smartphones  and  tablets,  we  are  entering  a  new  era  of  mobile  computing.

29

M.  Cheng,  Computer  Science 30

M.  Cheng,  Computer  Science 31

M.  Cheng,  Computer  Science

As  long  as  we  are  connected  to  the  network,  we  can  do  almost  anything  with  a  tablet  or  laptop.

32

M.  Cheng,  Computer  Science

Chromebook

iPad

33

M.  Cheng,  Computer  Science 34

M.  Cheng,  Computer  Science

Examples  of  Cloud  Services

• All  Google  services,  including  gmail,  calendar,  youtube,  etc.

• Apple’s  iCloud  services,  iWorks,  etc.

• Microsoft’s  Office365,  Google  Doc

• Dropbox,  GoogleDrive,  Microsoft  SkyDrive

35

M.  Cheng,  Computer  Science

Cloud  computing  is  about  storing  and  processing  all  your  personal  data  somewhere  in  the  network.

36

M.  Cheng,  Computer  Science

“Network  is  the  computer.”

SUN  MicroSystems

37

M.  Cheng,  Computer  Science

What  does  a  typical  software  application  do?

38

M.  Cheng,  Computer  Science

Typical  Software  Applications

• Read  some  input  data,  do  some  processing  on  that  data,  then  write  some  output  data.

• Typically,  the  data  are  stored  or  represented  in  some  application-­‐specific  format.

• Some  formats  are  standard  (i.e.,  open);  some  are  proprietary.  Here  is  a  list.

39

M.  Cheng,  Computer  Science

Common  File  Formats  and  Types

• Text  is  a  common  plain-­‐text  file  format.  It  usually  use  “.txt”  as  the  file  type.

• HTML  is  another  plain-­‐text  file  format.  It  typically  uses  “.htm”,  “.html”,  “.xhtml”  file  types.

• JPEG,  PNG,  GIF,  BMP  are  common  image  format,  with  file  types  “.jpg”,  “.gif”,  “.png”,  “.bmp”.

40

M.  Cheng,  Computer  Science

File  Types  and  Applications

• Operating  Systems  (e.g.,  OS  X,  Windows)  use  file  types  (i.e.,  file  extensions)  to  associate  with  the  applications.

• There  may  be  multiple  applications  that  can  read/write  the  same  file  format.

• A  user  can  choose  which  application  is  the  default  one.

41

M.  Cheng,  Computer  Science

Windows  7  File  Types

42

M.  Cheng,  Computer  Science

Apple  OS  X  File  Types

43

M.  Cheng,  Computer  Science

How  to  turn  on  File  Extensions  in  Windows  7?

44

M.  Cheng,  Computer  Science

How  to  turn  on  File  Extensions  on  OS  X?

45

M.  Cheng,  Computer  Science

What  is  a  Spreadsheet?

• A  spreadsheet  consists  of  rows  and  columns  of  cells.

• A  cell  may  contain  a  value  (a  number  or  some  text)  or  a  formula.

• A  formula  defines  a  relationship  between  the  current  cell  and  other  cells.

46

M.  Cheng,  Computer  Science

An  Example  Spreadsheet

47

M.  Cheng,  Computer  Science

Values,  Addresses  and  FormulasColumn  addresses

Row  addresses Formulae48

M.  Cheng,  Computer  Science

Automatic  Re-­‐calculations

49

M.  Cheng,  Computer  Science

Charting

50

M.  Cheng,  Computer  Science

Benefits  of  Spreadsheets

• They  are  easy  to  learn.

• No  pencil  or  paper!

• They  are  visual,  What  You  See  Is  What  I  Mean.

• Once  formulae  are  set  up  correctly,    calculations  are  automatic  and  instant.

51

M.  Cheng,  Computer  Science

What  is  a  Database?

• A  database  is  a  structured  collection  of  record  of  data.

• Each  record  represents  an  item,  an  individual,  or  an  entity  of  interest.

• All  records  have  common  attributes,  e.g.,  age,  sex,  name,  id#,  address,  etc.

52

M.  Cheng,  Computer  Science

An  Example  of  a  Database

Each  rowis  a  record

53

M.  Cheng,  Computer  Science

Data  Entry  into  a  Database

54

M.  Cheng,  Computer  Science

Why  use  a  Database?

• A  database  is  not  a  spreadsheet.  It  has  rows  and  columns,  but  it  doesn’t  have  the  concept  of  cell  address  or  formula.

• It  is  primarily  used  for  maintaining  a  very  large  collection  of  “similar”  (structured)  records.

• We  can  sort,  search,  select  a  subset  of  records  of  interests.

55

M.  Cheng,  Computer  Science

Database  in  the  Real  World

• Many  government  organizations,  banks,  universities,  etc.,  use  databases  heavily  to  maintain  a  record  of  their  assets  and  members.

• The  data  must  be  structured,  with  well-­‐defined  attributes.

• For  unstructured  data  (i.e.,  no  fixed  format),  we  will  need  a  search  engine  such  as  Google.

56

M.  Cheng,  Computer  Science

iTunes  is  a  Database  of  Songs

57

M.  Cheng,  Computer  Science

Songs  &  Albums

58

M.  Cheng,  Computer  Science

Smart  Playlist  &  Search

59

M.  Cheng,  Computer  Science

The  Dawn  of  WWW

• Netscape  was  the  first  widely  browser.

• Hundreds  of  thousands  of  websites  were  created,  but  nobody  knows!

• Yahoo!  started  a  portal  that  organizes  websites  for  visitors.

• Webcrawler,  Lycos,  Excite,  and  Infoseek  are  some  of  the  early  search  engines  on  the  WWW.

60

M.  Cheng,  Computer  Science

Search  Engines

• WWW  is  built  around  HTML  (text),  images  and  videos.

• A  search  engine  collects  all  text  inside  HTML  pages  and  looks  for  phrases  which  a  user  is  interested.

• When  it  finds  something  relevant,  it  displays  the  URLs  (hyperlinks)  to  the  search  results.

61

M.  Cheng,  Computer  Science

Domination  of  Google

• Early  search  engine’s  results  are  not  very  good.  Most  search  results  are  irrelevant.

• A  user  must  sift  through  the  results  to  look  for  something  relevant.

• In  2000,  Google  announced  their  PageRank  algorithm,  which  changes  the  way  how  a  search  engine  works.

62

M.  Cheng,  Computer  Science

PageRank  Algorithm

The  more  a  webpage  is  being  linked  to,  the  higher  its  ranking. 63

M.  Cheng,  Computer  Science

A  Semantic  Web

• Current  search  engines  are  based  on  search  phrases  or  keywords.

• The  search  engine  doesn’t  understand  the  meanings  of  the  search  phrases.  For  example,What  is  the  Gross  Domestic  Product  of  Canada?

64

M.  Cheng,  Computer  Science

www.wolframalpha.com

A  Computational  Knowledge  Engine

65

M.  Cheng,  Computer  Science

Questions  to  Try  in  WolframAlpha

• gene  • 3rd  largest  country  in  Europe  • China    • GDP  of  Canada  /  China  • birth  rate  of  Japan    • Apple  • .  .  .

66

M.  Cheng,  Computer  Science

The  End.

67


Recommended