Page 144 - Computer Genius Class 06
P. 144

9.  What is a bug in programming?
                          (i)  A fault in a program that causes it to run correctly.

                         (ii)  A fault in a program that can predict output.

                         (iii)  A fault in a program that generates incorrect output.
                         (iv)  All of these

                     10.  Which loop triggers the inner loop, when the outer loop condition is ‘true’?

                          (i)  While                                  (ii)  For

                         (iii)  Nested                                (iv)  If

                  B.  Fill in the blanks.
                      1.   The                  statement forces the next iteration of the loop to execute, and skips the line
                         of code within the loop.

                      2.  A variable is declared but is not initialised has an            value.
                      3.  Lego and                   were educational robots introduced  in 1998.

                      4.   Click on                 button of if-do block and add else block to it.
                      5.   Blocks of _______________ category are used to draw graphs in AI Connect.

                      6.   _______________ block is used to display the chart on the output screen in AI Connect.
                      7.    To  create  a  program  of multiplication  of two  numbers,  create  _______________ activity  in  AI
                         Connect.

                  C.  State whether these statements are true or false.
                      1.  Robots cannot help in surgical operations.
                      2.   Robotic Engineers have no scope in space research, entertainment sector and
                         banking sector.
                      3.  Collection of cards is not an example of collection.

                      4.   Graphs are also known as charts.
                      5.   There are two sub-categories of Graph Plot category.

                      6.   AI Connect allows to create only one variables.
                      7.   Facial Features sub-category is present under AI Learning category.
                  D.  Answer the following questions:

                      1.  How Robots are useful in the Hospital industries?
                      2.  Mention any two benefits of using sequences in coding.

                      3.   Write the steps to use built-in sprites from the gallery in MakeCode Arcade.
                      4.  Write the formula to find the cost of fencing of a rectangular farm.
                      5.   What is the use of if-do block in AI Connect?

                      6.  What is the purpose of graph?
                      7.  What is the use of the Load Image block while coding in AI Connect?


                      142    Computer Genius-VI
   139   140   141   142   143   144   145   146   147   148   149