Programming: Difference between revisions

From Computer Science Wiki
No edit summary
(13 intermediate revisions by the same user not shown)
Line 3: Line 3:
   [[File:Exclamation.png]] This is one of '''the most important ideas''' you can remember:  
   [[File:Exclamation.png]] This is one of '''the most important ideas''' you can remember:  


   '''Decompose''' a problem into smaller parts, '''model''' a problem with flowcharts. Learn to think '''sequentially'''
   '''Decompose''' a problem into smaller parts, '''diagram''' a problem. Learn to think '''sequentially'''
</blockquote>
</blockquote>
</center>
</center>


[[file:computation.png|right|frame|Programming<ref>http://www.flaticon.com/</ref>]]
[[file:computation.png|right|frame|Programming<ref>http://www.flaticon.com/</ref>]]
== Introduction to programming ==


Programming is the issuing of instructions to  a computer. You must learn how to issue instructions to a computer.  
Programming is the issuing of instructions to  a computer. You must learn how to issue instructions to a computer.  
=== Introduction to programming ===


* [[What is a programming language?]]
* [[What is a programming language?]]
* [[High level languages]]
* [[Compiler]]
* [[Compiler]]
* [[Low level languages]]
* [[Translating high-level code to low-level code]]
* [[Control flow]]


== Basic understanding ==  
== Basic understanding ==  
Line 25: Line 22:
* [[Constants]]
* [[Constants]]


== Basic (primitive) data types ==
== Primitive data types ==
In computer science and computer programming, a data type or simply type is a classification of data which tells the compiler or interpreter how the programmer intends to use the data. Most programming languages support various types of data, for example: real, integer or Boolean.<ref>https://en.wikipedia.org/wiki/Data_type</ref>
 
The list below describes some of the more common primitive data types


* [[Objects]]  
* [[Objects]]  
Line 34: Line 34:
* [[String]]
* [[String]]


== Common Data structures ==
== Common data structures ==


* [[Arrays]]
* [[Arrays]]
* [[Collections]]
* [[Collections]]
* [[Linked list]]
* [[Lists]]
* [[Dictionaries]]
* [[Sets]]
* [[Tuple]]


== Control ==  
== Control Flow ==  
 
In computer science, control flow (or flow of control) is the order in which individual statements, instructions or function calls of an imperative program are executed or evaluated. <ref>https://en.wikipedia.org/wiki/Control_flow</ref>
* [[Conditionals]]
* [[Conditionals]]
**  [[Operators]]
**  [[Operators]]
Line 49: Line 54:
* [[Algorithms]]
* [[Algorithms]]
* [[Functions]]
* [[Functions]]


== Other important ideas in programming ==
== Other important ideas in programming ==
Line 55: Line 61:
* [[Design Patterns]]
* [[Design Patterns]]
* [[Object-Oriented Programming]]
* [[Object-Oriented Programming]]
* [[Working with files]]


== References ==
== References ==

Revision as of 10:10, 23 January 2019

Exclamation.png This is one of the most important ideas you can remember:

Decompose a problem into smaller parts, diagram a problem. Learn to think sequentially

Programming[1]


Introduction to programming[edit]

Programming is the issuing of instructions to a computer. You must learn how to issue instructions to a computer.

Basic understanding[edit]

Primitive data types[edit]

In computer science and computer programming, a data type or simply type is a classification of data which tells the compiler or interpreter how the programmer intends to use the data. Most programming languages support various types of data, for example: real, integer or Boolean.[2]

The list below describes some of the more common primitive data types

Common data structures[edit]

Control Flow[edit]

In computer science, control flow (or flow of control) is the order in which individual statements, instructions or function calls of an imperative program are executed or evaluated. [3]

Basic program organization[edit]


Other important ideas in programming[edit]

References[edit]