570 likes | 582 Views
Learn how software works from RAM and CPU to data buses and memory. Understand the basics of object-oriented programming and the concepts of objects and classes.
E N D
RAD Certification Checkpoint #1 Software Fundamentals
RAM Random Access Memory
CLK Memory
CLK Memory CPU
CLK Memory CPU
CLK Data Bus Memory CPU
CLK pulse Data Bus Memory CPU
CLK Data Bus Memory 12 CPU
CLK Data Bus Memory CPU 12 = ADD
CLK pulse Data Bus Memory CPU 12 = ADD
CLK Data Bus Memory CPU 5 12 = ADD
CLK Data Bus Memory CPU 12 = ADD5
CLK pulse Data Bus Memory CPU 12 = ADD5
CLK Data Bus Memory 4 CPU 12 = ADD5
CLK Data Bus Memory CPU 12 = ADD5 +4 = 9
CLK pulse Data Bus Memory CPU 12 = ADD5 +4 = 9
CLK Data Bus Memory 45 CPU 12 = ADD5 +4 = 9
CLK Data Bus Memory CPU 12 = ADD5 +4 = 945 = PUT
CLK pulse Data Bus Memory CPU 12 = ADD5 +4 = 945 = PUT
CLK Data Bus Memory 14 CPU 12 = ADD5 +4 = 945 = PUT
CLK pulse Data Bus Memory 9 CPU 12 = ADD5 +4 = 945 = PUT14
CLK Data Bus Memory CPU 12 = ADD5 +4 = 945 = PUT14
CLK pulse Data Bus Memory CPU
Margaret Hamilton, lead software engineer of the Apollo Project, stands next to the code she wrote by hand and that was used to take humanity to the moon, 1969.
Compiler Intermediate Assembler Code Memory Assembler Binary Code Source Code
Memory Compiler Source Code Binary Code
Memory Binary Code Linker Compiler Source Code Files Object Code Files
IDE Integrated Development Environment
RAD – Through Object Oriented Programming Rapid Application Development
Object Oriented Programming Objects and Classes • Object – A piece of data which represents a real world object, or sometimes an imaginary object.
Object Oriented Programming Objects and Classes • Object – A piece of data which represents a real world object, or sometimes an imaginary object. • Class – A data-type which describes an object to the compiler. A classification of objects.
Object Oriented Programming Objects and Classes Consider a class named ‘TCar’ (Delphi developers often use the letter ‘T’ to prefix a class name)
Object Oriented Programming Objects and Classes Consider a class named ‘TCar’ (Delphi developers often use the letter ‘T’ to prefix a class name) The TCar class desribes an object which has a number of wheels, and a number of doors.
Object Oriented Programming Objects and Classes Consider a class named ‘TCar’ (Delphi developers often use the letter ‘T’ to prefix a class name) The TCar class desribes an object which has a number of wheels, and a number of doors. The Object (an instance of the TCar class) is a piece of RAM reserved to represent the car, suppose it contains this data… Kind: SUV Wheels: 4 Doors: 5 Kind, Wheels and Doors are all referred to as Properties.
Object Oriented Programming Objects and Classes Using the TCar class, a software engineer is able to create multiple instances of this type of data in memory. For example. Kind: SUV Kind: Sport Wheels: 4 Wheels: 4 Doors: 5 Doors: 2
Object Oriented Programming Objects and Classes Classes are hierarchical. Our TCar class could be ‘descended’ from an ‘ancestor’ class of TVehicle. TVehicleTCar TMotorcycle TBicycle TTrain TPlane All of the descendant classes remain a class of vehicle even it they represent a more specific type of vehicle. This is called ‘Sub-Classing’.
Object Oriented Programming Objects and Classes TPlane, for example, could be further sub-classed into TBiplane, and TJet TVehicle could be a sub class of Ttransportation… Ttransportation TVehicle TPlane TCar TTeleporter