Documente Academic
Documente Profesional
Documente Cultură
SMALL JAVA/C/CC++
1.Lexical conventions -Programs are written once but read many times
Solutions:
C and Java
Fully compound statement
Some uses ; as statement terminator
3.Data types: C and Java allows constants, types, variables and functions to be defined. Besides, Java allows classes and packages to be defined
4.Control structures
A combination of individual instructions into a single logical unit with one entry point and one exit point
To control the flow of execution in a program or function.
Categorized into sequences, decisions and loops.
i. Sequence structures
The sequential execution of statements is the normal activity of a programming language.
Most languages, including Java and C, implicitly require sequential execution, and no specific control structure is provided.
The definition of a block in both Java and C indicate that between ({) and end (}) there is a sequence of statements
Allows the programmer to specify that a statement, or collection of statements, is to be executed more than once
There are 2 distinct forms for constructing such loops: recursion, iteration
LARGE : Important methods that can be used to manage the complexity characteristics of large embedded system
Information Hiding: Supports reduced visibility by allowing information to be hidden inside the modules body
Separate compilation: only files which have been edited since the last compilation need to be re-compiled when re-building the program
Superclass - class from which other classes are derived. Subclasses - classes that are derived from a superclass
General purpose computer languages: Languages , Be portable, Be modular, Lend themselves to being debugged & compiled separately
CONCURRENT PROGRAMMING: techniques for expressing potential parallelism and solving the resulting synchronization & communication problems/ Reducing
the software construction costs.