Programming Fundamentals ========================= Software development steps =========================== 1) gathering of requirements/collecting the requirements WhatsApp: texting receiving sending characters images video audio etc. posting status audio video banking etc. ibps/sbi ==> online test tech Mahindra 2) analyze the requirements ==> designing, development, testing, integration etc. 3) designing: high level design (HLD) low level design (LLD) 4) analyzing of the design 5) development modularization & assign coding 6) testing: manual ==> without third party tool automation==> with the help of tools 7) deployment ==> client ===================================== Syntax ====== grammar of programming language ==> set of rules for the programming ==> syntax ex: add two numbers ==================== a = 10 b = 20 c = a + b print(c) ex: English alphabets words sentences tenses, speech, voice etc. ======================================== Error ===== when we implement the program incorrectly (with wrong syntax) ==> error. ==> because of the error, the program will not be execute ==> no output will generate, if the error is there. ======================================= Types of working domains ========================= banking domain insurance domain ecommerce domain healthcare domain ================================= software setup: =============== 1) we should check whether the python software is already existed or not in our system. open command prompt ==> type a command: "python --version" ==> enter 2) we should download the python software by using below link. https://www.python.org/downloads/ or google ==> python.org ==> downloads ==> download the file FIRST PROGRAM IN PYTHON: ======================= hello world In C: ===== #include void main() { printf("Hello world"); } =============================== In Java: ======== class Hello{ public static void main(String[] x) { System.out.println("Hello World"); } } ============================= In Python: =========== print("Hello World") =========================== sum of two numbers: =================== In C: ===== #include void main() { int a = 100; int b = 200; int c = a + b; printf("%d",c); } in java: ======= class Hello{ public static void main(String[] x) { int a = 100; int b = 200; int c = a + b; System.out.println(c); } } In Python: ========== ==> dynamically typed programming language during the defining of data, no need to specify the type of the value/data before the name of the data. The Python machine, will automatically detect its type based on the value assignment. a = 100 b = 200 c = a+b print(c) HOW PYTHON IS INTERPRETER DEPENDENT LANGAUGE? ============================================= IDE === INTEGRATED DEVELOPMENT ENVIRONMENT ==> A SOFTWARE/PLATFORM WHERE WE CAN WRITE A CODE, WHERE WE CAN COMPILE THE CODE WHERE WE CAN RUN THE CODE WHERE WE CAN TEST THE CODE IS CALLED AN "IDE" POPULAR IDEs: VS CODE, SUBLIME TEXT, PYCHARM ETC.