This document contains an assignment for Class IX students on the topic of computer applications. It asks questions to assess the students' understanding of procedural programming (POP) versus object-oriented programming (OOP). Key terms related to OOP concepts like class, object, abstraction, encapsulation, inheritance, and polymorphism are defined. A class is described as an "object factory" that contains common attributes and behaviors used to create objects. Additional terms like the Java Virtual Machine (JVM), Java Runtime Environment (JRE), and Java Development Kit (JDK) are also defined in the context of the Java programming language.
This document contains an assignment for Class IX students on the topic of computer applications. It asks questions to assess the students' understanding of procedural programming (POP) versus object-oriented programming (OOP). Key terms related to OOP concepts like class, object, abstraction, encapsulation, inheritance, and polymorphism are defined. A class is described as an "object factory" that contains common attributes and behaviors used to create objects. Additional terms like the Java Virtual Machine (JVM), Java Runtime Environment (JRE), and Java Development Kit (JDK) are also defined in the context of the Java programming language.
This document contains an assignment for Class IX students on the topic of computer applications. It asks questions to assess the students' understanding of procedural programming (POP) versus object-oriented programming (OOP). Key terms related to OOP concepts like class, object, abstraction, encapsulation, inheritance, and polymorphism are defined. A class is described as an "object factory" that contains common attributes and behaviors used to create objects. Additional terms like the Java Virtual Machine (JVM), Java Runtime Environment (JRE), and Java Development Kit (JDK) are also defined in the context of the Java programming language.
Ans: Procedure Oriented Programming (POP) consists of making a list of
instructions for the computer to follow and organizing these instructions into groups known as functions.
It uses a top-down approach.
2. What do you understand by OOP language?
Ans: Object Oriented Programming is an approach to standardize the programs by creating a partitioned memory area for both data and functions.
3. Define the following terms:
a. Class Ans: A class is a blueprint or a template for its objects. b. Object Ans: An object is an instance of a class c. Abstraction Ans: Showing of the essential features while hiding the complexity is known as abstraction. d. Encapsulation Ans: Keeping together the code and the data that it manipulates is known as encapsulation. e. Inheritance Ans: When a child class inherits the features of a parent class and adds its own functionality, it is known as inheritance. f. Polymorphism Ans: In a class there can be more than one method with the same name. 4. Why is a class called as an object factory? Ans: A class is called an object factory as objects are created from the class that contain common attributes and behavior.
5. Define the following terms:
a. JVM Ans: Java Virtual Machine (JVM) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVM is an interpreter. b. JRE Ans: The Java Runtime Environment (JRE) is the implementation of the JVM. It physically exists. c. JDK Ans: The Java Development Kit (JDK) physically exists. It contains the JRE and other development tools.
Python Projects for Beginners: Part 4. Object-Oriented Programming (OOP). Get an introduction to OOP concepts such as classes, objects, inheritance, and polymorphism