Posts

Showing posts from March, 2026

Introduction To Database Management System

  Introduction to Database Management System In engineering and computer science, DBMS (Database Management System) is one of the most important subjects. It is not only useful for exams like GATE and placement, but also essential for real-world software development. In this blog, we will cover: What is DBMS Why DBMS is needed Advantages of DBMS Application of DBMS Everything is explained in a simple and beginner-friendly way. What Is DBMS? A database-management system (DBMS) is a collection of interrelated data and a set of programs to access those data. The primary goal of a DBMS is to provide a way to store, manage and retrieve data easily. Some other operation can also be performed on database such as adding, updating and deleting data.  Instead of storing data in files, DBMS  stores data in structured format (tables). Examples of DBMS MySQL Oracle PostgreSQL SQL Server Why Do We Need DBMS? Earlier, data was stored using file systems, which caused many problems s...

Python Tuples- Immutable Date in Python

 Python Tuples - Store Data That Cannot Change Introduction In Python, we learned about lists, which allow us to store multiple values in a single variable and modify them later. But sometimes we need data that should not change during the program. For this purpose, Python provides Tuples. Tuples are similar to lists, but they are immutable, which means their values cannot be changed after creation. What Is a Tuple? A tuple is a collection of items separated by commas stored inside parentheses( ). It is immutable. Example: numbers = (10, 20, 30,40) print(numbers) Output: (10, 20, 30, 40) Tuple Can Store Different Data Types Just like lists, tuples can store different types of data Example: data =("Python", 21, 85.5, True) print(data) A tuple can store: Strings Integers Floats Boolean values Creating Tuples To create a tuple put a number of expressions, separated by commas in parentheses. You can write in the form given below:   T= ( ) T=(value,) Create a Empty Tuple The empty...

Python Lists

Image
 Python List- Store Multiple Value Easily Introduction Until now, we stored single values only using variable. But what if you want to store marks of 5 subjects? Will you create 5 variables for that. No, Instead, Python gives us something powerful: Lists . List allow us to store multiple values in a single variable. What Is a List? A list is a standard data type in python that can store a sequence of values separated by commas inside square brackets [ ]. It can store different data types. For  example: data= ["happy", 21, 85.6, True] List can store strings, integers, floats, Boolean, even other lists. List are mutable i.e., you can change the values present in the list. Creating Lists To create a list you have to put  number of expression, separated by commas inside the square brackets as depicted in the following: L=[ ] L=[values, ......] To create empty list do as follows: L=list()  #It will generate empty list and the name of the list is L. You can also create a...