Internal Architecture of a General CPU

A CPU executes an instruction store in the main memory of the computer. An instruction usually consists of two parts: Op-code (Operation to be performed) and operands (on which operation to be performed ( can be address or data itself)). CPU clock controls the timing of each operation. The length of time taken to go … Read more

Types of Buses in Computer.

A bus is a group of current-conducting wires over which data is transferred from one device to another. Their types are : Data bus : Transfers data Size is generally proportionate to CPU power. e.g. 64 bit CPU will have 64 bit wide bus. Generally bidirectional. Address bus : Carries the address of the device. … Read more

What are Components of CPU?

The main components of the CPU are– control unit (CU), arithmetic nd logical unit (ALU) and a set of registers. Control Unit : Responsible for controlling the movement of data and instructions in and out of the memory and the CPU. Decodes the fetched instruction and initiates the desired operation to be performed by the … Read more

Main Components of a Computer.

A modern computer have four main components : Memory : Primary( is a semiconductor memory, volatile e.g. RAM) and Secondary (non-volatile auxiliary memory e.g. Hard-disk) memories. Input unit : e.g. Keyboard, mouse. Central Processing Unit (CPU). Output Unit. e.g. Monitor, Printer.

The Computer System (Hardware View)

A computer is a digital machine that generates, processes, stores and transmits information. The essential design of a computer is bases on Von Neumann architecture consisting of two components – a processor and a tore connected through a communication channel. The program instructions and associated data are loaded into the store. Therefore, such a machine … Read more

HostSpot Technology in Java

Java does not support native code but there is HotSpot technology that converts few parts of java instructions (byte code) into executable code in real time by compiling it. HotSpot provides Just-in-Time (JIT) compiler for bytecode. JIT compiler compiles code as it is needed. HotSpot is the memory that is provided by JVM to run … Read more

What is native code.

Native code is computer programming (code) that is compiled to run with a particular processor (such as an Intel x86-class processor) and its set of instructions. If the same program is run on a computer with a different processor, software can be provided so that the computer emulates the original processor. In this case, the … Read more

Java brief Intro

Java is a OOP (object oriented language). Which means we see ‘who is effected’ instead of ‘what is happening’. Java was conceived by : James Gosling Patrick Naughton Chris Warth Ed Frank Mike Sheridan at Sunmicrosystems inc. in 1991. Took 18 Months for first version At the start java’s name was oak Renamed to java … Read more

Data Types and Their Size in Java

Java have two types of data types. Primitive Data Types User Defined Data Types Java is statically typed and also a strongly typed language : because we have to declare the type of each variable and one variable cannot store value of other type of variable. But languages like PHP, Python are dynamically typed because … Read more