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
Comments
No comments have yet been made