Programming languages, Basic Computer Science

Assignment Help:

 

Programming Languages

A number of programming languages are available for program writing. These languages can be classified as follows:

  1.     Machine language
  2.     Assembly language
  3.     High-level language
    Machine Language: Computers use binary system and all data or instructions ultimately have to be converted into the combination of 0s and 1s, so that the system can execute them. Each computer system generally has its own special machine language. For giving instructions, we need to have a standard format so that every programer can follow it. Machine language has a specific instruction set, in which instructions are specified.
    Since, machine language is directly based on the computer system characteristics, it does not require any additional software for translating instructions to what the computer can understand. Though this is a very efficient language, it is rarely used for writing programs because of the difficulty in executing it.
    Assembly Language: Assembly language was designed to facilitate writing programs compared to the machine language. In this, “mnemonic codes” are created, which the programer can directly utilize. For example, instead of using ‘0’ and ‘1’ to specify an operation, say “ADD”, programers can use “mnemonic code” “ADD” directly. Similarly, in assembly language, symbolic code for memory address of an operand can be used instead of specifying the address as “binary”. Today, assembly language is also used very often except by systems programers.
    High-level Language: Various high-level languages have been designed for helping in writing the program instructions. Some examples are BASIC, COBAL, FORTRAN, PASCAL, ALGOL, etc. High-level languages are English like languages with a predefined format. In these, the instructions are much more powerful compared to machine language or assembly languages. The most important feature of high-level languages is that they are machine independent and can be used on various computer systems.

 


Related Discussions:- Programming languages

C, wap to print padovan string in c

wap to print padovan string in c

Switching mechanisms , SWITCHING MECHANISMS: Switching mechanisms are ...

SWITCHING MECHANISMS: Switching mechanisms are techniques devised to send messages in many dinections at once and to ensure that these messages are received with a minimum of

Object oriented programming, Write a method called Grade that takes a numer...

Write a method called Grade that takes a numeric score and returns a letter grade. Use the rule that 90 to100 is an A, 80 to 89 a B, 60 to 79 is a C, 45 to 59 is a D, and less th

Computer input, COMPUTER INPUT: Figure shows input information for a ty...

COMPUTER INPUT: Figure shows input information for a typical airborne digital computer.  The sensors in Figure develop analogue electrical signals representing: -

Explain the probability and non-probability sampling methods, Question 1 W...

Question 1 Write a program to read four floating point numbers and find their sum and average. Question 2 Differentiate string constants and character constants with one exam

Loading instructions, They are particular register instructions. They are u...

They are particular register instructions. They are used to load bytes or sequences of bytes onto a register. LODS (LODSB) (LODSW) LAHF LDS LEA LES LODS (LODSB) (LODSW) INSTRUCTION

Autonomous rational agents - artificial intelligence, A utonomous Rational...

A utonomous Rational Agents: In many cases, it is not accurate to talk about a particular program or a particular  robot, as the combination of and software and hardware in so

Computer files, criteria for classifying computer files

criteria for classifying computer files

Define and explain flow chart with an example, Question 1 Define and expla...

Question 1 Define and explain flow chart with an example Question 2 Write an algorithm to print all even numbers in descending order and draw the flowchart Question 3 Explain

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd