Interview Question
Interview Question
Answer: During the final phase of developing OWASP Insight, we faced tight deadlines before
submission. I divided tasks logically among team members and managed my time by setting
micro-deadlines. By staying calm and focused, we completed testing and deployment on time.
Answer: During WIEHACKS 5.0, we collaborated to create a prototype in limited time. I handled
frontend integration and API calls. We communicated actively, supported each other, and got
Answer: I believe failure teaches resilience. In one Ideathon round, a part of our idea wasn't feasible
in the time frame. Instead of panicking, I quickly brainstormed an alternative approach and learned
Answer: I break tasks into smaller goals and reward myself after completing them. I also try to
understand the bigger purpose of the task. For example, while testing ReArtify, I reminded myself
Answer: I see myself working in a company that values innovation and problem-solving, taking
ownership of projects, learning from seniors, and eventually mentoring juniors while working towards
Answer: I?m a fast learner, curious problem-solver, and team-oriented individual. With real project
experience, certifications, and consistent participation in tech events, I bring not just knowledge, but
practical implementation ability.
Answer: Pointers are variables that store the memory address of another variable and can be
reassigned. References are aliases for another variable and cannot be null or reassigned after
initialization.
Answer: By reducing iterations using better logic (e.g., binary search or hashmap). Example:
Replacing O(n^2) comparisons in a sorting problem with a divide-and-conquer approach like Merge
Sort.
Answer: The event loop is responsible for managing execution contexts and tasks. It processes the
call stack and handles asynchronous operations like setTimeout() or API calls.
4. What are promises in JavaScript, and how do they differ from callbacks?
Answer: Promises handle asynchronous operations by chaining .then() and .catch(). They improve
Answer: const declares variables that cannot be reassigned, ensuring immutability. This is
Answer: Client-side rendering: The browser builds the HTML dynamically using JavaScript.
Server-side rendering: The server sends pre-built HTML to the client. Flask supports server-side
Answer: Minimize HTTP requests, use lazy loading, minify CSS/JS/HTML, and implement caching.
8. Explain RESTful APIs. How did you use them in your projects?
Answer: RESTful APIs follow constraints like statelessness, resource-based URLs, and standard
HTTP methods. In ReArtify, I used a REST API with Flask to expose ML model predictions.
9. What are media queries in CSS? How did you use them?
Answer: Media queries enable responsive design by applying styles based on device width, height,
or orientation.
Answer: ACID stands for Atomicity, Consistency, Isolation, and Durability. It ensures reliable
Answer: Indexing creates a data structure that allows faster retrieval of records.
Answer: Transactions ensure that a group of operations either all succeed or none are applied.
Answer: Firebase uses WebSockets instead of HTTP requests, allowing two-way communication
Answer: Supervised learning uses labeled data. Unsupervised learning identifies patterns in
unlabeled data.
Answer: Overfitting occurs when a model performs well on training data but poorly on unseen data.
16. What is the difference between a validation set and a test set?
Answer: The validation set is used during training to tune parameters. The test set evaluates model
Answer: Transfer learning uses pre-trained models for new tasks, reducing training time and
resources.
18. What are the differences between multithreading and multiprocessing?
Answer: Multithreading shares memory and runs concurrently. Multiprocessing has separate
Answer: Recursion is a function calling itself until a base case is met. Iteration uses loops.