
@swati_goyal_911
Btech from NIT KKR | CS-1 at Adobe | SDE-3 at Phonepe | Interviewer at Interview Vector | SDE2 MEESHO | SENIOR SOFTWARE ENGINEER Arcesium | SDE DINEOUT (Times Internet) | B.Tech in ECE from NIT Kurukshetra | Volunteered in CodeChef Competitive Programming Basic Workshop
๐ง Day 3 Java Quiz
Day 3 of #30DaysOfJava How a Java Program Actually Executes (Step by Step) Many beginners write their first Java program, see the output, and move on. But in interviews, one question comes up again and again: ๐ โWhat happens when you run a Java program?โ Letโs break it down step by step, without jargon. ๐งฉ Step 1: Writing the Source Code You write code in a file with a .java extension. Example: public class Hello { public static void main(String[] args) { System.out.println("Hello Java"); } } This is human-readable source code. ๐จ Step 2: Compilation (javac) The Java compiler (javac) converts: Hello.java โ Hello.class The .class file contains bytecode Bytecode is not machine-specific โ ๏ธ If thereโs a syntax error, compilation fails here. โ๏ธ Step 3: Class Loading When you run the program: java Hello The Class Loader: Loads required .class files Loads standard Java libraries ๐ง Step 4: Bytecode Verification Before execution, JVM verifies bytecode to ensure: No illegal memory access No security violations Code follows Java rules This makes Java secure by design. ๐ Step 5: Execution JVM executes bytecode using: Interpreter (executes line by line) JIT Compiler (optimizes frequently used code) ๐ This is why Java becomes faster over time. ๐๏ธ Step 6: Garbage Collection JVM automatically: Allocates memory Removes unused objects Frees memory without manual intervention ๐ One-Line Flow Summary .java โ javac โ .class โ Class Loader โ Bytecode Verifier โ JVM โ Output ๐ก Interview Tip If asked: โIs Java compiled or interpreted?โ Best answer: ๐ Java is both compiled and interpreted.
๐ง Day 2 Agentic AI Quiz: LLM vs Agent | Easy Level
๐ง Easy Quiz: LLM vs Agent โ Day 2 Basics โจ Quick check of Day 2 key concepts ๐ฏ Understand the difference between LLMs and AI agents ๐ Explore prompt-based responses vs decision loops ๐ ๏ธ Learn when to use an LLM and when an agent is needed ๐ Beginner-friendly, concept-focused, and practical Perfect for testing your foundational understanding before moving to medium and hard scenarios! ๐
๐ง Day 1 Agentic AI Quiz: Agentic AI Basics | Easy Level
๐ง Easy Quiz: Introduction to Agentic AI โจ Quick revision of Day 1 concepts ๐ฏ Understand the difference between LLMs and Agents ๐ Learn about the Agent Loop (Perceive โ Reason โ Act โ Observe) ๐ ๏ธ Explore goals, tools, and autonomy ๐ Beginner-friendly and concept-focused Perfect for testing your basics before moving ahead! ๐
๐ง Day 1 Java Quiz: Test Your Basics
Day 1 of #30DaysOfJava What is Java and Why Itโs Still Relevant in 2026? If youโre starting your Java journey, the first question is obvious: Why Java, even in 2026? With so many new languages and frameworks coming up every year, Java still continues to be one of the most widely used and trusted programming languages in the world. Letโs break it down. ๐ What is Java? Java is a high-level, object-oriented, platform-independent programming language developed by Sun Microsystems (now owned by Oracle). The biggest strength of Java is its โWrite Once, Run Anywhereโ principle. This means: Java code is compiled into bytecode Bytecode runs on the JVM (Java Virtual Machine) The same program works on Windows, macOS, Linux, or servers without changes ๐ง Why Java Is Still Relevant in 2026 Despite being over two decades old, Java is still everywhere: 1๏ธโฃ Enterprise & Backend Development Most large-scale applications in: Banking FinTech E-commerce Insurance are still powered by Java (Spring Boot, Microservices). 2๏ธโฃ Strong Job Market Java consistently appears in top-paying tech skills lists due to: Huge existing codebases Continuous demand for maintenance + new features 3๏ธโฃ Android & Beyond While Kotlin is popular, Java is still deeply embedded in Android ecosystems and legacy apps. 4๏ธโฃ Massive Ecosystem Java has: Powerful frameworks (Spring, Hibernate) Excellent tooling Strong community support ๐ Who Should Learn Java? Java is a great choice if you are: Preparing for tech interviews Targeting backend roles Learning DSA Looking for a stable long-term skill ๐ก Final Thought Java may not always be trendy, but it is reliable, scalable, and battle-tested. Thatโs why companies trust it โ and why developers still learn it.
๐ง Day 6 Agentic AI Quiz: Tools and Tool-Calling in Agentic AI ๐ง
๐ค Day 6 of Agentic AI Series ---------------------------- Tools and Tool-Calling in Agentic AI ๐ง An AI agent becomes truly powerful when it can DO things, not just talk. This is where tools and tool-calling come into play. Letโs understand how tools work in Agentic AI ๐ ๐ง What Are Tools in Agentic AI? Tools are external functions or systems that an AI agent can use to perform actions beyond text generation. Examples of tools: - APIs - Databases - Search engines - Code execution - File systems Tools allow agents to interact with the real world. ๐ What Is Tool-Calling? Tool-calling is the process where an AI agent: - Understands the task - Chooses the right tool - Sends correct inputs to the tool - Receives the output - Uses the result to decide the next step This happens automatically inside the agent loop. ๐ Agent Loop with Tools Goal โ Plan โ Choose Tool โ Execute Tool โ Observe Result โ Update Plan This loop makes the agent action-oriented. ๐ Example: Customer Support Agent Goal: Resolve a refund request Steps: 1. Read user query 2. Fetch order details using API 3. Check refund eligibility 4. Initiate refund via payment service 5. Confirm with the user Without tools, this agent could only reply โ not resolve. โ ๏ธ Challenges with Tool-Calling - Incorrect tool selection - Invalid inputs - API failures - Security and permission issues Modern systems use validation, retries, guardrails, and human approval. ๐ก Why Tools Matter Tool-enabled agents can: - Automate workflows - Perform real business actions - Reduce manual effort - Scale intelligent operations
๐ง Day 5 Agentic AI Quiz: Memory Types in Agentic AI ๐ง
๐ค Day 5 of Agentic AI Series ---------------------------- Memory Types in Agentic AI ๐ง An AI agent is only as good as what it remembers. Memory is what allows agents to learn, adapt, and improve over time. Letโs understand the different types of memory in Agentic AI ๐ ๐ง What Is Memory in Agentic AI? Memory enables an AI agent to: - Remember past interactions - Retain important context - Avoid repeating mistakes - Personalize future actions Without memory, agents behave like stateless chatbots. ๐น Types of Memory in Agentic AI 1๏ธโฃ Short-Term Memory - Stores recent conversations or actions - Exists only during the current session - Limited in size Example: Remembering the userโs last question or task in progress. 2๏ธโฃ Long-Term Memory - Stores information across sessions - Helps the agent learn over time - Used for personalization and history Example: User preferences, previous project details, or recurring tasks. 3๏ธโฃ Episodic Memory - Stores past experiences as events - Helps agents recall what happened and when - Useful for reasoning and learning Example: โLast time the API failed at step 3, retry with a different approach.โ 4๏ธโฃ Semantic Memory - Stores facts, rules, and knowledge - Independent of specific experiences - Used for decision-making Example: Knowing that an API requires authentication. ๐ How Memory Works with Planning Memory feeds into planning by: - Providing context - Informing decisions - Improving action selection Better memory = smarter plans. โ ๏ธ Challenges with Memory - Storing irrelevant data - Forgetting important context - Memory size and cost - Data privacy concerns Modern agents use filtering, summarization, and vector databases to manage memory efficiently. ๐ก Real-World Use Cases - Personal AI assistants - Customer support bots - Autonomous workflow agents - Recommendation systems

