null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
13044596
Computer science unit 2
Description
Includes: variables (constants,casting, data types) math operators pseudocode
No tags specified
gcse
computer science
variable
data types
math operators
ocr
mind map
revision notes
computing
unit 2- algorithms, programming techniques
gcse
Mind Map by
Somto Ibeme
, updated more than 1 year ago
More
Less
Created by
Somto Ibeme
over 6 years ago
102
2
0
Resource summary
Computer science unit 2
VARIABLES
points to are of memory that stores data, can be changed while program executing
constant - value that cannot be altered by the program during execution
pi = 3.14
casting
changing from one variabe type to another
int(input("Enter the price"))
DATA TYPES
string
sequence of characters, can be numbers, letters, symbols, must be in speech marks
input("Enter your name")
python = str()
integer
a whole number, positive or negative
45, 324 ...
python = int()
boolean
two possible values, TRUE or FALSE
35 > = 5 * 7
TRUE
2 ^3 = 10
FALSE
float
a decimal number, real value
3.14, 5.01 ...
python = float()
character
A single alphabetic or numeric character
‘K’, ‘4’, ‘@’, ‘%’
MATH OPERATORS
add +
- minus
* mulitple
/ division
// displays whole number in divison
5 // 2 = 2
% displays remainder in divsion
5 % 2 = 1
^ power to (indices)
== equal to != not equal to < more than > less than
<= less than/equal to >= more than/equal to
PSEUDOCODE
algorithm
series of steps to solve problem/carry out task
structured English for describing algorithms
if total == 19 : print ("You won")
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
OCR GCSE History-Paper Two: The Liberal Reforms 1906-14 Poverty to Welfare State NEW FOR 2015!!!
I Turner
Latin Literature Exam Techniques
mouldybiscuit
Computing Hardware - CPU and Memory
ollietablet123
Geography Quiz - Tectonics
oscartaylor
4. Civil War
ShreyaDas
How does Virgil build up tension in the death of Nisus?
mouldybiscuit
Maths GCSE - What to revise!
livvy_hurrell
GCSE Biology B2 (OCR)
Usman Rauf
C1 Quiz
Leah Firmstone
Biology- Genes and Variation
Laura Perry
Types and Components of Computer Systems
Jess Peason
Browse Library