Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 85 - Modular_V2.0_SQL_Flipbook
P. 85

    17.  What will be the output of the following Python code?

                         a = 2
                        while  True:
                            if a%5 == 0:
                               break

                            print(a)
                            a += 1
                          (a)  1 2 3             (b)  2 3 4              (c)  2 3                 (d)  error
                      18.  To add a plain colour background to your Web page, you will use which of the following?

                          (a)  <body bgcolor= “36,24,35”>                (b)  <body color= “# FF000”>
                          (c)  <body bgcolor= “# FF000”>                 (d)  All of these

                     Instruction: Q. 19 and 20 have four options A, B, C and D out of which TWO are correct.

                      19.  The ________ located at the top of the Microsoft Outlook window,  includes tabs which has
                         ________ of buttons, drop-down lists and galleries.

                          (a)  Menu              (b)  Ribbon              (c)  Groups             (d)  Lists

                      20.  Which of the following are the main four rules for an AI agent?
                          (a)  An AI agent must have the ability to perceive the environment.
                          (b)  The observation is not used to make decisions.
                          (c)  Decision should result in an action.

                          (d)  The action taken by an AI agent must be an irrational action.
                                                          Section C (Competency Based)

                      21.  Piyush has installed a high speed non-impact  printer  at  his office which  is fast enough  to
                         print the entire book in about 1 minute. Which of the following type of printer it could be?
                          (a)  Laser             (b)  Dot Matrix         (c)  Line                (d)  Page

                      22.  Rajat explains his younger brother that a CPU scheduler selects a process among the processes
                         that  are  ready  to execute  and  allocates CPU to one of them. However,  his brother  has a
                         doubt about the main function of short-term schedulers, which are also known as dispatchers.
                         Help him identify the correct option.

                          (a)  Swaps a process to the disk
                          (b)  Assigns ready process to the CPU
                          (c)  Suspends some of the processes when the CPU load is high

                          (d)  Brings processes from the disk to the main memory

                                                                    Answers
                           1.  (a)              2.  (d)             3.  (a)             4.  (c)             5.  (d)
                           6.  (b)              7.  (a)             8.  (a)             9.  (c)            10.  (b)
                          11.  (a)             12.  (c)            13.  (a)            14.  (c)            15.  (a)
                          16.  (d)             17.  (b)            18.  (c)            19.  (b), (c)       20.  (a), (c)
                          21.  (d)             22.  (b)

                                                                                                                         83
                                                                                            OGO Cyber Sample Questions

| 80 81 82 83 84 85 86 |