• 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

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

(#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

(#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
Advertisements

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

Which of the following statements is/are correct regarding inheritance in Java?

A. Private methods cannot be overridden.
B. Inherited classes are not accessible outside a package.
C. Protected methods are final while private methods are not.

1) Statement A is wrong
2) Statement B is wrong
3) Statement C is correct
4) Statement B is correct but Statement C is wrong.

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

(#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

(#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

(#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

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

Which of the following statements is/are correct about Application Object?

A. The application object is created whenever an Android component starts.
B. The application object starts in a new process with a unique ID under a unique user.
C. The application obejct starts before any components and runs at least as long as another component of the application runs.

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

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

(#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

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

Which of the following statements is/are false about Services in Android?

A. Services are used for repetitive and potentially long running operations such as Internet downloads.
B. Services are less likely to be terminated by the Android system.
C. Services cannot be assigned higher priority than Foreground activities.

1) Only B
2) Only C
3) B and C
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
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

If two wrongs don't make a right, try three.

Unknown

Language is remarkable, except under the extreme constraints of mathematics and logic, it never can talk only about what it's supposed to talk about but is always spreading around.

Raju Sharma

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