Page 121 - Computer Genius Class 07
P. 121
Competency-based/Application-based questions Information Literacy
1. Shobhit created a program in AI Connect with multiple conditional statements using textual coding.
Which keyword must he have used for the situation where code will try the condition, if the previous
condition is not true?
2. Amrita wants to create a program in AI Connect to determine the type of solution on the basis of
entered p alue. ut she does not no hat to print i the p alue is . elp her y riting an
output value for it.
Critical Thinking
LAB Activity Interdisciplinary Learning
1. Create a program to convert Kelvin to Celsius.
Ask the user to enter temperature in kelvin then use this formula to convert into Celsius.
Hint: elsius el in 2 .1
Fill the following blanks by calculating it from the code.
(a) 200K = _______________ C (b) 323K = _______________ C
(c) 353K = _______________ C (d) 390K = _______________ C
2. Create a program to convert Celsius to Kelvin.
Hint: elsius el in 2 .1
Fill the following blanks by calculating it from the code.
(a) 20 C = _______________ K (b) 26C = _______________ K
(c) 30C = _______________ K (d) 15C = _______________ K
3. Create an AI Connect program to calculate the amount of Force required to push a block of 20 Kg
moving with an acceleration of 1m/s.
Exploring Science with Coding-2 119

