• Template from which objects are constructed
• Includes descriptions of both varibles and methods(functions)
Back
Concurrent processing
Front
Simultaneous execution of multiple processes
Back
Q: Vad är en funktion i ett programmeringsspråk?
Front
En avskild del av ett program(ett delprogram i programmet) bestående av ett antal instruktioner för att utföra en specifik uppgift och som kan användas av andra delar av programmet
Converts third generation language to machine language
Back
Third generation languages
Front
• Uses high-level primitives
• Machine independent
• Each primitive corresponds to a sequence of machine language instructions
• Compiler
• Early examples: FORTRAN, COBOL
Back
Array(data structure)
Front
Block of data where all elements are of the same typ
Back
Functional
Front
Basic building block: functions
• lisp, ML, Scheme
Back
Translation process
Front
Source program —> Lexical analyzer —> Parser —> Code generator —> Object program
• A mnemonic system for representing machine instructions: mnemonic names for op-codes. Descriptive names for memory locations(variables) chosen by the programmer
• One-to-one correspondence between machine instructions and assembly instructions
• Inherently machine-dependent
• Assembler
Back
Control
Front
• Sequence (first do this, then do this)
• Selection (if:condtion,else:)
• Repetition(while)
• Every algorithm can be implemented using these basic constructs
Back
Assembler
Front
Converts assembly language to machine language
Back
Operation
Front
Variable assignment
Back
Variable
Front
Namned location in primary memory, which can store a value
Back
Object oriented programming
Front
• Class
• Object
• Features
Back
Primitive data types
Front
• Integer
• Float
• Character
• Boolean
Back
Logic programming
Front
• Program consists of logical formulas in the form of rules and facts
• There is no distinction between code and data
• Built-in deduction engine using a derivation technique called resolution
• Answer questions whether a facit is a logical consequence of the program or not