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 […]
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.
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 […]
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 […]
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 […]
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 […]
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 […]