• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • Sapient

Frequently Asked Sapient Placement Papers with Solution Page 4

Sapient Select Another Category Select Another Topic

Company

  • 3i-Infotech 345
  • Accenture 548
  • ADITI 81
  • Athenahealth 72
  • CADENCE 37
  • Capgemini 519
  • CMC 49
  • Cognizant 29
  • CSC 480
  • CTS 1340
  • Dell 49
  • Elitmus 44
  • GENPACT 516
  • Google 55
  • HCL 217
  • Hexaware 92
  • Huawei 81
  • IBM 1714
  • IGate 169
  • Infosys 2050
  • L&T 299
  • Microsoft 61
  • Miscellaneous 204
  • Oracle 74
  • Other 95
  • Patni 199
  • Sapient 44
  • Sasken 31
  • Self 38
  • Syntel 530
  • TCS 9109
  • Tech Mahindra 500
  • Wipro 1182

Sapient Question Topics

    Programming (44)

  • Basics (1)
  • Database (1)
Keep an EYE (0)
Solved Question (0) UnSolved Question (44)
Pages: 5FirstPrev12345NextLast
Advertisements

(#M40158127) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

Following is the list of Activity Lifecycle methods along with the next method that can be invoked in the Activity Lifecycle. Which of the following options is/are correct?

1) onCreate() --> onStart()
2) onRestart() --> onStart()
3) onDestroy() --> No method is called
4) All of the given options

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40158129) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

The following code snippet will create a new alarm in Android. In order to invoke the ACTION_SET_ALARM intent, your app must have the SET_ALARM permission. Which of the followinig options correctly sets the SET_ALARM permission?

public void createAlarm(String message, int hour, int minutes){
Intent intent = new Intent(AlarmClock.ACTION_SET_ALARM)
.putExtra(AlarmClock.EXTRA_MESSAGE, message)
.putExtra(AlarmClock.EXTRA_HOUR, hour)
.putExtra(AlarmClock.EXTRA_MINUTES, minutes);

if(intent.resolveActivity(getPackageManager()) != null){
startActivity(intent);
}
}

1)
2)
3)

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Advertisements

(#M40158130) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following statements about the content provider component of Android systems is/are correct?

A. Intents can be used to start a content provider.
B. Intents cannot start a content provider.
C. Content provider supports shared preferences.

1) Statement C is incorrect
2) Both the statements B and C are incorrect
3) Statement B is correct
4) All the statements are wrong

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40158134) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

What should be the access specifiers for function Bob() in the following code snippet so that the program doesn't get compiler error?

class Base{
---1--- void Bob(){}
}

class Derived extends Base{
---2--- void Bob(){}
}

public class Main{
public static void main(String args[]){
Derived d = new Derived();
}
}

1) 1=public 2=protected
2) 1=public 2=private
3) 1=private 2=public
4) 1=private 2=protected

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40158137) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following funcations would return layout of a fragment, assuming that funcation is implemented in the fragment class?

1) onCreate()
2) onFragmentView()
3) onView()
4) onCreateView()

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (2) Submit Your Solution

(#M40158138) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

To create a fragment, which of the following options holds true?

1) Extend android.app.Fragment class
and create using code snippet below
public class Fragment_Name extends Fragment{
.....

2) Extend android.app.FragmentClass class
and create using code snippet below:
public class Fragment_Name extends Fragment{
....

3) Extend android.app.Fragment class
and create using code snippet below:
public class Fragment_Name extends FragmentClass{
....

4) None of the given options

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40158139) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following sequences of Fragment lifecycle methods is correct?

1) onAttach() --> onStart() --> onCreate() --> onCreateView() --> onActivityCreated() --> onResume()

2) onAttach() --> onCreate() --> onStart() --> onCreateView() --> onActivityCreated() --> onResume()

3) OnAttach() --> onCreate() --> onCreateView() --> onActivityCreated() --> onStart() --> onResume()

4) onAttach() -->onStart() --> onCreate() --> onActivityCreated() --> onCreatedView() --> onResumse()

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40158146) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

Answer the statements which are correct about Handler class

A. A handler object registers itself with the thread in which it is created.
B. The data which can be posted via the Handler class cannot be an instance of the Message or the Runnable class.
C. A Handler is particulary useful if you want to post data multiple times to the main thread

1) A and B
2) B and C
3) C and A
4) All of the given options

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (3) Submit Your Solution

(#M40158132) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

In Java______ is related to compile time polymorphism, while______ is related to run time polymorphism.

1) Overloading, inheritance
2) Inheritance, Overriding
3) Overloading, Overriding
4) Overriding, Overloading

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (2)   (0) Submit Your Solution

(#M40158103) SAPIENT QUESTION Android Keep an EYE Keep an eye puzzle Keep an eye puzzle

locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,0,0,locationListener)
In this line of code, what is the use of the second and third parameter?

1) These are used to control the frequency at which the listener receives updates.
2) These are used to specify the number of location providers.
3) Both of the above
4) None of the above

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Keep an EYE (0)
Solved Question (0) UnSolved Question (44)
Pages: 5FirstPrev12345NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

Sometimes it is useful to know how large your zero is.

Unknown

If a problem arise in your mind take help your best friend "mathematics.

yash singh

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com