GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

AS Computing COMP2

Neverlettinggo Englisch 15 Karten

Karten in diesem Stapel (15)

  1. 1HardwareElectronic/electrical circuits that a computer is assembled from. The platform on which software executes.
  2. 2SoftwareConsists of sequences of instructions called programs that can be understood and executed by hardware.
  3. 3AssemblerTranslates assembly language into machine code.
  4. 4CompilerTranslates a high level program into object code. Looks at the entire sourcecode and generates an executable file.
  5. 5InterpreterAnalyses and executes each line of a high level language without looking at the entire program. Execution is therefore slower.
  6. 6Compiler vs Interpreter1) Compiler produces object/machine code and interpreter does not.
    2) Interpreted code executes slower than the compiler object code.
    3) You need an interpreter to interpret source code and don't need a compiler to execute a compiled program.
    4) Once compiled, source code is not needed to run a program, but an interpreter will always need the source code at runtime.
    5) Compiled code can only be executed on machines with the same instruction type so interpreted code is more portable.
    6) A compiler translates the whole source code at once but an interpreter analyses it line by line.
  7. 7Limitations of using assembly to code a program1) Very difficult to understand
    2) Very easy to make mistakes
    3) Hard to find mistakes in the code
    4) Can be time consuming during development
    5) Lack of portability
    6) Lack of built in functions/procedures
  8. 8Advantages of using a compiler rather than an interpreter to code a program ready for sale1) Compiler produces object code so there is no need to distribute source code
    2) The compiled object code is more optimised and runs faster
    3) The target computer has no need to have the original compiler
    4) The executable can be installed on the target computer
    5) No interpreter available for target machine
  9. 91st Generation Programming LanguageMachine Code. The only program code the computer can directly execute. Made up only of binary characters to represent opcode and operand.
  10. 10OpcodeIndicates the basic machine operation, function or instruction.
  11. 11OperandRepresents a single memory storage location. The value the instruction operates on.
  12. 122nd Generation Programming LanguageAssembly Language. A low-level symbolic code converted by an assembler to machine code. One assembly code instruction relates to one machine code instruction.
  13. 13When would assembly language be used?1) You're working on embedded hardware
    2) You have a need for a small object code size
    3) You need fast execution
    4) You need to access hardware/registers directly
  14. 14Why assembly language is better than machine code1) Easier to understand
    2) Takes less time to code, as you are using mnemonics.
    3) Fewer mistakes made in coding
    4) Ability to add comments to code
    5) Because of use of mnemonics, it is easier to remember these.
    6) Easier to maintain and debug
    7) Can use labels
  15. 153rd Generation Programming LanguageImperative Language. The programmer gives the computer a sequence of instructions to execute.

Informationen

Beschreibung
Karteikarten am AS Computing COMP2, erstellt von Neverlettinggo am 27/01/2016.
Erstellt von
Neverlettinggo
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck