Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
QB Select Case Statement
1. CLS
PRINT TAB(35); “Activity 2.1”
PRINT “Work with a partner.”
PRINT “Make a Number Guessing Game Program.”
PRINT “Make a program that asks for the price of an item; then computes the selling price after”
PRINT “a 3% discount.”
PRINT “Puresilver offers 5% discount to customers with a single receipt of P3000 or more.”
PRINT “Make a program that computes the discounted price after the cashier inputs the”
PRINT “amount stated in the receipt.”
END
2. Activity 2.1
Work with a partner.
1. Make a Number Guessing Game Program.
2. Make a program that asks for the price of an item;
then computes the selling price after a 3% discount.
3. Puresilver offers 5% discount to customers with a
single receipt of P3000 or more. Make a program
that computes the discounted price after the cashier
inputs the amount stated in the receipt.
Press any key to continue
3. CLS
PRINT TAB(35); “Activity 2.1”
PRINT “Work with a partner.”
PRINT “1. Make a Number Guessing Game Program.”
PRINT “2. Make a program that asks for the price of an item; then computes the selling price ”;
PRINT “after a 3% discount.”
PRINT “3. Puresilver offers 5% discount to customers with a single receipt of P3000 or more. ”;
PRINT “Make a program that computes the discounted price after the cashier inputs the ” ;
PRINT “amount stated in the receipt.”
PRINT “4. Puresilver offers 5% discount to a single receipt with amount ranging from“;
PRINT “P3000 to P5000 and 9% discount to more than P5000 worth of single purchase.”;
PRINT “Make a program that computes the discounted price after the cashier inputs the ” ;
PRINT “amount stated in the receipt.”
END
4. Activity 2.1
Work with a partner.
1. Make a Number Guessing Game Program.
2. Make a program that asks for the price of an item; then
computes the selling price after a 3% discount.
3. Puresilver offers 5% discount to customers with a single
receipt of P3000 or more. Make a program that computes
the discounted price after the cashier inputs the amount
stated in the receipt.
4. Puresilver offers 5% discount to a single receipt with amount
ranging from P3000 to P5000, and 9% discount to more
than P5000 worth of single purchase. Make a program that
computes the discounted price after the cashier inputs the
amount stated in the receipt.
5. Activity 2.1
Work with a partner.
1. Make a Number Guessing Game Program.
2. Make a program that asks for the price of an item; then
computes the selling price after a 3% discount.
3. Puresilver offers 5% discount to customers with a single
receipt of P3000 or more. Make a program that computes
the discounted price after the cashier inputs the amount
stated in the receipt.
4. Puresilver offers the following discounts on single receipt :
5% – from P3000 to P5000;
9% – more than P5000 but less than P10000;
13% – more than P10000 worth of single purchase.
Make a program that computes the discounted price after
the cashier inputs the amount stated in the receipt.
6.
7.
8.
9. Activity 2.1
5. Write a program to determine the letter equivalent of a given
numerical grade.
• A for Advanced (90 percent or above)
• P for Proficient (85 – 89 percent)
• AP for Approaching Proficiency (80 – 84 percent)
• D for Developing (75 – 79 percent)
• B for Beginning (74 percent or below)