Find Interview Questions for Top Companies
Cwp Interview Questions and Answers
Ques:- I have a report which has id as hyperlink.when i click the id it should move to next report which displays the corresponding details.tell me how to get the value of hyperlink(which id is clicked) dynamically using javascript? so that i can make condition on my second report?
Ques:- how to run the servlet in tomcat
Right Answer:
To run a servlet in Tomcat, follow these steps:

1. **Install Tomcat**: Download and install Apache Tomcat on your machine.

2. **Create a Web Application Directory**: Inside the `webapps` folder of your Tomcat installation, create a new directory for your web application (e.g., `myapp`).

3. **Create a `WEB-INF` Directory**: Inside your application directory, create a `WEB-INF` folder.

4. **Create `web.xml`**: Inside the `WEB-INF` folder, create a `web.xml` file to configure your servlet. Define your servlet and its mapping in this file.

5. **Compile Your Servlet**: Write your servlet code in Java, compile it, and place the resulting `.class` files in a `classes` folder inside `WEB-INF`.

6. **Start Tomcat**: Run the `startup.bat` (Windows) or `startup.sh` (Linux/Mac)
Ques:- What is closure in java script?
Right Answer:
A closure in JavaScript is a function that retains access to its lexical scope, even when the function is executed outside that scope. This means it can remember the variables from its original context even after that context has finished executing.
Ques:- Can you name the responsibilities of the user, the customer and the developer in the requirements process?
Right Answer:
**User Responsibilities:** Provide clear and detailed needs, feedback, and participate in discussions.

**Customer Responsibilities:** Define project goals, prioritize requirements, and ensure alignment with business objectives.

**Developer Responsibilities:** Analyze requirements, propose solutions, document specifications, and implement the agreed-upon features.
Ques:- What is the html 5
Right Answer:
HTML5 is the latest version of the Hypertext Markup Language, which is used for structuring and presenting content on the web. It includes new features like semantic elements, multimedia support, and improved APIs for better web applications.
Ques:- What is so special about HTML5?
Right Answer:

HTML5 is special because it introduced powerful new features that made websites more interactive, media-rich, and mobile-friendly. Key highlights:

- Built-in support for audio and video without plugins
- New semantic tags (like <article>, <section>) for better structure
- Improved form controls (date pickers, sliders, etc.)
- Offline storage and faster performance
- Better mobile and cross-platform support

In short: HTML5 made web development cleaner, faster, and more flexible.

Ques:- What is the main difference between CSS and CSS3?
Right Answer:
The main difference between CSS and CSS3 is that CSS3 introduces new features such as advanced selectors, media queries, animations, and transitions, while CSS is the original version that does not include these enhancements.
Ques:- Why we are using pages Statics in Website?
Right Answer:
We use static pages in a website for faster loading times, improved SEO, easier caching, and reduced server load, as they serve the same content to all users without requiring dynamic processing.
Ques:- What is Pseudo-elements ?
Right Answer:
Pseudo-elements are keywords in CSS that allow you to style specific parts of an element, such as the first line, first letter, or a portion of text, without needing to add extra HTML elements. Examples include `::before`, `::after`, `::first-line`, and `::first-letter`.
Ques:- Difference between visibility:hidden and display:none in css?
Right Answer:
`visibility: hidden;` hides the element but still takes up space in the layout, while `display: none;` removes the element from the layout entirely, so it does not take up any space.
Ques:- You have been retained joint by a disposable diaper company and a federal commission on waste management. Estimate the volume percentage of disposable diapers in the total U.S. household garbage.
Right Answer:
Disposable diapers make up approximately 3-4% of total U.S. household garbage by volume.
Ques:- A major US beer company, Beer Brew, recently entered the UK market. Two years after entry, the company is still losing money. Despite a high per capita consumption of beer in the UK market, sales have been very disappointing. What explains this phenomenon?
Right Answer:
Beer Brew may be facing issues such as strong local competition, lack of brand recognition, misalignment with consumer preferences, ineffective marketing strategies, or distribution challenges in the UK market.
Ques:- What factors influence the revenue potential of a new pharmaceutical product?
Right Answer:
The revenue potential of a new pharmaceutical product is influenced by factors such as market demand, pricing strategy, competition, regulatory approval, patent protection, marketing effectiveness, target patient population, distribution channels, and reimbursement policies.
Ques:- Should a drug company build a remote call center?
Right Answer:
Yes, a drug company should consider building a remote call center to improve customer support, enhance accessibility, and reduce operational costs.
Ques:- Describe a situation that required you to do a number of things at the same time. How did you handle it? What was the result?
Right Answer:
In my previous job, I had to manage multiple projects with tight deadlines. I created a prioritized to-do list, allocated specific time blocks for each task, and used project management tools to track progress. I communicated regularly with my team to delegate tasks and ensure everyone was aligned. As a result, we completed all projects on time, and the quality of work exceeded client expectations.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users