Posts

Showing posts from August, 2017

architecture note

Pentium and PowerPC The Pentium series is an excellent example of Complex Instruction Set Computer (CISC) design. The PowerPC is a direct descendant of IBM 801, one of the best designed RISC systems on the market. Pentium Intel has ranked the number one maker of microprocessors for decades. Here is a brief  history  of the evolution of microprocessors that Intel has been manufacturing. PowerPC In 1975, IBM started the 801 minicomputer project that launched the RISC movement. In 1986, IBM developed a RISC workstation, the RT PC, which was not a commercial success. In 1990, introduced the RISC/6000 and marketed that as a high performance workstation. IBM began to refer to this as the POWER architecture. IBM then entered into an alliance with Motorola the developer of the 68000 series for Apple computers. The result of this alliance was the series of microprocessors that implement the PowerPC architecture. The processors in the series were: 601, 603, 604, 620, 740/750 (G3

note

Segmentation This scheme partitions memory into logically related data units such as module, procedure, stack, data, file, etc. In segmentation, a reference to a memory location includes a value that identifies a segment and an offset within that segment. Virtual addresses become set of <segment number, offset>. It also allows programs and data to be broken up into logically independent address spaces and to aid sharing and protection. Each segment size can differ from one another and the segments are resided in different part of main memory. fig: segmentation hardware fig: Memory view of segments As we can see in the immediate figure above, the segments have different sizes and can grow independently. Also they are loaded in different parts of memory. Segmentation provide user’s perspective of memory partition. Segments or sections are also used in object files of compiled programs when they are linked together into a program image and when the image is loaded into

new skinner box

Image

inheritance in java

Inheritance is one of    the features of Object-Oriented Programming (OOPs). Inheritance allows a class to use the properties and methods of another class. In other words, the derived class inherits the states and behaviors from the base class. The derived class is also called subclass and the base class is also known as super-class. The derived class can add its own additional variables and methods. These additional variable and methods differentiates the derived class from the base class. Inheritance is a compile-time mechanism. A super-class can have any number of subclasses. But a subclass can have only one superclass. This is because Java does not support multiple inheritances. Types of Inheritance *Multilevel Inheritance *Multiple Inheritances *Hybrid Inheritance *Hierarchical Inheritance Class Shape {    private int length;    private int breadth;    public int getBreadth() {       return breadth;    }    public int getLength() {       return length;