Page 142 - Computer science 868 Class 12
P. 142

(c)  Assertion is true and Reason is false.
                  (d)  Assertion is false and Reason is true.
                Ans.  (d)

                   Unsolved Questions



              A.  Tick ( ) the correct option:

                  1.  A/An ………………… is a user–defined data type.
                    a.  Class                                       b.  Object
                    c.  Inheritance                                 d.  None of these
                  2.  Procedural programming follows the ………………… approach.
                    a.  Top-Down                                    b.  Bottom-Up
                    c.  Both a and b                                d.  None of these
                  3.  ………………… is a blueprint that is required to create objects of the same kind.
                    a.  Object                                      b.  Class
                    c.  Inheritance                                 d.  None of these
                  4.  Which of the following is the statement in the program code which is non-executable?
                    a.  Object                                      b.  Class
                    c.  Comment                                     d.  Variable
                  5.  ………………… are some commonly known object-oriented programming languages.
                    a.  C++                                         b.  Java
                    c.  Python                                      d.  All of these

                  6.  ………………… in Java is the method to create a hierarchy between classes by inheriting from other classes.
                    a.  Data Hiding                                 b.  Abstraction
                    c.  Encapsulation                               d.  Inheritance
                  7.  Apart from features of a base class, a ………………… may have its own data members and methods.
                    a.  derived class                               b.  inherited class
                    c.  superclass                                  d.  None of these

                  8.  ………………… is machine-independent and uses object-oriented programming.
                    a.  Java                                        b.  Basic
                    c.  Cobol                                       d.  None of these
                  9.  ………………… are codes in Java which are downloaded from a website on a client computer and can only be executed within a web
                    browser.
                    a.  Standalone applications                     b.  Java Applet
                    c.  JDK                                         d.  None of these

                 10.  The Java compiler is also known as ………………… .
                    a.  JDK                                         b.  JVM
                    c.  JAVAC                                       d.  None of these
              B.  Fill in the blanks:
                  1.  In …………………, security is less as the data is exposed to the whole program.
                  2.  The symbol of ………………… comment is /* .... */

                  3.  JDK stands for ………………… .
                  4.  WORA stands for ………………… .
                  5.  sum ob=new sum(); creates the object ………………… .








                140140  Touchpad Computer Science-XII
   137   138   139   140   141   142   143   144   145   146   147