Page 66 - iPro_trackGPT_V5_Class8
P. 66

The process of creating a program is called coding or programming.
                        A procedural language focuses on a sequence of instructions, using functions or
                        procedures to perform tasks in an orderly manner.

                        An object-oriented language is a type of programming language that organises code
                        around objects and classes.
                        Java follows the Write Once, Run Anywhere (WORA) principle.
                        An object is  an instance of a class that  represents  a real-world  entity,  such as a
                        telephone, mouse, or bag.
                        A class is a user-defined blueprint or template used to create objects.
                        BlueJ is an IDE specifically designed for beginners. It provides a simple and intuitive
                        interface for learning object-oriented programming concepts.

                        A Java compiler is a program  that  translates the  source  code  written  by us into
                        machine-readable code.
                        In Java, keywords are special reserved words that have a predefined meaning and cannot
                        serve as identifiers.
                        A data type tells you what type of value a variable can store and how much space it will
                        take.

                        A comment in a Java program is a piece of text that the Java compiler ignores.
                        Operators are used as symbols to direct the compiler or interpreter to carry out specific
                        mathematical, logical, or other operations.





                      Tech Trivia                                                               Section A (Objective)




                  A.  Tick ( ) the correct option.
                      1.  Which of the following is an example of object-oriented language?

                         a. Fortran                                     b. C
                         c. Java                                        d. Basic

                      2.  Which feature of OOPS focuses on exposing only the essential features and behaviours of
                         an object while hiding the internal details?

                         a. Inheritance                                 b. Abstraction

                         c. Polymorphism                                d. Abstraction
                      3.  Which of the following identifier is invalid?

                         a. Class8                                      b. dateof_birth
                         c. fees                                        d. 8class




                    64    TrackGPT iPRO (V5.0)-VIII
   61   62   63   64   65   66   67   68   69   70   71