• 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 2

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

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

Which of the following methods is/are called only once throughout the Android Activity Lifecycle?

1) onDestroy and onStop
2) onDestroy and onStart
3) onStart and onStop
4) onDestroy and onCreate

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

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

Bob, and Android programmer, wants to set trigger to Alarm of his Android phone after three days.
What would Bob do to achieve this?

1) Bob would use AlarmManager and call set() method to set after three days. Even if the phone switches off in between the alarm would ring.
2) Bob would use AlarmManager and call set() method to set after three days. Before switching the phone off Bob would maintain all the alarm details in the database and recreate it after switching it on.
3) Bob has to do nothing as Android takes care of automatic Alarm Triggering events
4) Since all alarm details will get killed after phone gets switched off. what Bob is trying to achieve is not possible.

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

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

Which of the following is not a feature of Andorid's Service?

1) It has no User Interface
2) A service is bound to the lifecycle of an actvity
3) It runs in the background without direct interaction with the user
4) none of the given options

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

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

Which of the following is true about 'Killable After property" of Activity Lifecycle's callback methods?
A. onDestroy is Killable
B. An activity is killable from the time onPause() returns to the time onResume() is called
C. onStop method is killable
D. onResume is not killable while onPause is killable

1) A, B and C
2) A, B and D
3) A, C and D
4) B, C and D

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

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

What will be the output of the following code?
category android:name = "android.intent.category.DEFAULT"/>

1) compile time error
2) runtime error
3) runs successfully
4) none of the above

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

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

Identify the correct inference from this piece of code:

public void onClick(View v){
new Runnable(){
public void run(){
Bitmap b = loadImageFromNetwork();
mImageView.setImageBitmap(b);

}
}).start():}

1) Here ImageView is manipulated on a worker thead which can cause really weird problems. Tracking down and fixing such bugs can be difficult and time consuming.

2) Here ImageView is manipulated on main thread. which is efficient & less time consuming.

3) Here ImageView is manipulated on main thread, which is asynchronous but time consuming.

4) Here ImageView is manipulated on a main thread, but this can cause weird problems. Tracking down and fixing such bugs can be difficult and time consuming.

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

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

Which log has the highes priority?

1) Log.i
2) Log.v
3) Log.w
4) Log.d

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

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

In Which of the following situations is it best to use Singleton?

1) If an object has READ_ONLY state (all attributes are final)

2) If an obejct does not have any state (say, no attributes, only methods)

3) If an object has shared state (attributes are present, but those are modified by many of the other objects)

4) All of the given options

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

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

Which of the following is a layout Manager?
A. Framelayout
B. ScrollView
C. LinearLayout
D. GridLayout

1) Only A & B
2) Only B
3) Only A, C, D
4) Only C & D

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

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

The following syntax is used to implement loader class in Android getLoaderManager().initLoader(0,null,this);

Which of the following is correct about parameters taken by initLoader method?

1) first parameter: Unique Id
second parameter: A Bundle
third parameter: Callback class

2) first parameter: Unique Id
second parameter: CallBack class
third parameter: A bundle

3) first parameter: Callback class
second parameter: Unique id
third parameter: A bundle

4) None of the given options

Asked In Sapient Ashish (8 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (2)   (1) 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

EVERY IDIOT CALLS A MATHEMATICIAN A IDIOT BECAUSE THEY CAN'T MEASURE THEIR INTELLIGENCE.

Jayanth Eric

If you think dogs can't count, try putting three dog biscuits in your pocket and then giving tommy only two of them.

Phil Pastoret

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