Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Tools in Data Science
Most repeated questions
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
Type 1 · asked 5 times · Dev tools: IDEs, uv, Git & DevTools
Pick the Chrome DevTools tab for inspecting network/API requests
- Q1MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
You want to check if a button click on a website triggers an API call to the backend. Which tab in Chrome DevTools should you monitor to see the network request?
- AElements
- BConsole
- CSources
- DNetwork
- Q2MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
A developer wants to examine API request headers and responses to debug an issue with a failing API call. Where in Chrome DevTools should they look?
- AConsole tab
- BApplication tab
- CNetwork tab
- DSources tab
- Q3MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
A web developer wants to analyze the load time and resources of a webpage. Which Chrome DevTools feature provides comprehensive network request information?
- AConsole tab
- BNetwork tab
- CElements tab
- DSources tab
- Q4MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
A team is troubleshooting why a page loads slowly due to an API call taking a long time. Which Chrome DevTools tab should they use to find the slow request?
- ASources
- BNetwork
- CConsole
- DApplication
- Q5MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
A developer debugging an API integration notices intermittent 429 status codes. Which Chrome DevTools approach would best help identify the rate limiting pattern?
- AConsole tab with error filtering
- BNetwork tab with timing analysis and request throttling simulation
- CApplication tab for storage inspection
- DPerformance tab for bottleneck analysis
Type 2 · asked 4 times · Geospatial analysis & routing
Choose Python libraries for geospatial operations and interactive maps
- Q6MSQ1 Mark·Choose all correct optionsEnd Term · 22 Dec 2024 (FN)Key ↓
You are asked to create an interactive map showing the locations of COVID-19 vaccination centers. Which of the following Python libraries would be most useful for geospatial analysis and visualization?
- AGeopandas
- BQGIS
- CFolium
- DOpenStreetMap
- Q7MSQ2 Marks·Choose all correct optionsEnd Term · 13 Apr 2025 (FN)Key ↓
A researcher needs to perform spatial data operations like buffering and visualize the results on an interactive map. Which libraries would be most suitable?
- AGeopandas
- BFolium
- CMatplotlib
- DShapely
- Q8MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
For analyzing urban traffic patterns using GPS coordinate data, which combination of Python libraries provides the most comprehensive geospatial analysis capabilities?
- APandas + Matplotlib + NumPy
- BGeoPandas + Shapely + Folium + Contextily
- CPlotly + Seaborn + SciPy
- DBokeh + PyProj
- Q9MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
For a geospatial analysis project involving buffer operations, spatial joins, and interactive mapping, which combination of libraries provides the most comprehensive solution?
- AMatplotlib + NumPy + Pandas
- BGeoPandas + Shapely + Folium
- CPlotly + Seaborn + SciPy
- DBokeh + NetworkX + PyProj
Type 3 · asked 4 times · LLM prompting, cost & system prompts
Explain the role of the system prompt in an LLM assistant
Read the passage below, then answer Q10
Scenario 4
The course instructor of TDS is developing an LLM-powered learning assistant called EduBot. This assistant is used by students to learn concepts in geospatial analysis, optimization, and data science. This bot will be highly helpful for students in solving the questions given in the context of “Emergency Medical Supply Delivery in Storm-Critical Zones” in this question paper. The goal of the assistant is to help students think critically and solve problems independently without receiving direct answers or step-by-step solutions.
The instructor defines the following constraints for the LLM assistant (EduBot):
1. Do not provide final answers — If a student asks for the solution, the agent must not give the final answer.
2. Do not provide step-by-step code — The agent must avoid giving Python, SQL, or R code directly.
3. Encourage critical thinking — The agent should guide students using reflective questions, sanity checks, and logical reasoning.
4. Use context-aware prompts — The agent should recognize when a student might have made a conceptual mistake (like unit errors) and provide guidance.
The instructor asks you, as part of a course assignment, to design the system prompt that will be sent to OpenAI’s API for creating this LLM-based agent. Your task is to answer the given sub- questions to ensure EduBot works as expected.
Q10MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓The instructor wants to ensure that the agent’s purpose is clear to the LLM. What is the role of the system prompt in controlling the LLM's behavior?
- AIt defines the role, constraints, and communication style of the LLM agent, ensuring it guides rather than solves.
- BIt acts as a script that contains hard-coded responses for every student question.
- CIt ensures that the LLM only responds with exact pre-written answers to specific queries.
- DIt modifies the OpenAI model itself to force it to behave like a teaching assistant.
Read the passage below, then answer Q11
Scenario 1:
Sarah is working on a research paper about renewable energy technologies and decides to use an LLM to help her draft some sections.
Based on the above data, answer the given subquestions.
Q11MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Sarah prompts the LLM: "Write a comprehensive overview of solar energy advancements in the last decade." The instructor wants to ensure that the LLM provides concise, clear, and helpful answers. What is the role of the system prompt in guiding the LLM's behavior?
- AIt defines the LLM’s tone, behavior, and response style to align with the instructor's teaching goals.
- BIt provides a list of pre-written responses to be used in all classroom scenarios.
- CIt prevents the LLM from ever deviating from pre-determined responses, regardless of the context.
- DIt configures the LLM to only respond to specific commands, disregarding any other input.
Read the passage below, then answer Q12
Scenario 4
A climate science professor is developing an AI-powered learning assistant called ClimateBot to help students understand complex climate modeling techniques and computational approaches to environmental data analysis.
Guidelines for ClimateBot:
- Engage students through thought-provoking questions
- Encourage independent problem-solving
- Guide students to discover solutions autonomously
- Provide conceptual insights, not direct answers
- Help students develop robust computational and analytical skills
Based on the above data, answer the given subquestions.
Q12MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓What is the primary purpose of the system prompt in controlling an AI learning assistant's behavior?
- ATo create a fixed set of predetermined responses for every possible student query
- BTo define the core communication strategy, learning approach, and interaction guidelines
- CTo replace the need for human instructor guidance completely
- DTo limit the AI's ability to understand complex scientific concepts
Read the passage below, then answer Q13
Scenario 1: AI-Powered Research Assistant Development
Dr. Kumar is developing an AI research assistant for environmental science students. The system needs to process academic papers, generate summaries, and answer domain specific questions while encouraging critical thinking.
Based on the above data, answer the given subquestions.
Q13MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓The research assistant uses a system prompt to guide its behavior. Which system prompt design principle is most important for educational effectiveness?
- AProviding direct answers to maximize efficiency
- BBalancing information delivery with Socratic questioning to promote learning
- CLimiting responses to prevent information overload
- DUsing technical jargon to maintain academic rigor
Type 4 · asked 4 times · LLM prompting, cost & system prompts
Identify what drives LLM usage cost and response time
Read the passage below, then answer Q14
Scenario 1
Reema is working on her project report and decides to use an LLM (like ChatGPT) to generate content for the “Introduction” section of her report. Below is her interaction with the LLM. Reema: "Write an introduction on the impact of AI on employment. Make it sound academic and professional."
LLM:
The rise of artificial intelligence (AI) has significantly transformed employment patterns worldwide. While automation increases productivity and efficiency, it also leads to displacement of certain jobs. Sectors like manufacturing and logistics are experiencing reduced demand for human labor, while jobs requiring creativity, empathy, and complex problem-solving are on the rise. Policymakers and educators are now focusing on reskilling workers to adapt to this change. Based on the above data, answer the given subquestions.
Q14MSQ2 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (FN)Key ↓Reema realizes that the LLM's response was too short, and she wants more details for the introduction. She tries the following prompt: "Give a more detailed and comprehensive introduction on the impact of AI on employment. Include key trends, specific examples, and the role of governments in addressing employment issues." The LLM takes longer to generate the response and produces a longer, more detailed introduction.Which of the following is TRUE about how this new prompt impacts usage and costs?
- AThe cost of LLM usage increases as more words are included in the output.
- BThe cost of LLM usage depends only on the number of requests, not the length of the response.
- CThe time it takes for the LLM to generate the output depends on the size of the prompt and the complexity of the instructions.
- DThe time it takes for the LLM is dependent only on the size of the prompt
Read the passage below, then answer Q15
Scenario 1:
Sarah is working on a research paper about renewable energy technologies and decides to use an LLM to help her draft some sections.
Based on the above data, answer the given subquestions.
Q15MSQ2 Marks·Choose all correct optionsEnd Term · 13 Apr 2025 (FN)Key ↓When Sarah submits increasingly complex prompts about solar energy, which of the following statements are TRUE regarding LLM cost and usage
- ALLM costs are primarily calculated based on the number of tokens processed
- BLLM usage is always free for academic research
- CThe total length of both input prompt and output response impacts the overall cost
- DLLM costs are fixed regardless of the complexity of the query
- EToken count has no relation to computational resources required
Read the passage below, then answer Q16
Scenario 1: Healthcare Data Analytics Platform
A hospital system is developing a HIPAA-compliant analytics platform to process electronic health records, predict patient outcomes, and support clinical decision-making while ensuring data privacy and regulatory compliance.
Based on the above data, answer the given subquestions.
Q16MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓Which factors most significantly impact computational costs when processing large-scale clinical datasets with LLMs?(Select all that apply)
- AToken density of clinical notes and medical terminology
- BComplexity of medical reasoning required for clinical insights
- CHIPAA compliance overhead and security measures
- DContext window usage for patient history analysis
- EGeographic location of healthcare facility
Read the passage below, then answer Q17
Scenario 1: AI-Powered Research Assistant Development
Dr. Kumar is developing an AI research assistant for environmental science students. The system needs to process academic papers, generate summaries, and answer domain specific questions while encouraging critical thinking.
Based on the above data, answer the given subquestions.
Q17MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓When students submit complex research queries, which factors most significantly impact the LLM's operational costs and response quality? (Select all that apply)
- AToken count of input prompts and generated responses
- BComplexity and specificity of the query requiring deeper reasoning
- CTime of day when queries are submitted
- DContext window utilization for multi-turn conversations
- EStudent's academic level
Type 5 · asked 4 times · LLM prompting, cost & system prompts
Pick the most specific prompt for a useful LLM answer
Read the passage below, then answer Q18
Scenario 1
Reema is working on her project report and decides to use an LLM (like ChatGPT) to generate content for the “Introduction” section of her report. Below is her interaction with the LLM. Reema: "Write an introduction on the impact of AI on employment. Make it sound academic and professional."
LLM:
The rise of artificial intelligence (AI) has significantly transformed employment patterns worldwide. While automation increases productivity and efficiency, it also leads to displacement of certain jobs. Sectors like manufacturing and logistics are experiencing reduced demand for human labor, while jobs requiring creativity, empathy, and complex problem-solving are on the rise. Policymakers and educators are now focusing on reskilling workers to adapt to this change. Based on the above data, answer the given subquestions.
Q18MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓Reema notices that the LLM sometimes produces "generic" and "vague" responses. She wants more specific, detailed, and structured answers. Which of the following prompts would most likely produce a more specific and useful response from the LLM?
- A"Write a detailed introduction on the impact of AI on employment."
- B"List 3 key trends in the impact of AI on employment and provide a real-world example for each."
- C"Discuss how AI impacts employment in different sectors."
- D"Explain the impact of AI on employment."
Read the passage below, then answer Q19
Scenario 1:
Sarah is working on a research paper about renewable energy technologies and decides to use an LLM to help her draft some sections.
Based on the above data, answer the given subquestions.
Q19MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Sarah wants to improve the specificity of her LLM prompt. Which prompt is likely to generate the most precise and useful response?
- A"Tell me about solar energy"
- B"Discuss solar energy advancements"
- C"Outline 4 key solar energy technological breakthroughs from 2014-2024, including specific efficiency improvements and implementation challenges"
- D"Write a paragraph about solar energy"
Read the passage below, then answer Q20
Scenario 1: Healthcare Data Analytics Platform
A hospital system is developing a HIPAA-compliant analytics platform to process electronic health records, predict patient outcomes, and support clinical decision-making while ensuring data privacy and regulatory compliance.
Based on the above data, answer the given subquestions.
Q20MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓Which prompt engineering approach generates the most clinically valuable insights for patient care optimization?
- A"Analyze patient symptoms"
- B"Review medical records"
- C"Based on this patient's lab results (glucose: 180 mg/dL, HbA1c: 8.2%), vital signs, and medication history, identify potential adjustment strategies for diabetes management while considering contraindications and monitoring requirements."
- D"Suggest treatments for diabetes"
Read the passage below, then answer Q21
Scenario 1: AI-Powered Research Assistant Development
Dr. Kumar is developing an AI research assistant for environmental science students. The system needs to process academic papers, generate summaries, and answer domain specific questions while encouraging critical thinking.
Based on the above data, answer the given subquestions.
Q21MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓Which prompt engineering technique would generate the most pedagogically valuable response for environmental research?
- A"Explain climate change impacts"
- B"Write about environmental issues"
- C"Analyze the interconnected effects of ocean acidification on marine ecosystems, considering pH changes, species adaptation, and food web dynamics. What research methodologies would be most appropriate for studying these relationships?"
- D"Discuss environmental problems briefly"
Type 6 · asked 4 times · LLM prompting, cost & system prompts
Choose the best system prompt for a teaching/research assistant
Read the passage below, then answer Q22
Scenario 4
The course instructor of TDS is developing an LLM-powered learning assistant called EduBot. This assistant is used by students to learn concepts in geospatial analysis, optimization, and data science. This bot will be highly helpful for students in solving the questions given in the context of “Emergency Medical Supply Delivery in Storm-Critical Zones” in this question paper. The goal of the assistant is to help students think critically and solve problems independently without receiving direct answers or step-by-step solutions.
The instructor defines the following constraints for the LLM assistant (EduBot):
1. Do not provide final answers — If a student asks for the solution, the agent must not give the final answer.
2. Do not provide step-by-step code — The agent must avoid giving Python, SQL, or R code directly.
3. Encourage critical thinking — The agent should guide students using reflective questions, sanity checks, and logical reasoning.
4. Use context-aware prompts — The agent should recognize when a student might have made a conceptual mistake (like unit errors) and provide guidance.
The instructor asks you, as part of a course assignment, to design the system prompt that will be sent to OpenAI’s API for creating this LLM-based agent. Your task is to answer the given sub- questions to ensure EduBot works as expected.
Q22MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓Choose the best system prompt that achieves the instructor's goals.
- A“””You are an interactive assistant. Answer student questions directly and provide Python code or final answers if requested. If the student asks for clarification, provide a detailed step-by-step solution.”””
- B“””You are a learning assistant for a Data Science course. Do not provide final answers or direct solutions. Do not provide Python or step-by-step code. Encourage critical thinking using reflective questions. Use sanity checks to help students validate their work. If a student provides a calculation, prompt them to review units, radian-to-degree conversions, or other potential points of error.”””
- C“””You are a teaching assistant for a Data Science course. Answer questions using logical reasoning, and if the student requests the final solution, provide the exact distance or value. Ask follow-up questions to help students understand the answer.”””
- D“””You are a simple assistant. Do not provide step-by-step guidance or explanations. When asked about concepts like geospatial distance, tell students to look up the concept themselves. If a student asks for the answer, refuse to respond.”””
Read the passage below, then answer Q23
Scenario 4
A climate science professor is developing an AI-powered learning assistant called ClimateBot to help students understand complex climate modeling techniques and computational approaches to environmental data analysis.
Guidelines for ClimateBot:
- Engage students through thought-provoking questions
- Encourage independent problem-solving
- Guide students to discover solutions autonomously
- Provide conceptual insights, not direct answers
- Help students develop robust computational and analytical skills
Based on the above data, answer the given subquestions.
Q23MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Choose the best system prompt that achieves the instructor's goals.
- A"You are a climate science assistant. Provide direct answers and complete code solutions whenever students ask."
- B"You are an interactive learning assistant for climate science. Guide students through complex concepts by asking reflective questions. Avoid giving direct solutions. Encourage independent thinking and help students develop problem-solving skills."
- C"You are a simple computational tool. Provide exact numerical answers and full code implementations for any climate modeling question."
- D"You are a climate science assistant. Help students and tell them to consult textbooks for all information."
Read the passage below, then answer Q24
Scenario 4: Supply Chain Optimization RAG System.
A global logistics company implements an advanced RAG system that integrates supplier data, transportation networks, demand forecasting, and regulatory information to optimize supply chain decisions across multiple industries and geographical regions.
Multi-Modal Supply Chain RAG Architecture:
●Supplier Intelligence: Vendor profiles, performance metrics, capacity data, compliance records ●Transportation Networks: Route optimization, carrier performance, fuel costs, delivery tracking ●Market Analysis: Demand forecasting, price volatility, seasonal patterns, economic indicators ●Regulatory Compliance: Trade regulations, customs requirements, sustainability standards ●Risk Assessment: Supply disruptions, geopolitical factors, weather impacts, financial stability Based on the above data, answer the given subquestions.
Q24MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓Which system prompt design best supports strategic supply chain decision-making across multiple stakeholders?
- A

- B

- C

- D

- A
Read the passage below, then answer Q25
Scenario 4: Academic Research RAG System with Multi-Modal Analysis
A research university implements an advanced RAG system that processes academic papers, datasets, code repositories, and experimental results to support interdisciplinary research across STEM fields.
Advanced Multi-Modal RAG Architecture:
● Text Processing: Research papers, grants, technical documentation
● Code Analysis: GitHub repositories, computational notebooks, algorithm implementations ● Data Integration: Experimental datasets, simulation results, sensor data
● Visual Processing: Figures, charts, experimental images, technical diagrams
● Semantic Linking: Cross-reference relationships between concepts, methods, and findings Based on the above data, answer the given subquestions.
Q25MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓Which system prompt design best supports interdisciplinary research collaboration and knowledge synthesis?
- A

- B

- C

- D

- A
Type 7 · asked 4 times · LLM prompting, cost & system prompts
Choose the assistant response that guides the user to reason
Read the passage below, then answer Q26
Scenario 4
The course instructor of TDS is developing an LLM-powered learning assistant called EduBot. This assistant is used by students to learn concepts in geospatial analysis, optimization, and data science. This bot will be highly helpful for students in solving the questions given in the context of “Emergency Medical Supply Delivery in Storm-Critical Zones” in this question paper. The goal of the assistant is to help students think critically and solve problems independently without receiving direct answers or step-by-step solutions.
The instructor defines the following constraints for the LLM assistant (EduBot):
1. Do not provide final answers — If a student asks for the solution, the agent must not give the final answer.
2. Do not provide step-by-step code — The agent must avoid giving Python, SQL, or R code directly.
3. Encourage critical thinking — The agent should guide students using reflective questions, sanity checks, and logical reasoning.
4. Use context-aware prompts — The agent should recognize when a student might have made a conceptual mistake (like unit errors) and provide guidance.
The instructor asks you, as part of a course assignment, to design the system prompt that will be sent to OpenAI’s API for creating this LLM-based agent. Your task is to answer the given sub- questions to ensure EduBot works as expected.
Q26MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓A student asks the following question to EduBot: "How do I convert degrees to radians?" The goal of the LLM assistant is to use logical reasoning to prompt the student to think critically. Instead of directly providing the formula, the assistant should encourage the student to recall or derive it on their own. The assistant should use concepts, relationships, and reasoning techniques that help the student make connections. Which of the below responses will be an ideal response from the agent in this situation?
- A

- B

- C

- D

- A
Read the passage below, then answer Q27
Scenario 4
A climate science professor is developing an AI-powered learning assistant called ClimateBot to help students understand complex climate modeling techniques and computational approaches to environmental data analysis.
Guidelines for ClimateBot:
- Engage students through thought-provoking questions
- Encourage independent problem-solving
- Guide students to discover solutions autonomously
- Provide conceptual insights, not direct answers
- Help students develop robust computational and analytical skills
Based on the above data, answer the given subquestions.
Q27MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓A student asks: "How do I calculate the global warming potential of different greenhouse gases?" Choose the most pedagogically effective response:
- A"The global warming potential (GWP) is calculated by multiplying the gas's radiative efficiency by its atmospheric lifetime. Here's the exact formula: [provides complete formula and calculation method]"
- B"Global warming potential (GWP) is determined by factors like a gas's molecular structure, atmospheric lifetime, and interaction with radiation. Different gases have different GWPs based on these characteristics."
- C"Let's break this down. What do you already know about greenhouse gases and their impact on climate? Have you considered how different molecules might have varying abilities to trap heat?"
- D"I cannot help you with this calculation. Please refer to your textbook for a complete explanation."
Read the passage below, then answer Q28
Scenario 4: Supply Chain Optimization RAG System.
A global logistics company implements an advanced RAG system that integrates supplier data, transportation networks, demand forecasting, and regulatory information to optimize supply chain decisions across multiple industries and geographical regions.
Multi-Modal Supply Chain RAG Architecture:
●Supplier Intelligence: Vendor profiles, performance metrics, capacity data, compliance records ●Transportation Networks: Route optimization, carrier performance, fuel costs, delivery tracking ●Market Analysis: Demand forecasting, price volatility, seasonal patterns, economic indicators ●Regulatory Compliance: Trade regulations, customs requirements, sustainability standards ●Risk Assessment: Supply disruptions, geopolitical factors, weather impacts, financial stability Based on the above data, answer the given subquestions.
Q28MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓A supply chain manager asks: "Given current semiconductor shortages, rising fuel costs, and new sustainability regulations, how should we restructure our electronics component sourcing strategy for the next quarter?" Which response demonstrates optimal supply chain synthesis?
- A"Semiconductor shortages require finding alternative suppliers and adjusting inventory levels."
- B"Here are 20 suppliers with current pricing and availability data: [lists suppliers with specifications]"
- C"Let's analyze this systematically: Current semiconductor lead times average 16-24 weeks (vs. normal 4-6 weeks). Three strategic options emerge: 1) Dual-sourcing with 60% Asian suppliers, 40% nearshore (reduces risk but increases costs 12-18%), 2) Forward buying with 90-day inventory (capital impact: $2.3M, storage costs: $45K/month), 3) Design modifications using available components (6-week timeline, engineering costs). Fuel cost increases affect logistics by 8-15%. New EU sustainability regs require supplier carbon disclosure. Which risk tolerance and capital constraints guide your preference?"
- D"Supply chain restructuring requires comprehensive analysis of multiple interdependent factors."
Read the passage below, then answer Q29
Scenario 4: Academic Research RAG System with Multi-Modal Analysis
A research university implements an advanced RAG system that processes academic papers, datasets, code repositories, and experimental results to support interdisciplinary research across STEM fields.
Advanced Multi-Modal RAG Architecture:
● Text Processing: Research papers, grants, technical documentation
● Code Analysis: GitHub repositories, computational notebooks, algorithm implementations ● Data Integration: Experimental datasets, simulation results, sensor data
● Visual Processing: Figures, charts, experimental images, technical diagrams
● Semantic Linking: Cross-reference relationships between concepts, methods, and findings Based on the above data, answer the given subquestions.
Q29MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓A researcher asks: "How can machine learning techniques be applied to optimize renewable energy grid integration, and what interdisciplinary approaches show promise?" Which response demonstrates the most effective research synthesis approach?
- A"Machine learning can predict energy demand and optimize grid operations through various algorithms."
- B"Here are 10 recent papers on ML applications in renewable energy: [lists papers with summaries]"
- C"Let's explore the intersection of several fields: What specific grid integration challenges interest you? ML approaches range from demand forecasting (time series analysis) to real-time optimization (reinforcement learning), while power systems engineering provides domain constraints. Materials science advances in energy storage create new optimization opportunities. Which aspect aligns with your research focus?"
- D"This is a complex topic requiring extensive literature review across multiple disciplines."
Type 8 · asked 4 times · RAG & multi-modal RAG pipelines
Order the processing steps of a RAG system
Read the passage below, then answer Q30
Scenario 4
The course instructor of TDS is developing an LLM-powered learning assistant called EduBot. This assistant is used by students to learn concepts in geospatial analysis, optimization, and data science. This bot will be highly helpful for students in solving the questions given in the context of “Emergency Medical Supply Delivery in Storm-Critical Zones” in this question paper. The goal of the assistant is to help students think critically and solve problems independently without receiving direct answers or step-by-step solutions.
The instructor defines the following constraints for the LLM assistant (EduBot):
1. Do not provide final answers — If a student asks for the solution, the agent must not give the final answer.
2. Do not provide step-by-step code — The agent must avoid giving Python, SQL, or R code directly.
3. Encourage critical thinking — The agent should guide students using reflective questions, sanity checks, and logical reasoning.
4. Use context-aware prompts — The agent should recognize when a student might have made a conceptual mistake (like unit errors) and provide guidance.
The instructor asks you, as part of a course assignment, to design the system prompt that will be sent to OpenAI’s API for creating this LLM-based agent. Your task is to answer the given sub- questions to ensure EduBot works as expected.
Q30MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓Assume that the EduBot is designed to provide context-aware, personalized guidance to students by using a RAG (Retrieval-Augmented Generation) system. The RAG system works as follows: 1. Course Material Storage: Custom course content (like PDFs, guides, and notes) is split into smaller chunks. Each chunk is vectorized using an embedding model. 2. Vector Database: The vectorized chunks are stored in a FAISS or Weaviate vector database. 3. Retriever: When a student asks a question, the system retrieves the most relevant content (based on semantic similarity) from the vector database. 4. LLM Contextualization: The retrieved content is added as context in the assistant's prompt, which is then used by the LLM (like GPT-4) to generate a personalized, context-aware response. Which of the following correctly describes the process flow of a RAG-based system for the IITM TDS Teaching Assistant?
- A

- B

- C

- D

- A
Read the passage below, then answer Q31
Scenario 4
A climate science professor is developing an AI-powered learning assistant called ClimateBot to help students understand complex climate modeling techniques and computational approaches to environmental data analysis.
Guidelines for ClimateBot:
- Engage students through thought-provoking questions
- Encourage independent problem-solving
- Guide students to discover solutions autonomously
- Provide conceptual insights, not direct answers
- Help students develop robust computational and analytical skills
Based on the above data, answer the given subquestions.
Q31MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Assume that the ClimateBot, an advanced learning assistant for climate science students.Its primary mission is to foster critical thinking, scientific reasoning, and deep understanding of complex environmental systems by using a RAG (Retrieval-Augmented Generation) system. The RAG system works as follows: 1. Climate Data Storage: Comprehensive climate research materials (like reports, research papers and notes) are split into smaller chunks. Each chunk is vectorized using an embedding model. 2. Vector Database: The vectorized chunks are stored in a FAISS or Weaviate vector database. 3. Retriever: When a student asks a question, the system retrieves the most relevant content (based on semantic similarity) from the vector database. 4. LLM Contextualization: The retrieved content is added as context in the assistant's prompt, which is then used by the LLM (like GPT-4) to generate a personalized, context-aware response. Which of the following correctly describes the process flow of a RAG-based system for the IITM TDS Teaching Assistant?
- A

- B

- C

- D

- A
Read the passage below, then answer Q32
Scenario 4: Supply Chain Optimization RAG System.
A global logistics company implements an advanced RAG system that integrates supplier data, transportation networks, demand forecasting, and regulatory information to optimize supply chain decisions across multiple industries and geographical regions.
Multi-Modal Supply Chain RAG Architecture:
●Supplier Intelligence: Vendor profiles, performance metrics, capacity data, compliance records ●Transportation Networks: Route optimization, carrier performance, fuel costs, delivery tracking ●Market Analysis: Demand forecasting, price volatility, seasonal patterns, economic indicators ●Regulatory Compliance: Trade regulations, customs requirements, sustainability standards ●Risk Assessment: Supply disruptions, geopolitical factors, weather impacts, financial stability Based on the above data, answer the given subquestions.
Q32MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓Which processing sequence correctly describes the supply chain RAG system's comprehensive optimization workflow?
- ASupply Chain Query → Supplier Database Search → Cost Comparison Report
- BSupply Chain Query → Keyword Matching → Return Cheapest Options
- CSupply Chain Query → Multi-Modal Analysis (supplier performance + market conditions + regulatory requirements + risk factors) → Scenario Modeling → Optimization Recommendations with Risk-Adjusted Trade-offs
- DSupply Chain Query → Historical Data Retrieval → Standard Report Generation
Read the passage below, then answer Q33
Scenario 4: Academic Research RAG System with Multi-Modal Analysis
A research university implements an advanced RAG system that processes academic papers, datasets, code repositories, and experimental results to support interdisciplinary research across STEM fields.
Advanced Multi-Modal RAG Architecture:
● Text Processing: Research papers, grants, technical documentation
● Code Analysis: GitHub repositories, computational notebooks, algorithm implementations ● Data Integration: Experimental datasets, simulation results, sensor data
● Visual Processing: Figures, charts, experimental images, technical diagrams
● Semantic Linking: Cross-reference relationships between concepts, methods, and findings Based on the above data, answer the given subquestions.
Q33MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓Which processing sequence correctly describes the multi-modal RAG system's comprehensive research synthesis workflow?
- AResearch Query → Text Search Only → Generate Literature Summary
- BResearch Query → Keyword Matching → Return Most Recent Papers
- CResearch Query → Multi-Modal Embedding (text + code + visual + data) → Cross-Disciplinary Retrieval → Concept Mapping → Synthesized Research Insights with Method Integration
- DResearch Query → Database Search → Template Response Generation
Type 9 · asked 4 times · Geospatial analysis & routing
State the purpose of the Haversine formula
Read the passage below, then answer Q34
Scenario 2
Geospatial Distance Calculation for Emergency Response
Background:
As part of the course, you have been introduced with the concept of Haversine formula and its use in distance calculations between two points. The below is a transcript of the conversation between a student in TDS and ChatGPT while they were trying to solve the questions in Graded Assignment 6.
Student-ChatGPT Discussion Thread
Student:
Hi, I have two locations with the following coordinates:
- Location A: Latitude = 40.748817, Longitude = -73.985428
- Location B: Latitude = 40.761293, Longitude = -73.982294
I need to calculate the distance between them. I heard that the Haversine formula can be used for this. Can you help me understand how to do this step-by-step?


Student:
Ah, I see my mistake. I’ll correct the second part and continue with the calculation. Thanks! Assume that the student got the full marks for the answers in Graded Assignment 6. Use the information given in the above conversation to answer the given subquestions for the given scenario.
Emergency Medical Supply Delivery in Storm-Critical Zones
Background:
The city of Hillton has been hit by a severe storm, leading to power outages and road closures. The city’s emergency response team is tasked with delivering medical supplies to four hospitals located in different areas of the city. Due to time constraints, the response team wants to find the most optimal route to minimize travel distance.
The team has access to a file called hospital_locations.csv, which contains the following information:
- Hospital Name
- Business ID
- Latitude
- Longitude
The 4 hospitals in need of supplies are:
1. North Hill Hospital (Business ID: 2103) — (Latitude: 40.7128, Longitude: -74.0060) 2. Eastview Medical Center (Business ID: 2158) — (Latitude: 40.7306, Longitude: -73.9866) 3. Westbrook Hospital (Business ID: 1987) — (Latitude: 40.6995, Longitude: -74.1745) 4. Southend Clinic (Business ID: 2895) — (Latitude: 40.6526, Longitude: -73.9497)
The emergency response team is currently stationed at the Emergency Supply Center at (Latitude: 40.7222, Longitude: -74.0134). The team must deliver supplies to each of the 4 hospitals and return to the supply center.
The goal is to minimize the total distance traveled.
Based on the above data, answer the given subquestions.
Q34MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓Which of the following best describes the purpose of using the Haversine formula in geospatial analysis?
- AIt calculates the distance between two points along a road or path on a map.
- BIt computes the distance between two points along the surface of a sphere.
- CIt measures the Euclidean distance between two points in a Cartesian coordinate system.
- DIt calculates the total travel time between two points based on traffic conditions.
Read the passage below, then answer Q35
Scenario 2
Wildfire Emergency Evacuation Planning
Background:
A wildfire is threatening a rural mountain region, and emergency services need to coordinate evacuation routes for four remote communities. The Emergency Management Center is located at a central command post, and must plan the most efficient evacuation route to ensure rapid and safe community evacuation.
The four communities are:
Pine Ridge Settlement (Latitude: 38.7456, Longitude: -120.8765)
Mountain View Village (Latitude: 38.6987, Longitude: -120.9234)
River Valley Community (Latitude: 38.7123, Longitude: -120.7654)
Forest Creek Hamlet (Latitude: 38.6789, Longitude: -120.8901)
Central Command Post Location:
(Latitude: 38.7200, Longitude: -120.8500)
Based on the above data, answer the given subquestions.
Q35MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓What is the primary advantage of using the Haversine formula in emergency route planning?
- ACalculating exact road distances
- BDetermining travel time under specific conditions
- CComputing great-circle distances on a spherical Earth
- DMeasuring elevation changes in mountainous terrain
Read the passage below, then answer Q36
Scenario 2: Smart Manufacturing Quality Control System
An automotive manufacturer implements an IoT-based quality control system that monitors production line metrics, detects defects in real-time, and optimizes manufacturing processes across multiple assembly plants.
System Architecture:
● IoT sensors at production stations (coordinates provided for each plant)
● Quality control hub: (42.3601^o N, 71.0589^o W)
● Real-time data streams: temperature, pressure, vibration, visual inspection
● ML models for defect prediction and process optimization
Based on the above data, answer the given subquestions.
Q36MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓The system uses GPS coordinates to optimize supply chain logistics between plants. What is the computational advantage of using the Haversine formula in manufacturing logistics?
- AAccurate distance calculations for optimizing transportation routes and delivery scheduling
- BCalculating exact production times
- CDetermining equipment maintenance schedules
- DMeasuring network latency between plants
Read the passage below, then answer Q37
Scenario 2: Smart City Traffic Management System
A metropolitan city is implementing a real-time traffic management system that processes data from IoT sensors, traffic cameras, and GPS devices to optimize traffic flow across 500+ intersections.
System Architecture:
● IoT sensors at intersections (Lat/Long coordinates provided)
● Central processing hub: (28.6139^o N, 77.2090^o E)
● Real-time data streams: traffic density, weather conditions, accident reports
● ML models for traffic prediction and route optimization
Based on the above data, answer the given subquestions.
Q37MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓The system calculates distances between intersections for route optimization. What is the primary computational advantage of implementing the Haversine formula in the traffic management context?
- AProvides accurate great-circle distances for GPS coordinates without requiring road network data
- BCalculates exact travel time including traffic conditions
- CDetermines elevation changes for fuel efficiency
- DMeasures road surface quality for vehicle routing
Type 10 · asked 4 times · Apache log parsing & filtering
Identify a valid log entry for the given log format
Read the passage below, then answer Q38
Q38MSQ2 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (FN)Key ↓Which of the below can be a valid log file entry based on the descriptions provided in the main question?
- A40.77.167.48 - - [30/Apr/2024:07:12:09 -0500] "GET /mplayer2.jsz HTTP/1.1" 200 7416 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36" www.s-anand.net 192.254.190.216
- B40.77.167.48 - - [30/Apr/2024:07:12:09 -0500] "POST /mplayer2.jsz HTTP/1.1" 200 7416 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36" www.s-anand.net 192.254.190.216
- C40.77.167.48 - - [30-Apr-2024 07:12:09 -0500] "GET /mplayer2.jsz HTTP/1.1" 200 7416 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36" www.s-anand.net 192.254.190.216
- D40.77.167.48 - - [30/Apr/2024:07:12:09 -0500] "GET /mplayer2.jsz HTTP/1.1" OK 7416 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36" www.s-anand.net 192.254.190.216
Read the passage below, then answer Q39
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q39MCQ2 Marks·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Which of the following is a valid log entry based on the provided format?
- A192.168.1.1 - - [12/Dec/2024:14:05:59 -0500] "GET /image.jpg HTTP/1.1" 200 1234 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" www.s-anand.net 192.254.190.217
- B192.168.1.1 - - [12/Dec/2024:14:05:59 -0500] "POST /image.jpg INVALID" 200 1234 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" www.s-anand.net 192.254.190.217
- C192.168.1.1 - - [12/Dec/2024:14:05:59 -0500] "PUT /image.jpg HTTP/1.1" OK 1234 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" www.s-anand.net 192.254.190.217
- D203.0.113.7 - - [14/Dec/2024:16:45:11 -0500] "GET /index.html HTTP/1.1" 200 3500 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36" www.s-anand.net 192.254.190.219
Read the passage below, then answer Q40
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q40MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓Which log entry correctly represents a successful console objective action during the tournament window?
- A

- B

- C

- D

- A
Read the passage below, then answer Q41
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q41MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓Which of the following Apache log entries correctly represents a successful mobile checkout transaction that occurred during the peak analysis window (12:00–15:59)?
- A

- B

- C

- D

- A
Type 11 · asked 4 times · Apache log parsing & filtering
Pick the log fields needed for a filtering question
Read the passage below, then answer Q42
Q42MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓Which of the following fields are necessary to filter "GET requests made for pages under /telugump3/ from 10:00 until before 21:00 on Saturdays"?
- ATime, Request, URL, Method
- BTime, Request, Status, Size
- CTime, Method, URL, Status
- DTime, Status, URL, Referer
Read the passage below, then answer Q43
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q43MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Which of the following fields are necessary to filter "POST requests made for pages under /images/ from 15:00 to 18:00 on Mondays"?
- ATime, Request, Method, URL
- BTime, Method, Status, Size
- CTime, Method, URL, Referer
- DTime, Status, URL, Server
Read the passage below, then answer Q44
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q44MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓For analyzing "competitive gaming actions during tournament hours with successful responses", which log fields are essential?
- APlayerIP, PlayerID, Platform, MatchID
- BTimestamp, ACTION, GameMode, StatusCode, ActionType
- CPlayerID, ResponseTime, UserAgent, Level
- DPlayerIP, Timestamp, Platform, ResponseTime
Read the passage below, then answer Q45
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q45MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓To extract essential fields for the analysis "mobile checkout transactions between 12:00-15:59 with successful status codes", which data elements are required?
- AIP, UserAgent, Referrer, VirtualHost
- BTimestamp, HTTP_METHOD, URL, StatusCode, UserAgent
- CRemoteUser, AuthUser, ResponseSize, ServerIP
- DIP, Timestamp, Referrer, ResponseSize
Type 12 · asked 4 times · Apache log parsing & filtering
Pick the strptime format to parse a log timestamp
Read the passage below, then answer Q46
Q46MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q47
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q47MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓If the time in the log is stored in the format [01/May/2024:00:00:00 -0500], which of the following time formats should you use to parse it correctly?
- A

- B

- C

- D

- A
Read the passage below, then answer Q48
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q48MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q49
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q49MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
- A%d/%b/%Y:%H:%M:%S
- B%d/%b/%Y:%H:%M:%S %z
- C%Y-%m-%d %H:%M:%S %Z
- D%d-%b-%Y:%H:%M:%S GMT
Type 13 · asked 4 times · Apache log parsing & filtering
Write the hour condition for a time window filter
Read the passage below, then answer Q50
Q50MSQ1 Mark·Choose all correct optionsEnd Term · 22 Dec 2024 (FN)Key ↓How would you identify log entries where the time is between 10:00 and 20:59 on Saturdays?
- A

- B

- C

- D

- A
Read the passage below, then answer Q51
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q51MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓How would you identify log entries where the time is between 16:00 and 18:59 on Sundays?
- ACheck if 16 <= timestamp.hour < 18
- BCheck if 16 <= timestamp.hour < 19
- CCheck if 16 < timestamp.hour < 19
- DCheck if timestamp.hour in range(16, 20)
Read the passage below, then answer Q52
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q52MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓To filter gaming actions between 14:00 and 20:59 tournament hours, which condition correctly validates the time range?
- A

- B

- C

- D

- A
Read the passage below, then answer Q53
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q53MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓To identify checkout transactions occurring between 12:00 and 15:59, which Python condition correctly validates the time range?
- A

- B

- C

- D

- A
Type 14 · asked 4 times · Apache log parsing & filtering
Write the status code condition for success/redirect
Read the passage below, then answer Q54
Q54MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓How would you identify if the Status code of a log entry indicates a successful request? (Assume that status is correctly stored in the variable ‘status’)
- A

- B

- C

- D

- A
Read the passage below, then answer Q55
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q55MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓How would you identify if the log entry’s HTTP status code indicates a redirection request? (Assume that status is correctly stored in the variable ‘status’)
- Astatus in [301, 302, 303]
- B200 < status < 400
- C300 <= status < 400
- Dstatus in range(299, 400)
Read the passage below, then answer Q56
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q56MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓For identifying successful gaming events, which status code condition is most appropriate?
- A

- B

- C

- D

- A
Read the passage below, then answer Q57
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q57MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓For determining successful transactions, which condition correctly identifies HTTP status codes indicating success?
- A

- B

- C

- D

- A
Type 15 · asked 4 times · Apache log parsing & filtering
Debug a log count that is far off from expected
Read the passage below, then answer Q58
Q58MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓If the count of log entries appears much smaller than expected, which of the following could be the reason?
- AThe filter for Saturday is incorrect.
- BThe filter for time range is incorrect.
- CThe filter for successful status codes is incorrect.
- DAny of the given option could be the reason.
Read the passage below, then answer Q59
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q59MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓If the count of log entries appears much larger than expected, which of the following could be the reason?
- AThe filter for Monday is incorrect.
- BThe filter for time range is incorrect.
- CThe filter for HTTP method is incorrect.
- DAny of these could be the reason.
Read the passage below, then answer Q60
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q60MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓If tournament action counts appear inconsistently high, which systematic debugging approach identifies the issue?
- AAssume tournament data corruption and exclude results
- BValidate each filter systematically: time range → game mode → action type → status codes → platform detection
- CReduce dataset randomly and extrapolate
- DFocus only on successful status codes
Read the passage below, then answer Q61
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q61MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓If the transaction count appears unexpectedly high, which systematic debugging approach would identify the root cause?
- AAssume data corruption and discard results
- BValidate each filter condition independently: time range → HTTP method → URL pattern → status code
- CReduce the dataset size randomly
- DCheck only the timestamp filter
Type 16 · asked 4 times · Dev tools: IDEs, uv, Git & DevTools
Pick the Git branch workflow for features or hotfixes
- Q62MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
In a data science team using Git with feature branches, what is the recommended approach for integrating experimental analysis without disrupting the main workflow?
- ACommit directly to main branch with descriptive messages
- BCreate feature branch, conduct experiments, squash commits, and merge via pull request after peer review
- CUse git stash for all experimental work
- DCreate separate repository for each experiment
Read the passage below, then answer Q63
Scenario 2: Smart Manufacturing Quality Control System
An automotive manufacturer implements an IoT-based quality control system that monitors production line metrics, detects defects in real-time, and optimizes manufacturing processes across multiple assembly plants.
System Architecture:
● IoT sensors at production stations (coordinates provided for each plant)
● Quality control hub: (42.3601^o N, 71.0589^o W)
● Real-time data streams: temperature, pressure, vibration, visual inspection
● ML models for defect prediction and process optimization
Based on the above data, answer the given subquestions.
Q63MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓When a critical defect pattern is identified requiring immediate production line adjustment, which Git workflow ensures rapid deployment of updated quality parameters while maintaining manufacturing compliance?
- APush changes directly to production branch to minimize downtime
- BCreate quality-hotfix branch, implement changes with detailed validation, require quality engineer approval, and deploy with rollback capability
- CApply temporary manual overrides and update version control later
- DUse email to communicate changes without version control
- Q64MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
In Git workflow for collaborative data science projects, what is the most appropriate sequence for integrating feature changes?
- A

- B

- C

- D

- A
Read the passage below, then answer Q65
Scenario 2: Smart City Traffic Management System
A metropolitan city is implementing a real-time traffic management system that processes data from IoT sensors, traffic cameras, and GPS devices to optimize traffic flow across 500+ intersections.
System Architecture:
● IoT sensors at intersections (Lat/Long coordinates provided)
● Central processing hub: (28.6139^o N, 77.2090^o E)
● Real-time data streams: traffic density, weather conditions, accident reports
● ML models for traffic prediction and route optimization
Based on the above data, answer the given subquestions.
Q65MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓The development team uses Git for version control of traffic algorithms. When a critical traffic routing bug is discovered in production, which Git workflow ensures rapid deployment of fixes while maintaining code integrity?
- A

- B

- C

- D

- A
Type 17 · asked 3 times · Data sourcing & cleaning
Pick the OpenRefine approach to de-duplicate inconsistent names
- Q66MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
You have a dataset of customer names that includes duplicates due to inconsistent capitalization and extra whitespace (e.g., 'John Doe', 'JOHN DOE', 'John Doe'). Which of the following tools would be best for cleaning and de-duplicating this data?
- AOpenRefine
- BTableau
- CMySQL
- DMicrosoft Excel
- Q67MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
A data analyst receives a messy dataset with inconsistent company names like "Apple", "Apple Inc.", and "Apple Incorporated". Which tool would best standardize these entries?
- AExcel's Find and Replace
- BOpenRefine's clustering feature
- CPython's string manipulation
- DManual editing
- Q68MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
When cleaning a dataset with company names like "Microsoft Corp", "Microsoft Corporation", "MSFT", which OpenRefine technique would be most effective?
- ASimple find and replace operations
- BClustering algorithms with fingerprinting and n-gram comparison
- CRegular expression matching only
- DManual standardization
Type 18 · asked 3 times · Python, pandas & shell processing
Get the unique values of a pandas column
- Q69MSQ2 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (FN)Key ↓

- Adata_df.book_genre.unique()
- Bdata_df.book_genre.category_name()
- Cdata_df['book_genre'].distinct()
- Ddata_df['book_genre'].unique()
- Q70MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
A research team has a pandas dataframe of medical trial participants. To quickly identify how many different treatment groups exist, which Pandas method would be most efficient?
- A`len(set(column))`
- B`column.count()`
- C`column.nunique()`
- D`column.value_counts()`
- Q71MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
A data scientist needs to identify unique treatment combinations in a clinical trial dataset with 50,000 rows. Which pandas approach would be most memory-efficient for large datasets?
- A

- B

- C

- D

- A
Type 19 · asked 3 times · Apache log parsing & filtering
Extract the method or protocol from a request line with split
Read the passage below, then answer Q72
Q72MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q73
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q73MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓How would you extract the HTTP protocol version (e.g., HTTP/1.1) from the Request field "GET /blog/ HTTP/1.1"?
- AUse request.split('/')[1]
- BUse request.split(' ')[2]
- CUse request.split(' ')[1]
- DUse request.split('/')[2]
Read the passage below, then answer Q74
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q74MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
- A

- B

- C

- D

- A
Type 20 · asked 3 times · Apache log parsing & filtering
Extract the URL path from a request line
Read the passage below, then answer Q75
Q75MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q76
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q76MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q77
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q77MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
- A

- B

- C

- D

- A
Type 21 · asked 3 times · Python, pandas & shell processing
Process a CSV/time series too large for memory with pandas
- Q78MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
When processing a streaming data source that generates CSV files every minute, which approach handles the data most efficiently without memory overflow?
- A

- B

- C

- D

- A
- Q79MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
For analyzing a massive time-series dataset that exceeds available RAM, which pandas strategy optimizes memory usage during aggregation operations?
- A

- B

- C

- D

- A
- Q80MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
You are working with a very large CSV file that is too big to fit into memory. Which pandas method is the best way to read and process the file without running out of memory?
- A

- B

- C

- D

- A
Type 22 · asked 3 times · Python, pandas & shell processing
Pick the shell command to search or extract from log files
Read the passage below, then answer Q81
Scenario 2
Wildfire Emergency Evacuation Planning
Background:
A wildfire is threatening a rural mountain region, and emergency services need to coordinate evacuation routes for four remote communities. The Emergency Management Center is located at a central command post, and must plan the most efficient evacuation route to ensure rapid and safe community evacuation.
The four communities are:
Pine Ridge Settlement (Latitude: 38.7456, Longitude: -120.8765)
Mountain View Village (Latitude: 38.6987, Longitude: -120.9234)
River Valley Community (Latitude: 38.7123, Longitude: -120.7654)
Forest Creek Hamlet (Latitude: 38.6789, Longitude: -120.8901)
Central Command Post Location:
(Latitude: 38.7200, Longitude: -120.8500)
Based on the above data, answer the given subquestions.
Q81MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓An emergency responder needs to search through evacuation logs to find all entries related to "Pine Ridge". Which command would be most useful?
- A

- B

- C

- D

- A
Read the passage below, then answer Q82
Scenario 2: Smart Manufacturing Quality Control System
An automotive manufacturer implements an IoT-based quality control system that monitors production line metrics, detects defects in real-time, and optimizes manufacturing processes across multiple assembly plants.
System Architecture:
● IoT sensors at production stations (coordinates provided for each plant)
● Quality control hub: (42.3601^o N, 71.0589^o W)
● Real-time data streams: temperature, pressure, vibration, visual inspection
● ML models for defect prediction and process optimization
Based on the above data, answer the given subquestions.
Q82MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓Quality engineers need to analyze sensor data to identify equipment performance degradation patterns. Which command-line approach efficiently processes large sensor log files to extract anomalous readings?
- A

- B

- C

- D

- A
Read the passage below, then answer Q83
Scenario 2: Smart City Traffic Management System
A metropolitan city is implementing a real-time traffic management system that processes data from IoT sensors, traffic cameras, and GPS devices to optimize traffic flow across 500+ intersections.
System Architecture:
● IoT sensors at intersections (Lat/Long coordinates provided)
● Central processing hub: (28.6139^o N, 77.2090^o E)
● Real-time data streams: traffic density, weather conditions, accident reports
● ML models for traffic prediction and route optimization
Based on the above data, answer the given subquestions.
Q83MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓Traffic engineers need to analyze historical data patterns. Which command-line approach efficiently processes large log files to extract peak traffic periods and route preferences?
- A

- B

- C

- D

- A
Type 23 · asked 3 times · Deployment, databases & monitoring
Choose a containerised deployment for distributed systems
Read the passage below, then answer Q84
Scenario 2
Wildfire Emergency Evacuation Planning
Background:
A wildfire is threatening a rural mountain region, and emergency services need to coordinate evacuation routes for four remote communities. The Emergency Management Center is located at a central command post, and must plan the most efficient evacuation route to ensure rapid and safe community evacuation.
The four communities are:
Pine Ridge Settlement (Latitude: 38.7456, Longitude: -120.8765)
Mountain View Village (Latitude: 38.6987, Longitude: -120.9234)
River Valley Community (Latitude: 38.7123, Longitude: -120.7654)
Forest Creek Hamlet (Latitude: 38.6789, Longitude: -120.8901)
Central Command Post Location:
(Latitude: 38.7200, Longitude: -120.8500)
Based on the above data, answer the given subquestions.
Q84MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓In a resource-constrained emergency environment, which deployment method would be MOST appropriate for the Python-based evacuation management system?
- ARunning scripts locally on a single emergency responder's laptop
- BDistributing Python source code to all emergency personnel
- CContainerized deployment with Docker for consistent execution across multiple devices
- DFull cloud migration requiring constant internet connectivity
Read the passage below, then answer Q85
Scenario 2: Smart Manufacturing Quality Control System
An automotive manufacturer implements an IoT-based quality control system that monitors production line metrics, detects defects in real-time, and optimizes manufacturing processes across multiple assembly plants.
System Architecture:
● IoT sensors at production stations (coordinates provided for each plant)
● Quality control hub: (42.3601^o N, 71.0589^o W)
● Real-time data streams: temperature, pressure, vibration, visual inspection
● ML models for defect prediction and process optimization
Based on the above data, answer the given subquestions.
Q85MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓For deploying the quality control system across geographically distributed manufacturing plants with strict latency and reliability requirements, which architecture approach ensures optimal performance?
- ACentralized cloud-only deployment
- BEdge computing with local ML inference, container orchestration, and federated data synchronization
- CSingle server per plant without redundancy
- DManual quality control without automated systems
Read the passage below, then answer Q86
Scenario 2: Smart City Traffic Management System
A metropolitan city is implementing a real-time traffic management system that processes data from IoT sensors, traffic cameras, and GPS devices to optimize traffic flow across 500+ intersections.
System Architecture:
● IoT sensors at intersections (Lat/Long coordinates provided)
● Central processing hub: (28.6139^o N, 77.2090^o E)
● Real-time data streams: traffic density, weather conditions, accident reports
● ML models for traffic prediction and route optimization
Based on the above data, answer the given subquestions.
Q86MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓For deploying the traffic management system across distributed edge computing nodes at intersections, which containerization strategy optimizes resource utilization and ensures consistent performance?
- ASingle monolithic container with all services
- BMulti-stage Docker builds with service mesh architecture and resource constraints
- CVirtual machines for each intersection
- DDirect installation on edge hardware without containerization
Type 24 · asked 2 times · Regression, ML & time series
Interpret a regression coefficient p-value of 0.03
- Q87MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
You are building a linear regression model to predict house prices based on the number of bedrooms. You obtain a p-value of 0.03 for the coefficient of "number of bedrooms." Which of the following conclusions can you draw?
- AThe relationship between number of bedrooms and house prices is statistically significant
- BThere is no relationship between number of bedrooms and house prices
- CThe analysis is inconclusive
- DThe model is overfitting
- Q88MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
A pharmaceutical researcher is testing a new drug's effectiveness. If the p-value is 0.03 in a regression analysis, what can be concluded about the drug's impact?
- AThe drug has no significant effect
- BThe result is statistically significant at a 5% significance level
- CMore data collection is needed
- DThe sample size is too small
Type 25 · asked 2 times · Data sourcing & cleaning
Choose Excel Text-to-Columns behaviour/settings for a column
- Q89MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- AThe numeric part of the order (123, 456, 789, 101)
- BOnly the first character of the order ID (O, O, O, O)
- CThe column will remain unchanged
- DEach character of the order ID will be split into separate cells (O, r, d, e, r, I, D, 1, 2, 3)
- Q90MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
You receive a tab-delimited file where some numeric fields are interpreted as dates (e.g., "3/10" becomes "March 10" in Excel). What is the most effective way to handle this in Text to-Columns?
- AChange the delimiter to commas before opening the file
- BFormat the column as Text before applying Text-to-Columns
- CUse the General data format option in Text-to-Columns
- DManually change the affected cells back to numbers after splitting
Type 26 · asked 2 times · RAG & multi-modal RAG pipelines
State the main advantage of a multi-modal RAG system
Read the passage below, then answer Q91
Scenario 4: Supply Chain Optimization RAG System.
A global logistics company implements an advanced RAG system that integrates supplier data, transportation networks, demand forecasting, and regulatory information to optimize supply chain decisions across multiple industries and geographical regions.
Multi-Modal Supply Chain RAG Architecture:
●Supplier Intelligence: Vendor profiles, performance metrics, capacity data, compliance records ●Transportation Networks: Route optimization, carrier performance, fuel costs, delivery tracking ●Market Analysis: Demand forecasting, price volatility, seasonal patterns, economic indicators ●Regulatory Compliance: Trade regulations, customs requirements, sustainability standards ●Risk Assessment: Supply disruptions, geopolitical factors, weather impacts, financial stability Based on the above data, answer the given subquestions.
Q91MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓What is the primary advantage of multi-modal RAG systems for supply chain management compared to traditional ERP systems?
- ALower implementation costs and simpler maintenance
- BReal-time integration of supplier performance, market dynamics, and regulatory changes for adaptive supply chain optimization
- CExclusive focus on historical transaction data
- DReduced data storage requirements
Read the passage below, then answer Q92
Scenario 4: Academic Research RAG System with Multi-Modal Analysis
A research university implements an advanced RAG system that processes academic papers, datasets, code repositories, and experimental results to support interdisciplinary research across STEM fields.
Advanced Multi-Modal RAG Architecture:
● Text Processing: Research papers, grants, technical documentation
● Code Analysis: GitHub repositories, computational notebooks, algorithm implementations ● Data Integration: Experimental datasets, simulation results, sensor data
● Visual Processing: Figures, charts, experimental images, technical diagrams
● Semantic Linking: Cross-reference relationships between concepts, methods, and findings Based on the above data, answer the given subquestions.
Q92MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓What is the primary advantage of multi-modal RAG systems over text-only approaches in academic research contexts?
- AReduced computational complexity for information retrieval
- BComprehensive understanding through integration of textual concepts, visual data, and computational methods
- CSimplified system architecture and maintenance
- DLower storage requirements for research materials
Type 27 · asked 2 times · Geospatial analysis & routing
Choose a tool for TSP route optimisation
Read the passage below, then answer Q93
Scenario 2
Geospatial Distance Calculation for Emergency Response
Background:
As part of the course, you have been introduced with the concept of Haversine formula and its use in distance calculations between two points. The below is a transcript of the conversation between a student in TDS and ChatGPT while they were trying to solve the questions in Graded Assignment 6.
Student-ChatGPT Discussion Thread
Student:
Hi, I have two locations with the following coordinates:
- Location A: Latitude = 40.748817, Longitude = -73.985428
- Location B: Latitude = 40.761293, Longitude = -73.982294
I need to calculate the distance between them. I heard that the Haversine formula can be used for this. Can you help me understand how to do this step-by-step?


Student:
Ah, I see my mistake. I’ll correct the second part and continue with the calculation. Thanks! Assume that the student got the full marks for the answers in Graded Assignment 6. Use the information given in the above conversation to answer the given subquestions for the given scenario.
Emergency Medical Supply Delivery in Storm-Critical Zones
Background:
The city of Hillton has been hit by a severe storm, leading to power outages and road closures. The city’s emergency response team is tasked with delivering medical supplies to four hospitals located in different areas of the city. Due to time constraints, the response team wants to find the most optimal route to minimize travel distance.
The team has access to a file called hospital_locations.csv, which contains the following information:
- Hospital Name
- Business ID
- Latitude
- Longitude
The 4 hospitals in need of supplies are:
1. North Hill Hospital (Business ID: 2103) — (Latitude: 40.7128, Longitude: -74.0060) 2. Eastview Medical Center (Business ID: 2158) — (Latitude: 40.7306, Longitude: -73.9866) 3. Westbrook Hospital (Business ID: 1987) — (Latitude: 40.6995, Longitude: -74.1745) 4. Southend Clinic (Business ID: 2895) — (Latitude: 40.6526, Longitude: -73.9497)
The emergency response team is currently stationed at the Emergency Supply Center at (Latitude: 40.7222, Longitude: -74.0134). The team must deliver supplies to each of the 4 hospitals and return to the supply center.
The goal is to minimize the total distance traveled.
Based on the above data, answer the given subquestions.
Q93MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓The response team realizes that following the "nearest hospital first" strategy may not be optimal. They consider using a more advanced strategy where they plan the entire route before starting. The team uses geospatial optimization tools to find the shortest route using a "traveling salesperson problem (TSP)" approach. Which of the following tools would be the most appropriate for implementing this route optimization?
- AQGIS to calculate the optimal route using the shortest path network analysis tool.
- BExcel to calculate the distances between each pair of hospitals and identify the optimal route manually.
- CPower BI to visualize the hospital locations on a map and create an optimized route.
- DA TSP algorithm using Python libraries like NetworkX, SciPy, or OR-Tools to calculate the optimal route.
Read the passage below, then answer Q94
Scenario 2
Wildfire Emergency Evacuation Planning
Background:
A wildfire is threatening a rural mountain region, and emergency services need to coordinate evacuation routes for four remote communities. The Emergency Management Center is located at a central command post, and must plan the most efficient evacuation route to ensure rapid and safe community evacuation.
The four communities are:
Pine Ridge Settlement (Latitude: 38.7456, Longitude: -120.8765)
Mountain View Village (Latitude: 38.6987, Longitude: -120.9234)
River Valley Community (Latitude: 38.7123, Longitude: -120.7654)
Forest Creek Hamlet (Latitude: 38.6789, Longitude: -120.8901)
Central Command Post Location:
(Latitude: 38.7200, Longitude: -120.8500)
Based on the above data, answer the given subquestions.
Q94MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Which computational tool would be MOST APPROPRIATE for optimizing the complex evacuation route considering multiple communities?
- AMicrosoft Excel for manual distance calculations
- BGoogle Maps for route visualization
- CPython libraries like NetworkX or OR-Tools for route optimization
- DQGIS for static route mapping
Type 28 · asked 2 times · Apache log parsing & filtering
Check whether a timestamp falls on a given weekday
Read the passage below, then answer Q95
Q95MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓Which of the following methods is best for identifying if a log entry's timestamp corresponds to a Saturday? (timestamp is a method in datetime library)
- A

- B

- C

- D

- A
Read the passage below, then answer Q96
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q96MCQ2 Marks·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓Which of the following methods is best for identifying if a log entry’s timestamp corresponds to a Sunday?
- ACheck if timestamp.dayname() == 'Sunday'
- BCheck if timestamp.weekday() == 5
- CCheck if timestamp.strftime('%A') == 'Sunday'
- DCheck if timestamp.weekday() == 6
Type 29 · asked 2 times · Apache log parsing & filtering
Check if a request URL is under a given prefix
Read the passage below, then answer Q97
Q97MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q98
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q98MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
- A

- B

- C

- D

- A
Type 30 · asked 2 times · Apache log parsing & filtering
Count filtered log entries
Read the passage below, then answer Q99
Q99MCQ1 Mark·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
- A

- B

- C

- D

- A
Read the passage below, then answer Q100
Scenario 3
You are provided with a Gzipped Apache log file from a website having the below data in each row.

The fields are separated by spaces and quoted by double quotes ("). Unlike CSV files, quoted fields are escaped via "and not". All data is in the GMT-0500 timezone and the questions were based in this same time zone.
Use the information given and answer the sub-questions.
Note: Assume that you are using Python codes for log analysis
Q100MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓After filtering the log entries (in a list filtered_entries), which of the following is the best way to count the number of requests with a 404 status code for pages under /error/?
- AUse len(filtered_entries)
- BUse len(entries)
- CUse sum(1 for entry in entries)
- DNone of these
Type 31 · asked 2 times · Apache log parsing & filtering
Count log entries by category after filtering
Read the passage below, then answer Q101
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q101MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓To efficiently count different action types (KILL, DEATH, OBJECTIVE) from filtered tournament data, which approach is optimal?
- A

- B

- C

- D

- A
Read the passage below, then answer Q102
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q102MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
- A

- B

- C

- D

- A
Type 32 · asked 2 times · Apache log parsing & filtering
Detect a platform/mobile device from the user agent field
Read the passage below, then answer Q103
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q103MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓Which approach most accurately identifies console gaming platforms from the Platform field?
- A

- B

- C

- D

- A
Read the passage below, then answer Q104
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q104MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓To identify mobile traffic from the UserAgent string, which Python approach provides the most reliable mobile device detection?
- A

- B

- C

- D

- A
Type 33 · asked 2 times · Apache log parsing & filtering
Process huge log files memory-efficiently in Python
Read the passage below, then answer Q105
Scenario 3: Gaming Platform User Behavior Analysis
You're analyzing server logs from a multiplayer gaming platform during a major tournament event. The logs contain player actions, performance metrics, and system resource utilization data.

Analysis Requirements:
●Filter competitive gaming actions (kills, deaths, objectives) during tournament hours (14:00- 20:59)
●Differentiate between PC and console gaming patterns
●Track successful game events (status codes 200-299)
●Analyze player performance across different game modes
Based on the above data, answer the given subquestions.
Q105MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓For processing massive gaming log files (100GB+) with memory constraints, which Python approach provides optimal performance?
- A

- B

- C

- D

- A
Read the passage below, then answer Q106
Scenario 3: E-commerce Platform Log Analysis
You're analyzing Apache access logs from a major e-commerce platform. The logs contain customer browsing patterns, purchase behaviors, and system performance metrics during Black Friday sales.
Log Format Specification:

Analysis Requirements:
● Filter purchases (POST to /checkout/) during peak hours (12:00-15:59)
● Identify mobile vs desktop traffic patterns
● Track successful transactions (status codes 200-299)
● Analyze product category performance
Based on the above data, answer the given subquestions.
Q106MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓When processing very large Apache log files (10GB+), which of the following Python approaches offers the best memory efficiency?
- A

- B

- C

- D

- A
Type 34 · asked 2 times · Dev tools: IDEs, uv, Git & DevTools
Manage reproducible Python projects with uv
- Q107MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
When working with uv in a team environment, which approach ensures reproducible dependency management across different development machines?
- A

- B

- C

- D

- A
- Q108MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
When using uv for Python package management, which command sequence correctly creates a new project with a specific Python version and installs dependencies?
- A

- B

- C

- D

- A
Type 35 · asked 2 times · Deployment, databases & monitoring
Pick the database indexing strategy for heavy queries
- Q109MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
For a MySQL database storing e-commerce analytics with complex joins and time-based queries, which indexing approach optimizes query performance?
- ASingle primary key index per table
- BComposite indexes on frequently joined columns, covering indexes for common queries, and partitioning by date ranges
- CUnique indexes on all columns
- DNo indexes to avoid write overhead
- Q110MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
When designing a SQLite database for time-series sensor data with millions of records, which indexing strategy optimizes both query performance and storage efficiency?
- APrimary key index only
- BComposite index on (timestamp, sensor_id) with partial indexes for active sensors
- CIndividual indexes on all columns
- DNo indexing to save storage space
Type 36 · asked 2 times · Deployment, databases & monitoring
Pick a monitoring strategy that gives actionable insights
- Q111MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
For a machine learning API serving models with inconsistent response times, which monitoring strategy provides the most actionable insights?
- ATrack only HTTP response status codes
- BModel inference time + request queue depth + resource utilization + error rate tracking
- CMonitor only successful prediction accuracy
- DFocus exclusively on network bandwidth usage
- Q112MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
A developer optimizing database-heavy applications needs to identify query bottlenecks and connection issues. Which monitoring approach provides comprehensive insights?
- AApplication logs only
- BDatabase query profiling + connection pool metrics + application performance monitoring
- CNetwork traffic analysis only
- DMemory usage tracking exclusively
Type 37 · asked 2 times · Data sourcing & cleaning
Choose the ethical web scraping behaviour
- Q113MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
For a web scraper that encounters 429 (Too Many Requests) status codes, which response strategy demonstrates ethical behavior?
- ASwitch to different IP addresses to bypass the limit
- BImplement exponential backoff starting with the Retry-After header value, reduce request frequency permanently
- CContinue scraping but filter out 429 responses
- DUse browser automation to appear more human-like
- Q114MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓

- A

- B

- C

- D

- A
Type 38 · asked 2 times · Python, pandas & shell processing
Choose robust Python exception handling with cleanup
- Q115MCQ1 Mark·Choose one optionEnd Term · 13 Apr 2025 (FN)Key ↓
In Python, which statement correctly handles exceptions and ensures that cleanup code is executed?
- A

- B

- C

- D

- A
- Q116MCQ1 Mark·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
When designing error handling in Python data processing pipelines, which approach generally offers the most robust and maintainable solution for unexpected runtime errors?
- AUsing only generic try-except blocks
- BUsing try-except-finally with specific exception types and proper logging
- CUsing pre-emptive condition checks (if-else) without exception handling
- DAllowing all exceptions to propagate to the top level
Official KeyMaster Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.
Reveal KeyCollapse Key
Master Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.