Posts

PROBLEM SOLVING USING C

Image
PROBLEM SOLVING USING C 📘 Unit 1: Introduction to Computer Programming What is Computer Programming? A Computer Program is a set of instructions written in a programming language that tells a computer how to perform a specific task. Examples Calculator Application ATM Software Mobile Apps Online Shopping Websites Student Management System 💾 Types of Software What is Software? Software is a collection of programs and instructions that tells a computer what to do. Without software, a computer cannot perform any task. Software is mainly divided into two types: System Software Application Software 1. System Software System software controls and manages computer hardware and provides a platform for running applications. Functions: Controls hardware Manages memory and files Runs applications Provides security Handles input/output devices Examples: Windows Linux macOS Device Drivers Utility Software 2. Application Software A...

Data Structure Algorithms

DATA STRUCTURES & ALGORITHMS Introduction to DSA & Arrays What is DSA? Data Structures and Algorithms (DSA) help you organize data and solve problems efficiently. Data Structure: How data is stored (Arrays, Linked List, Trees) Algorithm: Step-by-step solution to a problem Why Learn DSA? Improves problem-solving skills Helps write faster code Important for interviews Used in real-world apps Time & Space Complexity Time Complexity Complexity Example Meaning O(1) Access element Constant O(n) Loop Linear O(n²) Nested loops Quadratic O(log n) Binary Search Logarithmic Space Complexity arr = [1,2,3,4] # O(n) Arrays in Python 1D Array arr = [10, 20, 30, 40] 2D Array matrix = [ [1,2], [3,4] ] Operations Traversal for i in arr: print(i) Insertion arr.append(40) Deletion arr.remove(20) Search if 30 in arr: print("Found") Strings in Python What is String? name = "Prem...

JavaScript

Image
  JavaScript Day 1: Introduction to JavaScript     1. What is Java Script.          A JavaScript is the Web Based Programming Language. It is Used to calculate, manuplate and validate Data. It's also change the both HTML and CSS Codes.     2. History of JavaScript. Bredan Eich          It was Developed By Brendan Eich at Netscape in the Year of 1995. JavaScript Was Originally Called Mocha --> LiveScript-->JavaScript.          In 1997 The NetScape will submitted the JavaScript to ECMA for International Standards so it will offically lunched as ECMAScript(ES). Now We use Moderan (ES6+) Version.     3. Uses of JavaScript.          1. Web Development (Front-End)          2. Web Development (Back-End)          3. Mobile Apps         4. Desktop Apps         5. Games...