Sunteți pe pagina 1din 4

Reviewer Comsoo6 Characteristic of programming languages: 1. 2. 3. 4. 5.

Ease of understanding Efficiency of use Portability Modularity Naturalness

Levels of programming languages: 1. 2. 3. 4. Declarative languages- English form like High level languages- widely used Assembly languages-symbolic representation form for its associate machine language Machine languages- a machine independent, convert all data to binary digits

Reason for studying concepts of programming languages: 1. 2. 3. 4. 5. 6. Increase capacity to express ideas Improve background for choosing appropriate languages Increase ability to learned new languages Better understanding of the significance of implementation Increase ability to design new languages Overall advancement of computing

Programming domains/ application 1. 2. 3. 4. 5. 6. 7. Scientific application Business application Artificial intelligence System programming languages Text processing application Very high level language Special purpose languages

Examples of syntax considerations 1. Identifier forms 2. Special words 3. Form and meaning Program- set of instructions

Programming is the process of creating a program Programmer- the person who create the program Structure- organization or arrangement of the part of an entity Languages- is a set of rules, representations and conventions used to convey information Declarative languages- are the most like english in their expressive power and functionality High level language- the most widely used programming languages Machine languages- it converts the codes into binary digits such as zero and one Readability- it means the ability to define and then use complicated structures or operations Support for abstraction- it performs its specifications under all conditions

Lesson2:

Encapsulation- it means iformation hiding Prototype- creating new objects using existing object Lazy- function are not evaluated until they are actually needed Non-lazy- language evaluate functions as soon as they are passed as arguments Thread- other term for multi- process Logical error- a type of error that does not follow the proper format or the structure of the program Translator- these are the programs which converts human readable applications program to machine readable application Compiler- the translator of a hiigh level language Syntax error- a type of error that usually occur when entering wrong data types Dynamic typing a program source can be more flexible and compact Static typing- are fixed Weak typing a type of program that accepts limited data types Strong typing- opposite of weak typing

Runtime error- not following the proper process Compilation- a distinc step before the program is run Interpretation- the translation to be done dyanamically when the program is run Data type: Long- holds the value of large whole number Float- number with decimal point Char-holds the value of a single character Boolean- holds the value of true and false String-holds the value of several characters Var- holds string and numeric Int- holds the value of whole number Double- holds the value of large whole number with decimal point

Types of error: 1. Logical error 2. Syntax error 3. Runtime error Principles of oop 1. Polymorphism 2. Inheritance 3. Encapsulation Type of translator 1. Compiler- translate high level language into machine language for the computer to understand 2. Assembler- if the program was written in assembly,the sytem software that that translate it to machine language 3. Interpreter- the translator in a basic written program Approaches to oop 1. Methods in class 2. Multi method seperate in class

3. prototype categories of programming languages: machine language-first genaration, most basic of computer languages assembly language-second generation, it is uses an english like abbriviation for community used string and commands high level langauge- third generation language, the codes can be written in a closed human readable form

S-ar putea să vă placă și