Saturday, 25 May 2013
Difference between assemble and interpreter
Assembler:
To convert assembly language into machine language
Interpreter:
A computer program that executes instructions written in a language and do not produce any executable files.
Difference between assembler and compiler
Assembler:
To convert assembly language into machine language
Compiler:
A program that changes the source code (high level language) into object code which that can be executed by a machine.
Interpreter
A computer program that executes instructions written in a programming language and do not produce the executable file.
Interpreter:
- Checks the keyword of a program
- Taking one instruction at a time and convert it into machine language before taking upon the next instruction
Examples of interpreter base languages: PHP, JavaScript, BASIC
Compiler
A program that changes source code (high level language) to object code which that can be executed by a machine.
Compiler:
- Checks syntax of a program
- checks at a time all the program
Primary reason for compiling source code is to create an executable program
Examples of compiler based languages: C, C++, java
Executables: Files that actually do something by carrying out a set of instructions.
Some of the examples of compiler:
Microsoft Visual Studio
BlueJ
Quincy 2005
Assembler
Assembler is used to convert assembly language into machine code.
It translates mnemonic operation code to their machine language equivalents.
Assigning machine address to symbolic labels.
It can also process assembler directives.
Assembler directives provides introduction to the assembler itself. They are not translated into machine instructions
e.g: START : name and starting of string address for program.
END : end of the source program and specify first executable instruction in the program.
Working of Assembler
- Programmer writes a program using sequence of assembly instructions.
- This sequence of assembly instructions, known as the source code/source program, then specified to the assembler program when that program is started.
- It translates a source code into machine language.
- The output of the assembler program is called the object program or object code.
Friday, 24 May 2013
Graphical User Interface (GUI)
GUI is a type of user interface that allows users to interact with electronic devices using images rather than text commands. GUIs can be used in computers, hand-held devices such as MP3 players, portable media players or gaming devices, household appliances, office, and industry equipment.
Menu Driven Interface
This interface requires the user to interact with the computer by selecting various options from a list of choices called a menu.
Advantages of menu-driven interface
- User does not need to memorise lots of commands
- Easy-to-use program for beginners with minimal training requirements
Disadvantages
- Certain operations/options cannot be ‘visual’
- Can be time consuming to find a command if unfamiliar with software
Nowadays, Graphical User Interfaces incorporate menus where commands are selected by pointing the mouse cursor at the command to be executed.
Subscribe to:
Posts (Atom)







