Top-Rated Free Essay
Preview

information technology fundamentals notes

Good Essays
291 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
information technology fundamentals notes
Any language’s grammar consists of the rues which govern the languages use.
Any language, whether natural or artificial has lexemes (symbols) and a grammar. Example : void, ;
Semantics: what do the lexemes mean?
Statically typed languages determine the data types of variables during compilation and don’t allow them to change.
Dynamically typed languages determine the data type at run time by looking at how the variable is being used type safe compilation, written in a language, goes to compiler, produces the program into machine code, creates a compiled version.
Compilation, protects intellectual property,
Interpretation, takes a program written in a high-level language, read a line, translates the line into machine code, send translated line to the computer, repeat until finish.
Interpretation, can run on multiple platforms
Just in time, code is written in high level language, each time program runs compiles the program into machine code, after execution compiled version is ‘destroyed’
Compiled- interpreter, high-level language is compiled to an intermediate language, intermediate language version is distributed, code is then interpreted
Compiled-compiled, high-level language is compiled to intermediate language, this version is then distributed, the code is recompiled into machine code when run
Translating from source code to machine code is usu the lexical analyser reads code and turns it into tokens lexers usually to stages, scanning, evaluation scanning read source code and identify the tokens evaluator native compilers translate source code in binaries only for the hardware platform on which they run cross compilers run on one hardware platform but produces binaries for a different platform one pass compilers look through the source code only once, whereas multi-pass compilers look through the source more than once, usually a few times.
One pass faster
Multi-pass slower but more efficient code

You May Also Find These Documents Helpful

  • Satisfactory Essays

    The second category of fault changes individual instructions in the text segment. These faults are intended to approximate the assembly-level manifestation of real C-level programming…

    • 285 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT104 Assignment Unit 5

    • 307 Words
    • 2 Pages

    Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed.…

    • 307 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The language for which the compiler has been made is named as “M#”. M# is a general-purpose programming language having the most basic functionalities in it. This language basically focuses on the mathematical calculations, which are done using arithmetic operators and a few relational operators. M# is a case sensitive language.…

    • 703 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    A compiler translates one computer language into another. It also pics up errors in the program being put together.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 week 2

    • 320 Words
    • 3 Pages

    Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed.…

    • 320 Words
    • 3 Pages
    Satisfactory 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
  • Powerful Essays

    Java exam 1 practice test

    • 6434 Words
    • 53 Pages

    That a program may be written on one type of computer and then run on a wide variety of computers with little or no modification necessary.…

    • 6434 Words
    • 53 Pages
    Powerful Essays
  • Good Essays

    Physics Midterm Exam

    • 958 Words
    • 4 Pages

    Correct answer: (d). The date of birth is not entered nor used in the program. It is irrelevant information.…

    • 958 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    A linker takes one or more machine code modules generated by a compiler and combines them into a single executable program.…

    • 843 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    CHAPTER 3 QUESTIONS

    • 438 Words
    • 7 Pages

    The __________ contains the basic elements of a user’s program and can be generated directly from a compiled object file.…

    • 438 Words
    • 7 Pages
    Satisfactory Essays
  • Better Essays

    Compilation: programs are translated into machine code which can directly execute on the computer. Compiler analyzes the whole code and generates the machine code which makes it very fast process. And due to this, compiled programs don’t require any second application or package to run it. The time takes to create a program from compilation is relatively faster than interpretation. As a disadvantage, compilation process is hardware specific into which machine it get compiled. Architecture of the computer affects…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Satisfactory Essays

    Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed.…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Symbol Table

    • 1792 Words
    • 8 Pages

    It is useful for a compiler to be able to grow the symbol table dynamically at compile time. If the symbol table is fixed when the compiler is written, the size must be chosen large enough to handle any source program that might be presented.…

    • 1792 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    Translation – The process of translation between two different languages involves the translator changing an original text (the source text – ST) in the original verbal languages (the source languages – SL) in a different verbal language (the target language – TL)…

    • 1165 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    Cupl

    • 10116 Words
    • 41 Pages

    A TMEL – WinCUPL ............................................................ USER’S MANUAL 2 Table of Contents Section 1 Introduction to Programmable Logic ................................................ 1-1 1.1 What is Programmable Logic? ................................................ 1-1 1.2 Device Technologies and Packaging ...................................... 1-6 1.3 Programming Logic Devices ................................................... 1-7 1.4 Functionally Testing Logic Devices ......................................... 1-7 Section 2 Designing with the CUPL™ Language ............................................. 2-1 2.1 Declaration of Language Elements ......................................... 2-1 2.2 Usage of the Language Syntax ............................................... 2-2 2.3 Advanced Language Syntax ................................................. 2-14 Section 3 Using the CUPL Compiler ............................................................... 3-1 3.1 About The Compiler ................................................................ 3-1 3.2 Output File Format Descriptions .............................................. 3-6 Section 4 CUPL Tutorial .................................................................................. 4-1 4.1 Tutorial for Gates .................................................................... 4-1 4.2 Tutorial for COUNT10 ............................................................. 4-3 4.3 Tutorial for SQUARE.PLD ....................................................... 4-5 Section 5 CUPL Software Features ................................................................. 5-1 5.1 CUPL - PALexpert ................................................................... 5-1 5.2 CUPL - PLDmaster .................................................................. 5-1 5.3 CUPL - Total Designer ............................................................ 5-1 5.4 CUPL -…

    • 10116 Words
    • 41 Pages
    Powerful Essays