Posts

Showing posts from June, 2021

Database Management System (DBMS)

1. What is database? A database is a collection of information that is organized. So that it can easily be accessed, managed, and updated.   2. What is DBMS? DBMS stands for Database Management System. It is a collection of programs that enables user to create and maintain a database.   3. What is a Database system? The database and DBMS software together is called as Database system.   4.   What are the advantages of DBMS? I.  Redundancy is controlled. II.  Providing multiple user interfaces. III. Providing backup and recovery IV. Unauthorized access is restricted. V.  Enforcing integrity constraints.   5. What is normalization? It is a process of analysing the given relation schemas based on their Functional Dependencies (FDs) and primary key to achieve the properties (1).Minimizing redundancy, (2). Minimizing insertion, deletion and update anomalies.   6. What is Data Model? A collecti...

Operating Systems (OS)

1. What is Operating System and Its Types (MultiProcessing, MultiTasking and All)  2. Process and Threads in OS, Process State, Process Control Block, and Context  Switching ( Threading is Important Topic ) 3. Process Scheduling ( All the Job Scheduling Algorithms ) 4. Important Scheduling Algos ( SJF, SRTF, FCFS, LJF(Longest Job First) and Round  Robin Scheduling ) 5. Process Synchronization, Critical Section, Inter-Process Communication, Locks for  Synchronization (Semaphore and Mutex) and Monitors ( Important ) 6. DeadLock, Characteristics of DeadLock, Handling, and Recovery from Deadlock 7. Memory Management in Operating System 8. First Fit, Best Fit, Next Fit and Worst Fit in Operating System ( Important ) 9. Paging in Memory Management (Concept of Virtual memory) ( Important ) 10. Demand Paging , Thrashing and Page Replacement Algo (FCFS and LRU Algorithm ) 11. Segmentation in Memory Management and Translation Lookaside Buffer (TLB) 

Introduction to Algorithm

Image
Everyday algorithms we have heard about  algorithms  in real life. Simply put, it is a step-by-step sequence of actions we need to perform to achieve a useful result. It can be an algorithm for cooking a sandwich described by a recipe or an algorithm for getting dressed according to today's weather and your mood. Among all algorithms, there is one special group called  computer algorithms.  These are ones that are usually created for and utilized by computers. In this topic, we will discuss in detail what computer algorithms are and will explain why it is important to learn them. Algorithms for computers Computer algorithms are everywhere around us. Our smartphone may guide us through a city from one point to another using a certain algorithm. Other algorithms can control the behavior of your enemies in a computer game. Services like Google or Yahoo apply sophisticated algorithms to provide you with the most relevant results when you use them to search for some infor...

Scikit Image

Image
scikit-image is an easy and most powerful image processing Python package that works with NumPy arrays. The package is imported as skimage.   # importing required libraries import numpy as np import skimage.io import matplotlib.pyplot as plt %matplotlib inline Python3 ## reading the image img = skimage.io.imread('images/Taj_mahal.jpg') ## displaying the image as an array img array([[[43, 50, 60], [43, 50, 60], [43, 50, 60], ..., [63, 46, 36], [63, 46, 36], [63, 46, 36]], [[43, 50, 60], [43, 50, 60], [44, 51, 61], ..., [63, 46, 36], [63, 46, 36], [63, 46, 36]], [[43, 50, 60], [44, 51, 61], [44, 51, 61], ..., [63, 46, 36], [63, 46, 36], [63, 46, 36]], ..., [[32, 30, 31], [32, 30, 31], [33, 31, 32], ..., [24, 16, 14], [24, 16, 14], [24, 16, 14]], [[31,...