What is a program? Flashcards
How do programming languages vary ?
- Syntax - structure or grammar of the language
- Semantics - what it will do when we run it
- Speed - how fast it will run
- Memory- How efficient is the code
what is a program ?
a collection of instructions that perform a specific task (or set of tasks) when executed
What is a client-side program ?
Everything in a web application that is displayed or takes place on the client (end user device).
What are examples of client side programming languages
Javascript, HTML, CSS
What is a server side program?
A program that runs on a server rather than on the client side
What is an example of a server side program?
C++, Python, Java
What is a data structure?
Ways of storing collated data, i.e. lists, linkedlists, graphs, red black trees
What is a flow control?
ways of controlling the flow of a program and how the code runs, i.e. conditionals like IF, THEN, ELSE statements or Loops
What is a Variable?
symbolic names for values
What is a function?
blocks of organised and reusable code that can be used to repeat a single and related action
What is an object orientated programming language?
A programming language organised around objects rather than actions
What data type is a whole number?
int
What data type is a decimal number?
float
what command would you use to confirm what data type a value is ?
type()
what arithmetic operator is used for integer division?
//