CST 310: Computer Science Languages - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

CST 310: Computer Science Languages

Description:

Personal computer (PC) standalone units. Distributed computing ... English-like operations (e.g., load, store, add) High-level languages ... – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 18
Provided by: irfanp
Category:

less

Transcript and Presenter's Notes

Title: CST 310: Computer Science Languages


1
CST 310 Computer Science Languages
  • Irfan Pyarali
  • http//www.cs.wustl.edu/irfan/cst310/Lecture1.ppt

2
(No Transcript)
3
Talking Points
  • Course Goals and Structure
  • Syllabus
  • Introductions
  • Computers
  • Editors and compilers
  • First Java program
  • Assignments

4
Course Goals and Structure
  • Demystify Java -)
  • Impart good design, software engineering,
    algorithm, and data structure techniques for
    using Java effectively
  • Emphasis is on practicing these techniques while
    also addressing Java language concepts and
    constructs
  • The class is heavily example-driven
  • The class will combine lectures, interactive
    discussions, and hands-on exercises
  • It is very important to practice reading and
    writing Java

5
Syllabus
  • http//www.cs.wustl.edu/irfan/cst310/syllabus.doc

6
Introductions
  • Instructor Irfan Pyarali
  • irfan_at_cs.wustl.edu
  • http//www.cs.wustl.edu/irfan
  • Teaching Assistant TBD
  • Students
  • Name
  • Workplace
  • Why are you taking this class?
  • Expectations, fears, etc.
  • Something about yourself

7
(No Transcript)
8
Computers
  • What is a computer?
  • A computational device
  • Logical decisions billions of times faster than
    humans
  • Hardware
  • keyboard, screen, disks, memory, CPU
  • Software
  • email, word processing, spreadsheets, OS
  • Programs and applications makes the computer
    intelligent

9
Algorithms
  • Pseudo code
  • Instructions
  • Correct
  • Precise
  • Efficient
  • Maintainable
  • Variables

10
Computer Organization
  • Input unit
  • keyboard, microphone
  • Output unit
  • screen, printer
  • Memory unit
  • Random Access Memory (RAM)
  • short-term, rapid access, low capacity warehouse
  • Arithmetic and logic unit
  • calculations, comparisons
  • Central Processing Unit (CPU)
  • instruction execution
  • Secondary storage unit
  • disks, tapes
  • long-term, slow access, high capacity warehouse

11
Computer Architecture
CPU
Memory
I/O
Program Control Unit
ALU
12
Computing Modes
  • Batch Processing
  • one job at a time
  • Multiprogramming
  • many jobs simultaneously
  • Timesharing
  • multiple jobs, multiple users
  • Personal computer (PC)
  • standalone units
  • Distributed computing
  • workload distributed over networks
  • Client/Server
  • client machine provides user interface
  • server machine provide computational power and
    storage location

13
WWW (World Wide Web)
  • Interconnection of computers
  • Browsers
  • Web pages
  • HTML
  • Applets
  • ActiveX

14
Programming Languages
  • Machine Language
  • machine/hardware dependent
  • Too hard to program in
  • Assembly Language
  • English-like operations (e.g., load, store, add)
  • High-level languages
  • single statement can accomplish substantial tasks
  • English-like statements with mathematical
    notations

15
First Java Program
/ My first simple Java program / public class
Hello public static void main (String
args) System.out.println ("Hello
World")
16
(No Transcript)
17
Assignment
  • Reading Chapters 1, 2, and 3
  • Programming
  • Chapter 1 Question 7
  • Write a program that writes the following to the
    screen
  • Your Name
  • Your Phone Number(s)
  • Your SSN
  • Submit .java files via email to irfan_at_cs.wustl.edu
Write a Comment
User Comments (0)
About PowerShow.com