Sie sind auf Seite 1von 6

5/29/2019 Placement Papers Planet: Sopra Steria Aptitude Questions - Type 1 - Question 1

More Create Blog Sign In

Placement Papers Planet


Home Contact Me

Tweet WEDNESDAY, 4 OCTOBER 2017 Follow @PlacementPlanet

Sopra Steria Aptitude Questions - Type 1 - Question 1


PLACEMENT SUBSCRIBE TO
PAPERS
Q1. The following algorithm adds the numbers in box no. 1,2,3,4,5 and puts the sum in box Posts
HCL (3) number 8. For this to happen what
Sopra (5) should be the minimum value in box number 11. Comments

Sopra Steria (5) (n) means box number n.


Sopra Steria Aptitude 1 2 3 4 5 6 7 8 9 10 11 POPULAR POSTS
Questions (5) 12
Sopra Steria
Sopra Steria 2 4 3 7 9 0 1 2 4 1 1 Aptitude
Placement Papers (5) Questions - Type
1 - Question 1
Q1. The following
BLOG ARCHIVE Step1: Initialization: Put 0 in box number (8).
algorithm adds the numbers in
October (5) Step2: Put 0 in box number (11). box no. 1,2,3,4,5 and puts the
Step3. Add: Add number in box (8) and no. in box (1) and put sum in box number 8. For this to
March (3)
the result in box (8). happen what should be th...
Step4: Add: no. in box (11) +2 and put the sum in box number
Placement Procedure at Sopra
FOLLOWERS (11).
Steria
Followers (30) Next Step 5: Check if no. in box (11) > 0 & it is divisible by 5 About Sopra Sopra was
Step6:Change instruction 3: Increase the second box number founded in 1968. It is one of
in step 2 by 1. Europe's longest established IT
services company Sopra is a
leader in Eu...

Sopra Steria
Aptitude
Questions - Type
2 - Question 1
Following two
Questions are based on the
same data: (n)= no. in box 1
Q1= If the output of the following
algo is box C. Then whic...
Solution :

These types of problems can be easily solved by following the algorithm steps .
Follow The initial values in the boxes are :

1 2 3 4 5 6 7 8 9 10 11 12
2 4 3 7 9 0 1 2 4 1 1

We can consider the collection of boxes as an array. So the contents of the array are :
A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11]
A[12]
2 4 3 7 9 0 1 2 4 1 1

Now initially after Step 1 & Step 2, the values in the array are :
A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12]
2 4 3 7 9 0 1 0 4 1 0 1

From here the iteration starts until the number in box (11) > 0 & it is divisible by 5. We can
rewrite the condition as :
(A[11] > 0) && (A[11] % 5 == 0)

Iteration 1 :
Step 3 : Add the number in box (8) and number in box (1) and put the result in box (8).
This is can be well understood as :
A[8] = A[8] + A[1]
= 0 +2
A[8] = 2
Follow
Step 4 : Add number in box (11) and 2 and put the sum in box (11).
i.e. A[11] = A[11] + 2
FOLLOW BY EMAIL
placementpapersplanet.blogspot.com/2012/02/sopra-aptitude-paper-1.html 1/6
5/29/2019 Placement Papers Planet: Sopra Steria Aptitude Questions - Type 1 - Question 1
FOLLOW BY EMAIL
= 0 +2
A[11] = 2
Email address...
Step 5 : Check if (A[11] > 0) && (A[11] % 5 == 0) then EXIT.
Submit
Here the condition is not fulfilled hence the algorithm controls move to Step 6.
Delivered by FeedBurner

Step 6 : Increase the second box number in step 2 by 1.


In this step, we are changing step 3.Now the second box number will be (2).
So the step 3 becomes A[8] = A[8] + A[2].

The array after iteration 1 becomes :


A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12]
2 4 3 7 9 0 1 2 4 1 2 1

Iteration 2 :
Step 3 : A[8] = A[8] + A[2]
A[8] = 6

Step 4 :. A[11] = A[11] + 2


A[11] = 4

Step 5 : if (A[11] > 0) && (A[11] % 5 == 0) = FALSE


Hence the control moves to next step.
Step 6 : Now the second box number will be (3).
Step 3 becomes A[8] = A[8] + A[3].

The array after iteration 2 is :


A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12]
2 4 3 7 9 0 1 6 4 1 4 1

Iteration 3 :
Step 3 : A[8] = A[8] + A[3]
A[8] = 9

Step 4 : A[11] = A[11] + 2


A[11] = 6

Step 5 : if (A[11] > 0) && (A[11] % 5 == 0) = FALSE.


Hence the control moves to next step.

Step 6 : Now the second box number will be (4).


Step 3 becomes A[8] = A[8] + A[4].

The array after iteration 3 is:


A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12]
2 4 3 7 9 0 1 9 4 1 6 1

Iteration 4 :
Step 3 : A[8] = A[8] + A[4]
A[8] = 16

Step 4 : A[11] = A[11] + 2


A[11] = 8

Step 5 : if (A[11] > 0) && (A[11] % 5 == 0) = FALSE.


Hence the control moves to next step.

Step 6 : Now the second box number will be (5).


Step 3 becomes A[8] = A[8] + A[5].

The array after iteration 4 is :


A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12]
2 4 3 7 9 0 1 16 4 1 8 1

Iteration 5 :
Step 3 : A[8] = A[8] + A[5]
A[8] = 25

Step 4 : A[11] = A[11] + 2 Follow


A[11] = 10
FOLLOW BY EMAIL
placementpapersplanet.blogspot.com/2012/02/sopra-aptitude-paper-1.html 2/6
5/29/2019 Placement Papers Planet: Sopra Steria Aptitude Questions - Type 1 - Question 1
FOLLOW BY EMAIL
Step 5 : Check if (A[11] > 0) && (A[11] % 5 == 0) = TRUE.
Now the iterations stops and the algorithm stops.
Email address...
The final array after iteration 5 becomes :
Submit
A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12]
Delivered by FeedBurner
2 4 3 7 9 0 1 25 4 1 10 1

------------------------------------------------------------------------------------------------------------

Answer

Numbers in box (8) = 25


Number in box (11) = 10

------------------------------------------------------------------------------------------------------------

Posted by Unknown at 23:52

Labels: Sopra, Sopra Steria, Sopra Steria Aptitude Questions, Sopra Steria Placement Papers

33 comments:

PlacementPapersPlanet 28 February 2012 at 10:52


I will post the answers later ...
Till then post your answers in comment
Reply

Replies

sakshi's kitchen 18 May 2012 at 13:52


please answer these question and can u tell me any book from which i can preapre
these rype of question

sakshi's kitchen 18 May 2012 at 13:54


can u tell me any book from wich i acn prepare these type of questions

Reply

Anonymous 28 February 2012 at 10:54


k..
Reply

Nilesh Mishra 28 February 2012 at 11:26


great work
Reply

Vimal Raj Sharma 28 February 2012 at 23:09


05
Reply

Anonymous 14 March 2012 at 19:57


can sumbode tell about first technical paper of sopra group india
Reply

PlacementPapersPlanet 15 March 2012 at 00:34


In technical paper mostly the Data Structures is asked....and particularly Linked List and Binary
trees
Reply

Replies
Follow

Anonymous 15 March 2012 at 14:15


FOLLOW BY EMAIL
placementpapersplanet.blogspot.com/2012/02/sopra-aptitude-paper-1.html 3/6
5/29/2019 Placement Papers Planet: Sopra Steria Aptitude Questions - Type 1 - Question 1
FOLLOW BY EMAIL
ok bt i want to ask d ques was direct or prograaming related????

Email address...
Anonymous 15 March 2012 at 14:17
Submit
ok bt i want to ask...questions wer direct or programming related???/can u gyv any
xamle Delivered by FeedBurner

PlacementPapersPlanet 15 March 2012 at 23:38


Algorithms.. Like a Algo is given and you will have to find the error/ modify the algo

PlacementPapersPlanet 15 March 2012 at 23:40


So these questions are programming related...and if you are Good in DS concepts
you can easily do them

Reply

Incognito-Man 15 March 2012 at 18:52


Is the sopra paper tough for ECE students?
Reply

Incognito-Man 15 March 2012 at 18:53


Is the sopra technical paper difficult for ECE people?
Reply

Replies

PlacementPapersPlanet 15 March 2012 at 23:41


If you have DS in your Syllabus and are good at concepts you can crack them

Reply

VIVEK DWIVEDI 19 April 2012 at 08:32


i didnt understand it ...
can anyone explain it plzzzzz....
kumarvivek36@gmail.com
Reply

Lzl A. 9 May 2012 at 17:34


Q1 - 5 ??
Q2 - 26 ??
Reply

Lzl A. 9 May 2012 at 17:35


Q1 - 5 ??
Q2 - 26 ??
Reply

Lzl A. 9 May 2012 at 18:17


my previous answer is 5-26.. then i saw the answer in your post 10-26 then i re-answer this
question.. i get 10-26.. i get the number 10 if "Step6:Change instruction 3: Increase the second
box number in step 2 by 1." the step 2 change to step 3 :)
Reply

Replies

Meghna Gupta 4 February 2013 at 20:12


Please explain properly. I didnt get you

Reply
Follow

FOLLOW BY EMAIL
placementpapersplanet.blogspot.com/2012/02/sopra-aptitude-paper-1.html 4/6
5/29/2019 Placement Papers Planet: Sopra Steria Aptitude Questions - Type 1 - Question 1
FOLLOW BY EMAIL
akky 12 May 2012 at 16:53
i also didnt uderstand please any one can help and any one have any last placement paper of
Email address...
sopra or example papar
Reply Submit

Delivered by FeedBurner

abhi 20 May 2012 at 21:53


Are these the same questions that are asked or you have just made sample questions..

Btw,, thanks for these..:)


Reply

Replies

PlacementPapersPlanet 24 May 2012 at 18:24


yeah.... these are the same questions...the algo is same only the data is
different....coz' i udn't remember the data exactly

Reply

abhi 20 May 2012 at 22:03


Ya please explain the question and answer in detail..
thanks..
Reply

PlacementPapersPlanet 24 May 2012 at 18:22


sorry guys...for a late reply...my sem xams were there...
Reply

Meghna Gupta 4 February 2013 at 19:45


provide me solution for this question
Reply

PlacementPapersPlanet 11 February 2013 at 00:15


@Meghna, Plz read this.
http://placementpapersplanet.blogspot.in/2012/05/solution-type-1-ques-no1.html
if u still have some problem. then lemme know.
Reply

karan kapur 14 June 2013 at 20:45


plz give me link to practice more q like these!!
ty:)
Reply

karan kapur 14 June 2013 at 20:45


plz post more q like these ty:)
Reply

Piyush Chaudhary 23 June 2013 at 08:58


the word minimum makes no sense.. it should be "What is the final value in box number 12?" ...
correct me if i am wrong :/
Reply

Replies

PlacementPapersPlanet S 24 June 2013 at 23:33


It is the same question paper as provided to me by a candidate..
Thanks for pointing out.. :)

Reply Follow

FOLLOW BY EMAIL
placementpapersplanet.blogspot.com/2012/02/sopra-aptitude-paper-1.html 5/6
5/29/2019 Placement Papers Planet: Sopra Steria Aptitude Questions - Type 1 - Question 1
FOLLOW BY EMAIL
SEO/SMO/SEM EXPERT | CONTACT 8802391993 19 February 2014 at 13:12
inditest.com is the good website portal about educations .It is the same question paper as
Email address...
provided to me by a candidate..
Submit
http://www.inditest.com/placement-papers/
Delivered by FeedBurner
http://www.inditest.com/government-jobs/
Reply

ASHISH NATHANI 15 December 2016 at 21:11


Can you please tell me source or book or any link from where I can get these kind of questions
Reply

Enter your comment...

Comment as: shivambln@gm Sign out

Publish Preview Notify me

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

TOTAL PAGEVIEWS CATEGORIES

8 4 7 3 8 HCLSopra Sopra Steria Sopra Steria Aptitude


Questions Sopra Steria Placement Papers

Picture Window theme. Powered by Blogger.

Blogger Widgets

Follow

FOLLOW BY EMAIL
placementpapersplanet.blogspot.com/2012/02/sopra-aptitude-paper-1.html 6/6

Das könnte Ihnen auch gefallen