Preview

3 Basic Programming Languages

Good Essays
Open Document
Open Document
575 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
3 Basic Programming Languages
There are three basic types of programming languages. These languages are machine, assembly, and high-level languages. Machine language is just a sequence of zeroes and ones. Different combinations of zeroes and ones mean different things and sends different instruction to the computer. An advantage of this is that this is the only language that a computer can understand directly. However a fallback is that this is not very easy for humans to be able to either read it or write it. It will be hard to get any developers to utilize this language. This is the reason why most will use one of the other two. Assembly language is the oldest form of non-machine language. It is a symbolic representation of machine language. It typically uses a one to one correspondence between the two. Another program called an assembler will translate it into machine language. Since assembly language uses easy to recognize codes, it makes it a lot easier for people to understand. When it comes to the program and how it relates to the computer processing and memory usage, the program will typically be stored in non-volatile memory until it is requested. Upon request it will then be loaded into random access memory (RAM). Once it is loaded into the RAM it then can be accessed by the central processing unit (CPU). It will then execute instructions until terminated. Termination can either be by user or it can be due to software or hardware error. High-level languages will typically contain commonly used English words and phrases, thus removing a lot of the symbols and structure that is required at a lower level programming. There are several advantages to high-level languages vs machine or assembly. Typically if a program is written on one computer it can easily be modified to work on another computer. Also a single instruction written in a high level language will typically translate into several instructions in machine language. Now a disadvantage is that these high level programming

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    Machine code it the language that the computer understands. High level languages are better because they are easier to understand and work with.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    The first language and its rules I will describe is Visual Basic. Visual Basic has a few different rules and they are described on Microsoft’s website in a document. This document is called (“Visual Basic Naming Rules”) and they read as such:…

    • 878 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    The most popular dynamic languages including Ruby, Python, PHP and JavaScript, which we can use as a server-side language through Node.js. Statically typed languages like Java, C and C++ are the most popular languages in CS programs, although Python has been gaining ground in recent years.…

    • 737 Words
    • 3 Pages
    Good Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What is used to translate high level language programs to machine language (or machine code)? Compiler…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Inch and Lt

    • 1077 Words
    • 5 Pages

    1. What is machine code? Why is it preferable to write programs in a high level language such as C++?…

    • 1077 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Now, the way people communicate with computers is not directly by the language that the computer understands (machine language), but instead a set of instructions have to be written in a different language that specializes in writing programs such as C++ or Visual Basic. These types of languages at the same time have to be translated into machine language either through compilers or interpreters. Compilers translate all the source codes (C++, Visual Basic, etc. language) in a program to machine language before it’s executed. Then after that the compiled program (in this case machine language) is executed by the Central Process Unit (CPU). At this time the machine language can be used every time the program is run unless the source code changes, in which then the machine language should be recompiled. Like compilers, interpreters also translate the source code into machine language, but they only translate each line of the code as it is executed. Difference is also that every time the program is run each line must be translated again. Which in comparison to compilers, interpreters are much…

    • 322 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    1. What is machine code? Why is it preferable to write programs in a high level language such as C++?…

    • 843 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Copyright © 2012 Pearson Education, Inc. 0-4 2 Stored Program Concept A program can be encoded as bit patterns and stored i main memory. F d t d in i From th there, the CPU can then extract the instructions and execute them. In turn, the program to be executed can be altered easily.…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Of all the differences I have found, there seems to be three that really stick out. The first of the three would have to be the ease of learning. This is because some languages have more simplistic syntax than others. For example, Python code is known for its simplicity of syntax because most other programming languages have more lines of code to do the same thing Python does in one line. The second difference is how the Jargon is different between programming languages. Just like in spoken languages like English and Spanish, they have different terms for basically the same thing. For example, java calls something a method while Python calls the very same thing a function. The third of the three is the wide spread uses of the programming language. If no one is using it, you should not have to learn…

    • 1484 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Intro to Programming

    • 390 Words
    • 2 Pages

    Procedure programming can be written in C, HTML, Perl, and Visual Basic Script while Object Oriented Programming can be written in C++, Java, and .NET language (Stetson, 2004).…

    • 390 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Object-oriented Languages: mainly features as same as the imperative languages because these languages are evolved from imperative languages. The specialty rests on the object-oriented concepts in these languages. Widely used for every kind of software programming and the most commonly used languages are considered to these languages. Java, C#, C++ and Python are few examples.…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Better Essays

    Structured programming is one of the several different ways in which a programming language can be constructed. "It was originally introduced as a means of getting away from the 'spaghetti' code that was used in the early days and to provide some means by which programmers could more easily follow code written by other programmers." (Hendren, 1998) Structured programming is a procedure-oriented method of designing and coding a program.…

    • 962 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Gay Rights

    • 324 Words
    • 2 Pages

    In The Piano Lesson each central character learns a lesson. August Wilson uses plenty of symbolism throughout his play, the strongest symbol being the piano itself, representing the family's history, their long struggle, and their burden of their race. Throughout the play, the conflict revolves around the piano, and Berniece and Boy Willie's contrasting views about its significance and about what should be done with it. Berniece is ashamed and cannot let go of the past, or the piano, and Boy Willie wants to move his life forward, and use the piano to do so. Wilson portrays the 'lesson' of the piano as accepting and respecting one's past and moving on with one's life gracefully, through Berniece and Boy Willies contrasting actions and the play's climactic resolution.…

    • 324 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Ethics

    • 399 Words
    • 2 Pages

    *The motivation for the creation of higher-level programming languages was because people were looking for ways to make coding faster, less error-prone and resemble human grammar and syntax more closely, and are often portable to different operating systems and machines.…

    • 399 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Atm Simulater

    • 422 Words
    • 2 Pages

    C++ is one of the most popular programming languages of all time and there are very few computer architectures for which a C++ compiler does not exist. C++ has greatly influenced many other popular programming languages, most notably C++, which began as an extension to C.…

    • 422 Words
    • 2 Pages
    Satisfactory Essays