Slide 1 - COP3502 Programming Fundamentals for CIS Majors 1...

Info iconThis preview shows pages 1–20. Sign up to view the full content.

View Full Document Right Arrow Icon
COP3502 Programming Fundamentals for CIS Majors 1 Instructor: Dr. Parisa Rashidi
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Computer basics What is Java? API, IDE, and JDK Write a simple program in Java Console output GUI Understand the basic syntax of Java Objectives
Background image of page 2
Computing Basics Hardware, software, etc.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Hardware Operating Systems Software Computer Anatomy From Wikipedia, the free encyclopedia
Background image of page 4
Basic hardware components of a computer CPU Memory Storage I/O (Input/Output) Communication devices Hardware Anatomy Storage Devices Memory CPU Communication Devices Input Devices Output Devices BUS
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CPU = Central Processing Unit Speed measured in MHz 1 MHz = 10^6 pulses per second Executes instructions retrieved from memory CPU
Background image of page 6
We are talking about RAM Random Access Memory Volatile Stores data A sequence of bytes Each byte = 8 bits Each bit can be 0 or 1 Memory 23 100 67 A P P L E X 32 2 @ $ 76 X 89 120 D T D 0 0 0 0 0 0 1 0 Memory ( sequence of bytes ) Byte (8 bits) Bit
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
All data is encoded as 0-1 Byte = minimum storage unit Large numbers are stored in more than 1 byte Memory 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 1 Encoding for Character ‘a’ Encoding for number 2 0 1 1 1 0 1 1 0 0 1 1 0 0 0 0 1 Encoding for Character ‘a’ Encoding for character ‘v’ 0 1 0 0 1 0 1 0 Encoding for character ‘J’ . . 2000 2001 2002 2003 2004 . . Memory Address Memory Content . . . . .
Background image of page 8
Quick reminder Byte = minimum storage unit KB = 10^3 Bytes MB = 10^6 Bytes GB = 10^9 Bytes TB = 10^12 Bytes PB = 10^15 Bytes Memory
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Memory is volatile Store programs & data on non-volatile devices Hard disks (now TB) CD (700 MB) DVD (4.7 GB) Blu-ray (25-100 GB) USB Flash drive (now 256 GB) Storage
Background image of page 10
Monitor Display Quality Resolution number of pixels per square inch E.g. 1024 by 768 Dot pitch amount of space between pixels Output Dot pitch
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Modem Uses a phone line Speed = 56,000 bps (bits per second) DSL Uses phone line 20 times faster than modem Cable modem Uses TV cable line Speed same as DSL NIC Used in local area networks E.g. 10BaseT has speed of 10 Mbps Communication
Background image of page 12
Controls all programs Manages hardware resources Examples Windows 7 Ubuntu MacOS Operating System
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Textbook Lab sections Mailing List W. 8-9 (3-5 pm) W. 10-11 (5-7pm) Th. 2-3 (3-5 pm) Th. 10-11 (5-7 pm) any section W. 2-3 Class Issues
Background image of page 14
Programming Languages Basics
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Every operating system, application and mobile app has been written in some programming language Programming Languages
Background image of page 16
There are many programming languages COBOL (1959) FORTRAN (1957) BASIC (1964) Visual Basic (1991) Pascal (1970) Delphi (1986) Ada (1980) C (1972) C++ (1983) Objective C (1983) C# (2001, a Java-like language by Microsoft) Popular High level Languages
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
We will be using Java (1991) Java Duke: Java’s Mascot
Background image of page 18
Some famous applications written in Java Mars exploration rover Hubble telescope Vuze Minecarft Android (mostly) Some Java Programs
Background image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 20
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 70

Slide 1 - COP3502 Programming Fundamentals for CIS Majors 1...

This preview shows document pages 1 - 20. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online