Posts

Showing posts from January, 2025

Python in Acess modifier

  1. Public Members: class MyClass:     def __init__(self, x):         self.public_attribute = x  # Public attribute     def public_method(self):         print("This is a public method.") # Accessing public members obj = MyClass(10) print(obj.public_attribute)  obj.public_method()         2. Protected Members Convention: Attributes and methods with a single underscore prefix ( _ ) are considered protected. class MyClass:     def __init__(self, x):         self._protected_attribute = x  # Protected attribute     def _protected_method(self):         print("This is a protected method.") # Accessing protected members (discouraged) obj = MyClass(10) print(obj._protected_attribute)  # Accessing protected attribute (discouraged) obj._protected_method()        # Calling protected method (discouraged) 3. Pr...

RGPV Sem : 5th DBMS key point Notes

                                      Chapter: 1 DBMS Concepts and architecture Introduction, Database approach v/s Traditional file accessing approach, Advantages, of database systems, Data models, Schemas and instances, Data independence, Data Base Language and interfaces, Overall Database Structure, Functions of DBA and designer, ER data model: Entitles and attributes, Entity types, Defining the E-R diagram, Concept of Generalization, Aggregation and Specialization. transforming ER diagram into the tables. Various other data models object oriented data Model, Network data model, and Relational data model, Comparison between the three types of models.   Introduction to DBMS A Database Management System (DBMS) is a software system designed to manage and store data efficiently. 1 It provides a st...