Programming Fundamentals: ========================= High Level Programming Language a language when the user can control the digital device (Computer) is called "programming language" Ex: C, C++, Python etc. ==> Two types: 1) Low Level ==> System Friendly binary instructions ==> 1's and 0's Disadvantages: ============== 1) Difficult to handle. 32-OS 64-OS ===== X-App 2) Too difficult to learn "Ravi" ==> R + a + v + i Middle Level ==> Assembly Language Embedded platform Not Portable 2) High Level ==> User Friendly int, float, class, if, else, while etc. Portable Translators: =========== Convert the instructions from one form to another form High level ==> Low level Middle level ==> Low level Source program ==> object program ==> three types: 1) Compiler 2) Interpreter 3) Assembler Compiler: ======== { inst-1 inst-2 inst-3 function1(data) { st-1 st-2; value; } function2(); } block-1 ==> definition section block-2 ==> function-1 block-3 ==> function-2 ==> Compiler can divide the total program into multiple blocks. ==> perform the translate operation block by block. ==> In the block the translation should be statement by statement. ==> While the translation, if any error/issue is present in any statement, the compiler should pause the operation and continue with remaining program. ==> after all the translation, the compiler make display all the errors on the screen for the resolving and to get the output by executing. Interpreter: =========== { line-1 line-2 line-3 fun1() fun2() } ==> Interpreter should not divide the total program into blocks. the total program can understand as single block. ==> The translation is based on the statement by statement as like the compiler. ==> If any error in any statement while translation, the interpreter should stop the operation immediately until the clearance. C, C++ ==> Compiler based Python, JavaScript, HTML ==> Interpreter Java, C# ==> Compiler & Interpreter =============================================== What is the Scripting Language? =============================== Programmer ==> X-App guidelines X-App ==> cannot release Testing X-App f1 f2 f3 f4 Gmail: Login Mail: Correct Pwd: Correct login Successful Incorrect Mail Correct PWD Correct Mail & Incorrect PWD Incorrect Mail & Incorrect PWD ==> Scripting Language can use to write Script (Small Snippet) Script ==> to test the application in positive manner and/or negative manner to check whether the application is responding as per the client requirements or not. Login Fail/Incorrect Credentials ==> Ex: Python Python ==> Programming ==> All the Scripting languages ==>Interpreter dependent. Source code ==> Compiler ==> Class Code ==> JVM (Interpreter) ==> Object Code Source Code ==> Interpreter ==> Object Code .java ==> Compiler ==> JVM javac #include main() class main() a == 10 b = 20 c = a+b print(c) Java Code (.java) ==> javac file.java (compilation) Class Code ==> JVM (Interpreter) ==> Object Code Python Code (.py) ==> PVM (Interpreter) ==> Object Code ============================================ Free Python Training 📅 Start Date : Today (04-Nov-2024) ⏰ Class Time: 08:00 PM (IST) ✍️ Zoom Link : https://bit.ly/3Yj8eXe 🔥 For Python BackupVideos (599 INR) : https://rzp.io/rzp/4YMKic7 👉 Join in Our WhatsApp Channel : https://bit.ly/49wCWje