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

Cisc, two characteristics og CISC architecture?

two characteristics og CISC architecture?

Computer system architecture, 1. Suppose that the meaning of the BUN instru...

1. Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the relative addressing mode, i.e PC a) Write an optimal operation sequence to im

Distinguish between s-http and ssl, QUESTION (a) Distinguish between S...

QUESTION (a) Distinguish between S-HTTP and SSL (b) What are the three basic security provided by SSL? (c) Discuss the limitations of SSL (d) State the port number us

Search strategy-artificial intelligence, Search strategy-artificial intelli...

Search strategy-artificial intelligence: Soundness: You  can hear  in  some  application domains  -  i.e.  automated  theorem proving - that a search is "sound and complet

Explain the functions of alu, Question 1 Write down the Booth's Multiplica...

Question 1 Write down the Booth's Multiplication Algorithm. Justify the Booth's Multiplication Algorithm Question 2 Explain the functions of ALU Question 3 Define the term ins

Data communications and networks, A magazine publisher based in Nairobi has...

A magazine publisher based in Nairobi has branch in Kisumu, and one in Mombasa. The company has kept in touch by telephone and courier service. Each office is networked. The networ

Computers, Computers One of the most  important invention in the desig...

Computers One of the most  important invention in the design of digital  circuits  is that  of the general- purpose "stored program" computer or device. Computers are a partic

SCM, advantages of E-SCM?

advantages of E-SCM?

Cryptography, Question 1 Consider the one-time pad encryption scheme to en...

Question 1 Consider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the eve

Moderns, Moderns: As it was explained earlier, communications channels...

Moderns: As it was explained earlier, communications channels can operate in either the Analog or digital mode. However, a given circuit can operate only in one mode not both

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