Programming: Difference between revisions

From Computer Science Wiki
 
(57 intermediate revisions by 2 users not shown)
Line 2: Line 2:




== Introduction to programming ==
= 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 process of planning, writing, executing and testing instructions for a computer system.


* [[What is a programming language?]]
* [[What is a programming language?]]
** [[Fundamental and compound operations]]
** [[Higher level and lower level languages]]
** [[Interpreted and compiled languages]]


== What is the best programming language? ==
<html>
<iframe width="560" height="315" src="https://www.youtube.com/embed/RfWGJS7rckk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</html>
== Learning to Program ==
* [[Inputs and outputs]]
* [[Inputs and outputs]]
* [[Variables]]  
* [[Variables]]  
* [[Constants]]
* [[Functions]]
* [[Data types]]
* [[Iteration]]
* [[Conditionals | Selection]]
 
* [[Operators]]


== Primitive data types ==
== Primitive data types ==
Line 17: Line 32:
The list below describes some of the more common primitive data types
The list below describes some of the more common primitive data types


* [[Objects]]  
* [[Scalar type]]
* [[Boolean]]
* [[Boolean]]
* [[Int]]
* [[Int|Integers]]
** [[Signed integers]]
** [[Unsigned integers]]
* [[Float]]
* [[Float]]
* [[Char]]
* [[Char]]
Line 25: Line 42:


== Common data structures ==
== Common data structures ==
A data structure is just some organization of data that we've built into an orderly arrangement. The organization and arrangement of data can make our programs run much more efficiently. Each data structure has advantages and disadvantages. There are common data structures and abstract data structures. In general abstract data structures are advanced and more specific to a specific task. 
=== Common data structures which are assessed by the IB ===


* [[Arrays]]
* [[Arrays]]
* [[two-dimensional arrays]]
* [[Collections]]
* [[Collections]]
* [[Linked list]]
* [[Linked list]]
* [[Objects]]
=== Common data structures which are not assessed by the IB ===
* [[Lists]]
* [[Lists]]
* [[Dictionaries]]
* [[Dictionaries]]
Line 34: Line 60:
* [[Tuple]]
* [[Tuple]]


== Control Flow ==  
=== Abstract data structures which are assessed by the IB ===
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>
For a deeper understanding of abstract data structures, please see this page: [[Abstract data structures]]
* [[Conditionals]]
* [[stack]]
** [[Operators]]
* [[queue]]
* [[Loops]]
* [[linked list]]
* [[tree]]
* [[binary tree]]


== Basic program organization ==  
= Python =  


* [[Algorithms]]
* Please visit our [[python]] programming page
* [[Functions]]
= Programming Paradigms =


* [[Object-Oriented Programming]] ([[Separation of concerns]])
* [[Procedural programming]]
* [[Declarative programming]]
* [[Functional programming]]
* [[Imperative programming]]


== Other important ideas in programming ==
= Advanced Programming =


* [[Regular expressions]]
* [[Regular expressions]]
* [[Design Patterns]]
* [[Artificial Intelligence]]
* [[Object-Oriented Programming]]
* [[API]]
* [[Robotics]]
* [[Working with files]]
* [[Working with files]]
* [[Compiler]]
* Working with [[Databases|databases]]
* [[GUI|Graphical User Interfaces]]
* [[Hashing]]
* [[Blockchain]]
* [[Genetic Algorithms]]
* [[Machine learning]]


== References ==
== References ==
<references />
<references />


[[Category:computational thinking]]
[[Category:programming]]
[[Category:programming]]

Latest revision as of 05:33, 22 August 2024

Programming[1]


Introduction to programming[edit]

Programming is the process of planning, writing, executing and testing instructions for a computer system.


What is the best programming language?[edit]

Learning to Program[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]

A data structure is just some organization of data that we've built into an orderly arrangement. The organization and arrangement of data can make our programs run much more efficiently. Each data structure has advantages and disadvantages. There are common data structures and abstract data structures. In general abstract data structures are advanced and more specific to a specific task.

Common data structures which are assessed by the IB[edit]

Common data structures which are not assessed by the IB[edit]

Abstract data structures which are assessed by the IB[edit]

For a deeper understanding of abstract data structures, please see this page: Abstract data structures

Python[edit]

  • Please visit our python programming page

Programming Paradigms[edit]

Advanced Programming[edit]

References[edit]