Find Interview Questions for Top Companies
Ques:- If my java based application is hanging once in a while. Where would you start looking at the problem, what changes can you do?My application has a builtin Ldap client and is communicating with a Ldap server. now having a problem with the authentication, how should i start troubleshooting? I, being responsible for the application and the OS, what can i do?
Ques:- Write a program to check whether a given number is a palindrome or not?
Comments
Admin May 17, 2020

This Script checks the given number as well as string is palindrome or not
<html>
<body>
<script type="text/javascript">
function checkPalindrome() {
var revStr = "";
var str = document.getElementById("str").value;
var i = str.length;
for(var j=i; j>=0; j--) {
revStr = revStr+str.charAt(j);
}
if(str == revStr) {
alert(str+" -is Palindrome");
} else {
alert(str+" -is not a Palindrome");
}
}
</script>
<form >
Enter a String/Number: <input type="text" id="str" name="string" /><br />
<input type="submit" value="Check" onclick="checkPalindrome();"/>
</form>
</body>
</html>

Admin May 17, 2020

malayalam

Ques:- what is the purpose of using jsp?
Comments
Admin May 17, 2020

java server pages(jsp) helps a programmer to build dynamic web pages based on document type like html , xml etc ....
TO run a JSP program we should have servlet container(ie.,web server)like tomcat , web logic , jetty etc

Ques:- How do you handle offline functionality in a mobile app
Right Answer:
To handle offline functionality in a mobile app, implement local data storage using options like SQLite, Realm, or SharedPreferences. Use caching strategies to store data when online and sync changes when the device reconnects. Additionally, provide user feedback for offline status and ensure critical features are accessible without an internet connection.
Ques:- What tools do you use for debugging mobile apps
Right Answer:
I use tools like Android Studio's Logcat, Xcode's debugger, Chrome DevTools for web views, and third-party tools like Flipper or Firebase Crashlytics for debugging mobile apps.
Ques:- What is an APK file and how is it used
Right Answer:
An APK file (Android Package Kit) is the file format used by the Android operating system for the distribution and installation of mobile apps. It contains all the necessary components of an app, including code, resources, assets, and manifest file, allowing users to install the app on their Android devices.
Ques:- How do you manage state in mobile applications
Right Answer:
State in mobile applications can be managed using various methods such as:

1. **Local State Management**: Using component state in frameworks like React Native or local variables in native apps.
2. **Global State Management**: Utilizing libraries like Redux, MobX, or Context API for sharing state across components.
3. **Persistent Storage**: Storing state in local storage, SQLite, or using AsyncStorage for React Native to maintain state across app sessions.
4. **Server State Management**: Fetching and synchronizing state with a backend server using APIs.
5. **Navigation State**: Managing state related to navigation using libraries like React Navigation or native navigation components.
Ques:- How do you test mobile applications on different devices
Right Answer:
To test mobile applications on different devices, you can use the following methods:

1. **Real Device Testing**: Use physical devices to test the app on various screen sizes, operating systems, and hardware configurations.
2. **Emulators and Simulators**: Utilize emulators (for Android) and simulators (for iOS) to mimic different devices and test the app's functionality.
3. **Cloud Testing Services**: Leverage cloud-based testing platforms like BrowserStack or Sauce Labs that provide access to a wide range of devices and configurations.
4. **Automated Testing Tools**: Implement automated testing frameworks like Appium or Espresso to run tests across multiple devices efficiently.
5. **Manual Testing**: Conduct manual testing on key devices to ensure user experience and functionality are consistent.

By combining these methods, you can effectively test mobile applications across different devices.
Ques:- What is your roles& responsibilities?
Right Answer:
My roles and responsibilities include planning and organizing project activities, coordinating team efforts, managing resources and budgets, ensuring timely delivery of project milestones, communicating with stakeholders, and mitigating risks to achieve project goals.
Ques:- How to do five year planning and automatic forecast?
Right Answer:
To do five-year planning and automatic forecasting, follow these steps:

1. **Define Objectives**: Establish clear long-term goals and objectives for the organization.
2. **Data Collection**: Gather historical data and market research relevant to your industry.
3. **Trend Analysis**: Analyze historical data to identify trends and patterns that can influence future performance.
4. **Scenario Planning**: Develop different scenarios based on potential market changes, economic conditions, and internal factors.
5. **Forecasting Models**: Use statistical methods and forecasting models (like time series analysis or regression) to project future outcomes based on the collected data.
6. **Review and Adjust**: Regularly review forecasts against actual performance and adjust plans as necessary.
7. **Automation Tools**: Utilize software tools for data analysis and forecasting to automate the process and improve accuracy.

By following these steps, you can create a structured five-year plan with automated forecasting capabilities.
Ques:- What is your planning to complete the project successfully.
Right Answer:
To complete the project successfully, I will:

1. Define clear project goals and objectives.
2. Develop a detailed project plan with timelines and milestones.
3. Allocate resources effectively, ensuring the right skills are in place.
4. Establish a communication plan for regular updates and feedback.
5. Monitor progress closely and adjust the plan as needed.
6. Identify and manage risks proactively.
7. Foster teamwork and collaboration among all stakeholders.
Ques:- In what all ways can the repeal of PPF Act affect the interest of depositors?
Right Answer:
The repeal of the PPF Act can affect depositors by removing the guaranteed interest rates, reducing the safety of their investments, eliminating tax benefits, and potentially leading to lower overall returns on their savings.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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