Computer science - Programming techniques

?
What are some data types?
integer,float,string,boolean,character,real and casting
1 of 14
What is an integer?
A whole number eg:55
2 of 14
What is float?
Variable with a fractional value eg: 1/4
3 of 14
What is string?
A sequence of characters eg:my name is jasmine
4 of 14
What is boolean?
two values (usually true and false) intended to represent the truth values of logic. AND NOT OR
5 of 14
What is a character?
A symbol or a character in the alphabet. eg: !?
6 of 14
What is real?
Real numbers include whole numbers, rational numbers, irrational numbers and virtually any type of number that is not an imaginary number or that can't be computed or processed logically. eg:1.24683455
7 of 14
What is casting?
changing from one data type to another. eg:from real to integer - 1.5 to 2
8 of 14
What is a variable?
Something that doesnt stay constant and is liable to change
9 of 14
What is a constant?
something that doesnt change
10 of 14
What is an operator?
a character that represents an action eg: 'x' is multiply
11 of 14
What is an input?
commands you enter into the keyboard or another device
12 of 14
What is an output?
anything that comes out of a computer
13 of 14
What is an assignment?
sets/'re-sets the value in a variable
14 of 14

Other cards in this set

Card 2

Front

What is an integer?

Back

A whole number eg:55

Card 3

Front

What is float?

Back

Preview of the front of card 3

Card 4

Front

What is string?

Back

Preview of the front of card 4

Card 5

Front

What is boolean?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming resources »