Page 80 - ThinkGPT_V2.1_C8_Flipbook
P. 80
Critical Thinking
Information Literacy
A. Explain the following MakeCode Arcade projects:
1.
2.
3.
Experiential Learning
Competency-based/Application-based questions Information Literacy
1. Swarna has written a program that has more repeated statements to do a same task,
which makes her code difficult to understand. She wants to reduce the number of
lines of code in her program. How can she do this?
2. Maya is building a program to calculate and display the area of different shapes
(rectangle, circle, triangle). She currently writes separate code blocks for each
shape’s area calculation. How can Maya use a function to streamline her code and make it easier to
update?
78 Premium Edition-VIII

