CS177 Programming with Multimedia Objects - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

CS177 Programming with Multimedia Objects

Description:

A device that receives, stores and processes information. Why do we need them ? ... Windows Media Player, Winamp, RealPlayer (media players) ... – PowerPoint PPT presentation

Number of Views:124
Avg rating:3.0/5.0
Slides: 24
Provided by: hamzabi
Category:

less

Transcript and Presenter's Notes

Title: CS177 Programming with Multimedia Objects


1
CS177Programming with Multimedia Objects
  • Week 1
  • Recitation Slides

2
Questions on Lectures
3
Important Things to Remember
  • Course Webpage
  • http//www.cs.purdue.edu/homes/cs177/
  • Lecture Recitation slides are posted there
  • Projects will be posted there
  • Contact details of all TAs is available there

4
Computers
  • What is a computer ?
  • A device that receives, stores and processes
    information
  • Why do we need them ?
  • Computers are incredibly fast, accurate, and
    stupid humans are incredibly slow, inaccurate
    and brilliant together they are powerful beyond
    imagination
  • Albert Einstein

5
Types of Computers
  • What are the different types of computers ?
  • Desktop computers
  • Supercomputers
  • Palmtops (aka PDAs)
  • Laptops
  • What are the distinguishing features between them
    ?
  • Speed
  • Size
  • Memory
  • Peripherals
  • Each type of computer has its own application e.g
    supercomputers perform computation intensive
    tasks, palmtops and laptops provide mobility to
    users

6
Computer Specifications
  • What are computer specs?
  • The capabilities of a computer. For example, hard
    disk space, memory size, processor speed, etc.
  • Contemporary desktop configurations include
  • CPU Multi-core (dual-, quad-, eight-core)
  • RAM 1-4 GB
  • Hard drive 100 GB to 2 TB
  • Graphics card 256 MB to 1 GB with a multi-core
    graphical processing unit (GPU)
  • Optical drive Blu-ray disc, DVDRW, CDRW
  • A lot of USB ports
  • Legacy features such as floppy drives, zip
    drives, PS/2 ports, serial ports, etc. tend to
    disappear in newer systems
  • Specs get better day by day because computer
    technology is evolving rapidly

7
Hardware vs. Software
  • What is hardware?
  • The physical components of a computer (hard disk,
    processor, mouse, keyboard, monitor, etc).
  • What is software?
  • The programs that are written to make the
    computer do something interesting.
  • An anonymous quote
  • The easiest way to tell the difference between
    hardware and software is to kick it. If it hurts
    your toe, its hardware ?

8
The von Neumann Architecture
  • What are the 3 essential components of the von
    Neumann architecture?
  • Input/Output devices Allow the user to interact
    with the computer.
  • Memory Stores data and programs.
  • Central Processing Unit (CPU) Performs
    instructions in programs to process information.
  • Which of the three components was a major change?
  • Storing programs in memory (before von Neumann
    only data was stored in memory)

9
Central Processing Unit
  • What is the CPU?
  • It executes instructions in programs to perform
    specified tasks. In other words, it is the
    brain of the computer
  • What unit is currently used to measure CPU speed?
  • Gigahertz (GHz)
  • What does a 2.3 GHz processor mean?
  • The processor can execute roughly 2.3 billion
    instructions per second.

10
Central Processing Unit Cont.
  • What is an instruction?
  • A very simple operation the CPU can perform (add
    two numbers together, move this data over here,
    check if this number is zero or not)
  • How do computers do such complex stuff with such
    simple commands?
  • Remember what Einstein said ?
  • Computers are incredibly fast
  • The speed of computing makes complex operations
    appear simple

11
Memory
  • What is memory?
  • The place where the CPU stores and fetches data
    and instructions.
  • How are the data and instructions stored?
  • In binary (ones and zeros). Each digit is a
    bit.

12
Memory Cont.
  • What basic unit is used to represent memory
    capacity?
  • The byte 8 bits (28 256 possible values)
  • What does 2GB RAM mean?
  • Roughly 2 Billion bytes of memory.
  • How to compare RAMs with each other ?
  • Faster read/write time, more space (i.e. bytes)

13
Memory Cont.
  • What types of memory are there?
  • Main fast and expensive
  • Secondary slower, but cheaper
  • What are some examples of main memory?
  • RAM, cache (memory that is saved for faster
    access the next time)
  • What are some examples of secondary memory?
  • Hard disk, CD-ROM, flash drive, floppy disk

14
Memory Cont.
  • What is the difference between permanent and
    volatile memory?
  • Volatile memory is gone when the computer is
    turned off, while permanent memory stays around.
  • What are some examples of volatile memory?
  • RAM, cache (main memory)
  • What are some examples of permanent memory?
  • Hard disk, Compact Disk (CD), flash drive, floppy
    disk (secondary memory)

15
Software
  • What are programs?
  • Sequence of instructions that, when executed, do
    something useful.
  • What are some examples of programs?
  • Microsoft Word, Wordpad (word processors)
  • Internet Explorer, Mozilla Firefox (browsers)
  • Windows Media Player, Winamp, RealPlayer (media
    players)
  • World of Warcraft, The Sims, Halo (games)
  • Gmail, Hotmail, Purdue Webmail (email)

16
Operating Systems
  • What is the operating systems main task?
  • Controls and manages access to system resources
    by programs (memory, CPU, etc.)
  • What are some examples of Operating Systems used
    today?
  • Windows Vista, Linux, UNIX, Mac OS
  • DOS (an old instruction based OS)
  • How are they different?
  • User-friendliness, services, stability, security

17
The Internet WWW
  • What is the Internet?
  • The global interconnection between computers
    (network) that supports communication.
  • What is the World Wide Web?
  • An application of the Internet that allows
    interlinking of documents and resources.
  • What are some other services available through
    the Internet?
  • Email, Video Conferencing, Multiplayer Gaming

18
The Internet WWW Cont.
  • What is a protocol?
  • The rules that govern communication between two
    or more computers on a network (e.g. the
    Internet)
  • Protocols allow coordination between programs
    over the Internet
  • For example, the web browser (Internet Explorer)
    and web server (www.google.com) communicate
    through the HTTP protocol

19
Web Address
  • What is a URL?
  • Web pages require uniform names to locate and
    identify them uniquely
  • There are 4 parts to a URL Protocol Name, Server
    Name, Directory Name, and File Name

20
Web Address Cont.
  • What if no file name is given?
  • The server will look for a default file such as
    index.html
  • What is no directory name is given?
  • The server will look in the default directory

21
Viewing Local HTML File Under Development
  • a Web browser can be used to view pages stored on
    the same computer
  • can go through the File menu to select the local
    page, or
  • can enter the File location in the address box
    (without the http prefix)
  • You should always preview your web page before
    uploading it to a server

22
Next Week
  • Labs will start next week
  • Chapter 2 - HTML
  • HTML basics
  • Formatting text
  • Images, hyperlinks, lists
  • Tables

23
Questions
Write a Comment
User Comments (0)
About PowerShow.com