Textbook Notes (367,876)
United States (205,907)
CS 0007 (10)
Chapter 1

Chapter 1 Lecture Notes (Intro to Java)

4 Pages
Unlock Document

Computer Science
CS 0007
Karen Bigrigg

Chapter 1: Intro to Computers and Java Starting out with Java: From Control Structures through Objects History (not that important) -1991 Green Team started by Sun Microsystems -7 handheld controller for multiple entertainment systems -There was a need for a programming language that would run on various devices -Java (first named Oak) was developed for this purpose Intro -Java enabled web browser (HotJava) -Java incorporated into Netscape shortly after -Java is “cross platform” meaning it can run on many systems Java programs can be of two types: -Applications --Stand-alone programs that run without the aid of a web browser --Relaxed security model since the user runs the program locally -Applets --Small application that require the use of a Java enabled web browser to run --Enhanced security mode since the user merely goes to a web page and the applet runs itself Why Program? -Computers are tools that can be programmed to perform many functions, such as: --spreadsheet/games/databases/word processing/ect -Computers are versatile because they can be programmed -Computer programmers implement programs that perform these functions Aspects of a computer program that must be designed: -The logical flow of the instructions -The mathematical procedures -The layout of the programming statements -The appearance of the screens -The way information is presented to the user -The program’s “user friendliness” -Manuals, help systems, and/or other forms of written documentation -Programs must be analytically correct as well -Programs rarely work the first time they are programmed -Programmers must perform the following on a continual basis --Analyze --Experiment --Correct --Redesign -Programming languages follow strict rules, so correct syntax is important Computer Systems: Hardware -Computer hardware components are the physical pieces of the computer -The major hardware components of a computer are --The CPU (central Processing unit --Main memory (RAM) --Secondary storage devices --Input and Output (USB is I/O, input and output) The CPU performs the fetch. Decode, execute cycle in order to process program info Main Memory (RAM or random-access memory) -RAM contains: currently running programs/data used by those programs -RAM is divided into units called bytes -A byte consists of eight bits that may be either on (1) or off (0) -The bits form a pattern that represents a character or a number -Each byte in a memory is assigned a unique number known as an address -RAM is volatile, which means that when the computer is turned off, the contents are erased Secondary Storage Devices -Secondary storage is non-volatile, so when the power is turned off, memory stays **I/O devices do both input and output Software -Software refers to the programs that run on a computer -Two classifications: --Operating Systems
More Less

Related notes for CS 0007

Log In


Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.