Difference between revisions of "Category:Programming Language Concepts"

esse quam videri
Jump to: navigation, search
(Created page with "{ } braces [ ] brackets ( ) parentheses < less than > greater than argument data that is needed to perform a given task array a list or ordered collection of elements b...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{ } braces
 
  
[ ] brackets
+
'''Complied vs Interpreted Languages''': pre-processed by compiler into machine language prior to execution
 +
'''Interpreted Languages''': complied at run time every time the program is executed aka a run time language
  
( ) parentheses
+
Interpreted is not more human readable. It can be just as abstract and complied code. The difference is how the machine reads and executes the code.
  
< less than
+
[https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#Imperative_languages Interpreted languages] read and parse the source input every time a they are executed. After each line is parsed it is converted to machine language and it is executed. Interpreted languages are often referred to as scripting languages and are often good for small projects that need to be deployed quickly.</p>
 +
Interpreted Scripting Languages are often used on the web
  
> greater than
+
Common Interpreted Languages are [http://www.perl.org Perl],[http://www.php.net PHP], [http://www.python.org/ Python] and [http://www.ruby-lang.org/en/ Ruby]
  
argument data that is needed to perform a given task
+
'''Compiled Languages'''
  
array a list or ordered collection of elements
+
[https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#Compiled_languages Compiled languages] use a compiler to read and parse the input source code and convert it into machine language. The output binary file is then executed. If the source changes the program needs to be recompiled. Complied programs often execute faster and add extra layer of security because the source is not always readily available and executable. Complied code also tends to take up less memory and system resources.
  
block a section of code defined by some reserved symbol.
 
  
boolean a datatype that can hold either a 1 or a 0, true or false
 
  
byte 8 bits
+
HelloWorld in several common programming languages
 
+
[[Hello World Languages]]
case sensitive a condition wherein whether a character is upper or lower case has significance
 
 
 
char a datatype that holds a character
 
 
 
class a derived C++ datatype that represents a collection of related members and functions.
 
 
 
condition a relational expression that evaluates to true or false
 
 
 
constant a location in memory whose value does not change
 
 
 
counter a variable used to keep count
 
 
 
datatype a term used to declare the kind of value a variable will hold or a function will return
 
 
 
define to assign a value to a variable or to write the code that holds the instructions for a function
 
 
 
double a datatype for a floating point (decimal) variable
 
 
 
editor a program that is used to create source code
 
 
 
encapsulation to enclose in a block using braces
 
 
 
error codes values that are returned to indicate why a process failed
 
 
 
executable code the end result of the compiling/linking process, stand alone code that can be run on a computer
 
 
 
float a datatype that can hold floating point or decimal value
 
 
 
function a block of code that encapsulates a given process
 
 
 
global the scope of a variable that allows it to be used by all blocks of a program
 
 
 
IDE integrated development environment
 
 
 
identifier the name assigned to a variable or function
 
 
 
initialization the process of assigning an initial or beginning value to a variable
 
 
 
instance the occurrence of an object of a class
 
 
 
int the datatype that holds a whole number or integer
 
 
 
keyword a reserved word reserved in a programming language that is assigned a special meaning
 
 
 
main a keyword used to define the principle block of code. This is the name of the function where the program begins
 
 
 
member a variable or function in a class
 
 
 
object something created when a variable is declared. An instantiation of a class
 
 
 
object oriented programming a type of programming that used classes to create objects.
 
 
 
operator word or symbol that causes some kind of computation or action
 
 
 
pixel a picture element, the smallest bit of data on a screen
 
 
 
pseudocode English text that describes the flow or steps of a program
 
 
 
public a member of a class that can be accessed by objects of any class
 
 
 
relational operator a word or symbol that tests whether an expression is true or false
 
 
 
return value a value sent back to the calling function when a function ends
 
 
 
scope the block in which a value can be accessed
 
 
 
source code the instructions of a program written in a programming language
 
 
 
statement a line of instruction terminated by a semicolon
 
 
 
trace to follow the sequence of a program
 
 
 
variable an object, a location in memory whose value can change
 
 
 
void a datatype that holds no value
 

Latest revision as of 20:04, 8 August 2019

Complied vs Interpreted Languages: pre-processed by compiler into machine language prior to execution Interpreted Languages: complied at run time every time the program is executed aka a run time language

Interpreted is not more human readable. It can be just as abstract and complied code. The difference is how the machine reads and executes the code.

Interpreted languages read and parse the source input every time a they are executed. After each line is parsed it is converted to machine language and it is executed. Interpreted languages are often referred to as scripting languages and are often good for small projects that need to be deployed quickly.</p> Interpreted Scripting Languages are often used on the web

Common Interpreted Languages are Perl,PHP, Python and Ruby

Compiled Languages

Compiled languages use a compiler to read and parse the input source code and convert it into machine language. The output binary file is then executed. If the source changes the program needs to be recompiled. Complied programs often execute faster and add extra layer of security because the source is not always readily available and executable. Complied code also tends to take up less memory and system resources.


HelloWorld in several common programming languages Hello World Languages