Page 417 - Ai_417_V3.0_C9_Flipbook
P. 417

Exercise




                                                         Solved Questions


                                                  SECTION A (Objective Type Questions)
                          uiz

                 A.  Tick ( ) the correct option.
                    1.  Which of the following symbols is used in flowcharts to take input from the user?
                       a.  Diamond                                       b.  Rectangle
                       c.  Oval                                          d.  Parallelogram

                    2.  Coding and implementation is the ………………………. step in problem-solving.
                       a.  First                                         b.  Last

                       c.  Third                                         d.  Second
                    3.  Which of the following symbols is used to display the decision-making statements in a flowchart?

                       a.  Rectangle                                     b.  Line
                       c.  Diamond                                       d.  Oval

                    4.  Which of the following is the step-by-step approach in simple English-like statements?
                       a.  Algorithm                                     b.  Selection
                       c.  Flowchart                                     d.  Sequence

                    5.  Which of the following is/are powerful tools for learning programming?
                       a.  Flowchart                                     b.  Algorithm
                       c.  Both a and b                                  d.  None of these

                    6.  Which of the following is the valid name for (an) identifier(s) in Python?
                       a.  Test#4                                        b.  Rollno

                       c.  9thClass                                      d.  else
                    7.  Which of the following is a valid logical operator?

                       a.  and                                           b.  !=
                       c.  +                                             d.  >=

                    8.  ZeroDivisionError error is a ………………………..
                       a.  Syntax Error                                  b.  Logical Error
                       c.  Runtime Error                                 d.  Not an Error
                    9.  Which of the following is a sequence of UNICODE characters?

                       a.  Boolean                                       b.  Numbers
                       c.  String                                        d.  Float

                    10.  Which of the following is a data type that has two built-in values True or False?
                       a.  String                                        b.  Boolean
                       c.  Integer                                       d.  Float

                                                                                        Introduction to Python  415
   412   413   414   415   416   417   418   419   420   421   422