Wednesday, 30 March 2016

Language Processor

Basically Translater i.e. Compiler and Interpreter 

If a language processor is a translator that produces machine or assembly code as output (in object code or executable code) then it is called a compiler. If the language processor executes the translated program (output from the translator) then it is called an interpreter.

Next Topic

Relocatable VS Non- Relocatable Programming

A relocatable program may use many part of memory address in run time of a program. This type of program uses relative addressing and its address space can be change at run as requirement.

A Non-Relocatable program runs in  fix address space. Location of program data fix at the time of compilation.

Tuesday, 29 March 2016

Graphics : Draw Hut Using VB.Net


 Dim myPen As New System.Drawing.Pen(System.Drawing.Color.White)
        Dim formGraphics As System.Drawing.Graphics
        formGraphics = Me.CreateGraphics()
        formGraphics.DrawLine(myPen, 300, 135, 800, 175)
        formGraphics.DrawLine(myPen, 300, 135, 175, 300)
        formGraphics.DrawLine(myPen, 300, 135, 400, 300)

Byte Code

" Middle level output of a compiler "


High level languages like (C,C++,Java,C#) are  easy to code , Programmer write code using a text editor or IDE  provide by related language compiler called source code.

Source code cannot run direct by computer it need to be transform into machine language by compiler.