Answer:
Explanation:
Shipping fee is based on the weight of the item purchased
Name of the store- MIMI Electronics
Items sold- Consumer electronics, mobiles phones, laptops, wearable devices, accessories, digital watches etc
Shipping charges-
Weight Shipping fee
0-1 kg $ 5.00
1-2 kg $ 10.00
2-4 kg $ 15.00
4-7 kg $ 20.00
7-10 kg $ 30.00
10 kg + $ 50.00
Shipping fee function
F(x)= 5 for all x [0,1]
F(x)= 10 for all x (1,2]
F(x)= 15 for all x (2,4]
F(x)= 20 for all x (4,7]
F(x)= 30 for all x (7,10]
F(x)= 50 for all x (10,infinity)
shipping charge function is a step function where the steps are mentioned in terms of weight.
Shipping charge could also be determined using a piece wise function where the shipping fee is fixed for each piece and is charged based on number of pieces ordered instead of weight of the order
Answer:
Malware is the collective name for a number of malicious software variants, including viruses, ransomware and spyware. Shorthand for malicious software, malware typically consists of code developed by cyberattackers.
Explanation:
Answer:
The above query gives an error.
Explanation:
- The query gives an error because is not the correct syntax of the select or inserts query.
- The syntax of the select query is as follows: "select Attributes_1_name, Attributes_2_name,...., Attributes_n_name from table_name;".
- The syntax of the insert query is : "insert into table_name (column_1_name, column_2_name,...,column_n_name) values (column_1_value, column_2_value,...,column_n_value);".
- The syntax of the insert and select query is : "insert into table_name (select Attributes_1_name, Attributes_2_name,...., Attributes_n_name from table_name);".
- But the above query does not satisfy any property which is defined above. Hence it gives a compile-time error.