Top-Rated Free Essay
Preview

Computer Instructuins, Aka Programs

Satisfactory Essays
322 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Computer Instructuins, Aka Programs
Computer Instructions, aka Programs

Using the information in the Lectures (Computer Instructions, aka Programs) presentation, answer the following:
•Name and describe the only language that computers understand and explain how the instructions that people write for computers get into that form Computers only understand one language and that is the machine language (binary code). This type of language is represented in a two digit sequence zero (0) or one (1). Computers use this machine language to represent every task that they perform by means of electrical current that go through switches (capacitors). If a switch has current it means that the switch is “ON” in machine language this will be represented as the number “one”. If there is no current going through the switch then it is considered to be “OFF” and represented in binary code as the number “zero”. 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 slower.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

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

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What both translates and executes the instructions in a high level language program? What was the first programming language designed to perform complex math functions? Interpreter.Fortran…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    IS3120 Unit 3

    • 650 Words
    • 2 Pages

    computer can transmit data in 1's and 0's on and off also called digital or binary form.…

    • 650 Words
    • 2 Pages
    Satisfactory 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
  • Better Essays

    Assembly language enables programmers to relate op codes using symbolic names in place of numbers to perform an instruction or input a piece of data. Programmers can inscribe op codes using purposeful words like JUMP, CLEAR, and ADD as an alternative to cryptic binary codes consisting of series of 0s and 1s. An example of assembly language, machine language and its meaning are listed in the book called, “Invitation to Computer Science” (Schneider & Gersting, 2013, pp. 285, fig. 6.5). In figure 6.5, assembly language is clearly easier to comprehend than machine language, which makes assembly language user friendly.…

    • 2002 Words
    • 9 Pages
    Better Essays
  • Satisfactory Essays

    Copyright © 2012 Pearson Education, Inc. 0-5 Terminology • Machine instruction: An instruction (or command) encoded as a bit pattern d) d d tt recognizable by the CPU • Machine language: The set of all instructions recognized by a machine Copyright © 2012 Pearson Education, Inc. 0-6 3 Machine Language Philosophies • Reduced Instruction Set Computing (RISC) – Few, simple, efficient, and fast instructions – Examples: PowerPC from Apple/IBM/Motorola and ARM • Complex Instruction Set Computing (CISC) –…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Chapter 1 study guide

    • 672 Words
    • 3 Pages

    Computers record the ideas they work with electronically, as bits, and these bits represent either a 1 or a 0…

    • 672 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Homework CH 1 Java

    • 723 Words
    • 5 Pages

    2. Languages that let you use a vocabulary of descriptive terms, such as read, write, or…

    • 723 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Binary Code

    • 627 Words
    • 3 Pages

    Binary meaning two. The principle behind digital computers. All input to the computer is converted into binary numbers made up of the two digits 0 and 1. The bits are stored as charged and uncharged memory cells or as microscopic magnets on disk and tape. Display screens and printers convert the binary numbers into visual characters. The electronic circuits that process these binary numbers are also binary in concept. The current flowing through one switch turns on (or off) another switch, and so on. A computer 's capability to do work is based on its workspace capacity (memory), storage capacity (disk)…

    • 627 Words
    • 3 Pages
    Good Essays
  • Good Essays

    which is the tiny data processor in the computer, and then the program could be written…

    • 1671 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Computer Organisation

    • 55794 Words
    • 224 Pages

    The computer accepts coded information through input unit. The input can be from human operators, electromechanical devices such as keyboards or from other computer over communication lines.…

    • 55794 Words
    • 224 Pages
    Powerful Essays
  • Good Essays

    Programming languages • A Programming language is a notational system for describing tasks/computations in a machine and human readable form. • Most computer languages are designed to facilitate certain operations and not others: numerical computation, or text manipulation, or I/O. • More broadly, a computer language typically embodies a particular programming paradigm.…

    • 1117 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Most programming languages—such as C, C++, and Fortran—use compilers, but some—such as BASIC and LISP—use interpreters. An interpreter analyzes and executes each line of source code one-by-one. Interpreters produce initial results faster than compilers, but the source code must be re-interpreted with every use and interpreted languages are usually not as sophisticated as compiled languages.…

    • 4020 Words
    • 17 Pages
    Powerful Essays
  • Powerful Essays

    A programming language is a system of signs used to communicate a task/algorithm to a computer, causing the task to be performed. The task to be performed is called a computation, more broadly, a computer language typically embodies a particular programming paradigm. A Programming Paradigm is a model for a class of Programming Languages that share a set of common characteristics. Programming language paradigms are various systems of ideas that have been used to guide the design of programming languages. It is a way of conceptualising what it means to perform computation and how task are to be carried out on a computer, should be structured and organised.…

    • 2576 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Assembly Language

    • 5117 Words
    • 21 Pages

    In the introductory section some of the elemental concepts regarding computer systems are mentioned, along with the concepts of the assembly language itself, and…

    • 5117 Words
    • 21 Pages
    Good Essays