When encoded into what code
Answer:
A AND B= 1 or 0
1 1 1
0 1 0
1 0 0
0 0 0
So, as explained above if both are 1 we then only get 1, or else we get 0 always in case of AND which is a logical operator, whose output can be 0 or 1 only. This is being depicted above.
Explanation:
If both are 1 we get 1 or always else, we get the output =0.
Answer:
1. Float
2. Integer
3. String
4. Boolean
5. Float
6. String
7. Integer
Explanation:
To identify data types, we need to understand the following concepts.
Data types are categorised into 2.
1. Numeric data types
2. Non numeric data types
The numeric data types are represented by numbers and is subdivided into 2.
i. Integer: Numbers without decimals (could be positive or negative)
ii. Float or Real: Numbers with decimals (could also be positive or negative)
Going by the above illustration,
13.5 and -20.4 are float data types
-6 and 12345 are integer
2. Non numeric data types: These are data that are different from numbers or digits. They could be images, string & character, boolean, dates, etc.
I'll limit my explanation to the scope of this assignment.
String are texts and are denoted by open and close quotes ("...") i.e. data that are present with quotes are strings
Boolean are data with true or false values
So, by this explanation:
"18 Mingle Lane" and "Bonjour" are strings variables
And
False is boolean
Structured Language Query ( SQL ) query helps retrieving the data by using its SELECT keyword which specifies the table name to select while retrieving data.
By using where clause you can filter data as well. Also it has aggregate functions to help development like sum() function. And it can format the data to be displayed as well.