Interview Questions

Q:

What is the main reason of using process lifecycle in Android?

Answer

The android system will keep all the process that are hosting the services together at one place till the time the service is not started or connected to the client. The priority of the process is divided when running low on memory or when the process has to be killed. The process lifecycle is as follows:
- The service is running currently then the methods onCreate(), onStartCommand(), and onDestroy()methods, will run in the foreground to execute the process without being killed.
- The service is already started then the process can be considered as less important then the processes that are currently visible and used. This is done as there are only few processes that are visible to the users on the screen.
- The clients are bounded to the services they are providing requires more priority in the execution list.
- The service that is started uses startForeground(int, Notification)API to allow all the services to run in the foreground state. The system considers only the services where the user is still active as the services not to be killed.

Report Error

View answer Workspace Report Error Discuss

1 2057
Q:

What are the events in ABAP language?

Answer

1. Initialization
2. At selection-screen
3. Start-of-selection
4. End-of-selection
5. Top-of-page
6. End-of-page
7. At line-selection
8. At user-command
9. At PF
10. Get
11. At New
12. At LAST
13. AT END
14. AT FIRST


1. Initialization
2. At selection-screen
3. Start-of-selection
4. End-of-selection
5. Top-of-page
6. End-of-page
7. At line-selection
8. At user-command
9. At PF
10. Get
11. At New
12. At LAST
13. AT END
14. AT FIRST - See more at: https://www.aired.in/2010/06/part-6-sap-abap-interview-questions-and.html#sthash.q4iDHrxe.dpuf
Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

0 2057
Q:

With YouTube Analytics, you can track metrics on

A) TrueView ad skip rates B) Playback locations
C) Cost-per-channel visit D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

With YouTube Analytics, you can track metrics on Playback locations. Playback locations gives you how many views your channel got and what videos they watched. 

 

With_YouTube_Analytics,_you_can_track_metrics_on1554273173.jpg image

 

With YouTube Analytics we can Find out who's watching, what they like to watch, and which videos could make you the most money.

Report Error

View Answer Report Error Discuss

4 2056
Q:

How do you calculate gratuity?

Answer

Gratuity is paid to all such employees after their resignation or retirement.Incase of resignation gratuity is paid to such employees who have completed 5 years of service.


Calculation of gratuity = Basic + DA x (15/26) x Total no. yrs service


15- Half month


26- Excluding 4 sundays

Report Error

View answer Workspace Report Error Discuss

1 2056
Q:

The first step in the marketing research process is to

A) Decide Research Approach B) Develop Research Plan
C) Define the Problem D) Collect Relevant Data and Information
 
Answer & Explanation Answer: C) Define the Problem

Explanation:

Marketing Research Process is a systematic method for planning and executing market research projects to inform business decisions.

 

The 5 Step Marketing Research Process :

 

  1. Define the Problem or Opportunity
  2. Develop Your Research Plan
  3. Collect Relevant Data and Information
  4. Analyze Data and Report Findings
  5. Take Action.
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

0 2055
Q:

The interest-rate effect suggests that

A) an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending. B) a decrease in the supply of money will increase interest rates and reduce interest-sensitive consumption and investment spending
C) an increase in the price level will decrease the demand for money, reduce interest rates, and increase consumption and investment spending. D) an increase in the price level will increase the demand for money, reduce interest rates, and decrease consumption and investment spending.
 
Answer & Explanation Answer: A) an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2055
Q:

What is difference between Path and Classpath?

Answer

Path and Classpath are operating system level environment variales. Path is used define where the system can find the executables(.exe) files and classpath is used to specify the location .class files.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2053
Q:

How to create a file on the hard disk by using File class object?

Answer

We can use the following method call:


boolean createNewFile();


This method creates a new file on the HD. 


 


If a file is already existing with the name given in the constructor then this method does not creates file on HD.


If file is successfully created then this method returns true.


If file is already existing on the HD then this method returns false.


This method may throw IOException whenever IO error is generated while creating file on HD.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2050