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
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    Machine code is the language which the computer hardware understands and executes. Instructions in a high-level language are closer to a natural language, such as English and therefore are easier to understand and learn than machine language.…

    • 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
  • 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
  • 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

    JAVA

    • 956 Words
    • 4 Pages

    Java is one of the computer programming languages. In this language computer programmers write set of instructions using English commands instead of using numeric codes to execute certain task. Java language can be easily written and read by humans so it 's called "high level language". Once Java program is written using high-level instructions it 's translated to numeric codes because computer can understand program only in numeric version. Java language was very simple to use. Java language was developed from the ideas of C++. C++ is also a one of the powerful language but there is one drawback about it i.e., syntax of C++ is very complex. Java language is very simple to use and more powerful. Java provides high level of security so it 's used in the mobile devices were the information’s transferred over the…

    • 956 Words
    • 4 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
  • 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
  • Good Essays

    The terms "first generation" and "second generation" programming language were not used prior to the coining of the term "third-generation"; none of these three terms are mentioned in early compendiums of programming languages. The introduction of a third generation of computer technology coincided with the creation of a new generation of programming languages. The marketing for this generational shift in machines correlated with several important changes in what were called high level programming languages, discussed below, giving technical content to the second/third-generation distinction among high level programming languages as well, and reflexively renaming machine codelanguages as first generation, and assembly languages as second generation. A third-generation programming language (3GL) is a generational way to categorize high-level computer programming languages.[1] Where assembly languages, categorized as second generation programming languages, are machine-dependent, 3GLs are much more machine independent and more programmer-friendly. This includes features like improved support for aggregate data types, and expressing concepts in a way that favors the programmer, not the computer. A third generation language improves over a second generation language by having the computer take care of non-essential details. 3GLs feature more abstraction than previous generations of languages, and thus can be considered higher level languages than their first and second generation counterparts.…

    • 887 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Languages, grammars and automata theory are all related to computer applications. Grammar is the rule for language structure regardless of the meaning. For computer programming languages context free grammar (CFG) is commonly used. Formal language as opposed to natural language must be used with computer applications because natural language is too vague for computer applications. Automata is a way to test an expression to determine if it is part of the language (Pfeifer, 2005).…

    • 992 Words
    • 4 Pages
    Powerful Essays