.

Tuesday, January 28, 2014

Notes on Java Programming.

Chapter One Notes Main Hardware -CPU - (Central Processing Unit) executes each tone -I/O Devices - (input/output devices) keyboards, monitors, mouse,etc... -Main repositing(RAM) - haphazard Access Memory - jury-rigged Storage, smaller storage, faster access -Secondary Memory - Hard Drive, floppy disk, CD. Permanent Storage, larger storage, slower access One nerve pathway out location is 8 bits which is equivalent to 1 byte.* parcel -Applications - games, Microsoft Word, web browser, etc... -System - run System: manages resources, determines when certain applications run -G.U.I(geographical exploiter Interface) - windows, shells, icons, buttons, scroll bars INFORMATION STORAGE -Analog - continuous -Digital - befuddled up Byte = 2^0 (1) KB = 2^10(2E10) MB = 2^20(2E20) GB = 2^30(2E30) TB = 2^40(2E40) 2 determine for every 1 bit Base 10 000 = 0 001 = 1 010 = 2 011 = 3 100 = 4 101 = 5 110 = 6 111 = 7 Types of Errors Compile-time: all error that is identified by the compiler Ex: syntax Run-time: Occurs during program execution. It causes the program to terminate abnormally or gross out. Ex: dividing by zero(4/0) Logical: Produces the wrong results Whole platform Source Codecompilemachine language(target languages) Source Codeinterpreter JAVAbytecode Primitive Data Types -int (integer) -double (Decimal/real) -Char (characters/letters) -boolean (yes/no & adenosine monophosphate; consecutive/flase) A order represents a concept, and an object represents the figure of the class. Ex: -Radio Bank Account A class posterior be apply to create different objects An object represents something with which we arsehole interact in a program -Has attributes and behaviors -Provides a arrangement of service that we finish tell it to perform for us -The serve are defined by methods in a class that defines the object Inheritance -one class can be used to derive another -classes can be form into in heritance hierarchies ACCOUNT ? ?? charge account bank account ?... ! If you demand to get a full essay, order it on our website: OrderCustomPaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment