Page 139 - Computer Genius Class 07
P. 139

2.

















                                                                                        Critical Thinking
                   Competency-based/Application-based questions
                                                                                        Communication
                   1.   Aakash has to write a code in AI connect to take input from the user. Write the code for this.

                   2.   Shikha has to show "Hello" on the output screen. Which function should she use to do so?




                                                                                        Critical Thinking
                    LAB Activity                                                        Interdisciplinary Learning



                    1.  Write the textual code in AI Connect to print the sum of your age and your sibling's age.
                    2.  Write the textual code in AI Connect to ask user “Where you live?” and print the answer.

                    3.  Write the textual code in AI Connect to multiply two number of your choice (use the float conversion).
                    4.  Write the textual code in AI Connect that takes in a student name, class, and section. It should also
                        take in five subject marks of the students and find the total mark and percentage. Display a result
                        in such a way that their name, class, section, and percentage are printed.
                        Hint: Percentage = (Total obtained marks/Total marks) * 100
                    5.  Write the textual code in AI Connect to solve the following equations:

                        l         2
                        l   1    2        2

                    6.  Write the textual code in AI Connect to find the perimeter of a circle. Whose radius is 5 centimeters.
                        Formula of the perimeter of circle = 2 r

                        Where, r = radius and   = 3.14


















                                                                                             Textual Coding   137
   134   135   136   137   138   139   140   141   142   143   144