Business Pro Creations
TradeFxP Interview Questions and Answers
Q1. Tell how to store multiple data in mobile without using Sqlite.
One way to store multiple data in mobile without using SQLite is by using SharedPreferences.
SharedPreferences can be used to store key-value pairs of data.
It is a lightweight storage option and is easy to implement.
Data can be stored as primitive types, strings, or sets.
Example: Storing user preferences, app settings, or small amounts of data.
Q2. what technique you will use increase app performance.
To increase app performance, I would use techniques like code optimization, caching, multithreading, and reducing network calls.
Optimize code by removing unnecessary operations and improving algorithms
Implement caching to store frequently accessed data locally
Utilize multithreading to perform time-consuming tasks in the background
Reduce network calls by batching requests or using local storage
Use tools like Android Profiler to identify performance bottlenecks
Q3. Tell life cycle of activity and fragment.
The life cycle of an activity and fragment in Android determines how they are created, started, resumed, paused, stopped, and destroyed.
Activity life cycle: onCreate(), onStart(), onResume(), onPause(), onStop(), onDestroy()
Fragment life cycle: onAttach(), onCreate(), onCreateView(), onActivityCreated(), onStart(), onResume(), onPause(), onStop(), onDestroyView(), onDestroy(), onDetach()
Activity and fragment life cycles can be used to manage the state and behavior of the UI c...read more
Q4. How activity life cycle works on mobile.
The activity life cycle in Android refers to the sequence of events that occur when an activity is created, paused, resumed, and destroyed.
Activities have different states such as onCreate, onStart, onResume, onPause, onStop, and onDestroy.
The activity transitions between these states based on user interactions and system events.
For example, when an activity is first created, the onCreate method is called, followed by onStart and onResume.
When the activity is no longer visibl...read more
Q5. Whar are different way to store data in android.
Different ways to store data in Android include SharedPreferences, SQLite database, Content Providers, and File system.
SharedPreferences: used to store key-value pairs
SQLite database: used for structured data storage
Content Providers: used for sharing data between applications
File system: used for storing files locally
Q6. Write the output of given left join.
The output of a left join operation.
A left join returns all the rows from the left table and the matching rows from the right table.
If there is no match, NULL values are returned for the right table columns.
The output will have all the columns from the left table and the matching columns from the right table.
Reviews
Interviews
Salaries
Users/Month