Share-post- Placement Paper

Share & post >> Mastek >> Placement paper

Mastek

Paper Type : Candidate Experience
Paper Date : 2010-07-31
Location : Mumbai

Paper Content :

Section 1 C/C++
Question 1 Operator overloading
ExCEPTION CASE FOR OPERATOR OVERLOADING
A).*
B)?:
C)::
D)All of these
Ans D)(Balaguruswami Chapter 1,2,3,4 or 5)

Section 2 Algo
*One Algo is for the reversing the answer(v he given the value of n=245 so ans 542)
*One Answer is 1400 But it is not in the option (a-1100 b-1460 c-1490 d-1435 So i thick on a i m confident on my answer i checked its twice)
*One Flow Chart
*0
00
010
0120
Find the algo for print this
*
Section 3 DBMS
*Please prepare of its basic
only Basic Questions
like keys
Section 4 20 QUESTION ENGLISH(READING COMPREHNSION 2 1-EASY(ALL ANSWER IN THE PASSAGE) AND 1I M NOT READ IT)
Section 5 Apti Prapare from R S Agrawal (They chabge the name comes in the but they didn\'t change the values like Ram age is 35 years change to garima age is 35 so prepare well from R S Agrawal )
5 quetion related painters(Concept of Venn Diagram)
5 question from the give data
* for 1 and $ for 0
oooo = o than its $
0001 = 1 than its *
0010 = 2 than its *$
0011 = 3 than its **

In question they give a number and ask for the *And$ representation simply convert the number in its binary form and than use * for 1 and $ for 0
Ex: 4 = 100 than *$$ (Note The number is not 4 it is 256 or some thing like that)

**$$***$ than which muner it is represent
11001110 = 1*2^7+1*2^6+0*2^5+0*2^4+1*2^3+1*2^2+1*2^1+0*2^0=128+64+8+4+2=200

some thing like this
Section 6 (Only 5 questions)
v have 2 stacks one for class A and Second For Class B
in which v fill the student name and theirs weight

Satck 1 Stack 2
xyz1 55kg abc1 20kg
xyz2 40kg abc2 40kg
xyz3 45kg abc3 30kg

top of stack top1=-1 top of stack top2= -1 if both the stacks are empty
Q86-A PROGRAM FOR ARRANGING THIS TWO STACKS
A)code 1
B)code 2
C)code 3
D)code 4
Sorry forgot the coding

Q87 A PROGRAM FOR ENTER A NEW STUDENT TO ITS CORRECT POSITION IN THE STACK
A)code 1
B)code 2
C)code 3
D)code 4

Q88 A PROGRAM I GIVEN THAN THEY ASK FOR THE RESULT
Ans
Satck 1 Stack 2
xyz2 40kg abc1 20kg
xyz3 45kg abc3 30kg
xyz1 55kg abc2 40kg

Q89 A PROGRAM TO FIND THE NUMBER OF STUDENTS IN BOTH THE CLASS
function noofstudents
{
select from the options
}
A)return(top1+top2)
B)return(top1+top2+2)
C)return(top1+top2-2)
D)return(top1+top2+1)
Ans B(Check it)

Q90 A program to find the average weight on both the class
A)(SUM1+SUM2)/(TOP1+TOP2+2)
B)(SUM1+SUM2)/(TOP1+TOP2)
C)(SUM1+SUM2)/(TOP1+TOP2-2)
D)None of This
Bookmark and Share

Comments

Back
All posts in this section are posted by independent users and represent only sample information. Please do not consider it as official post from Rangrut.com or Concern Company. Rangrut [Information] services India possess no liability on information posted on this page. If you think its being posted here inappropriately, kindly mail us on admin@rangrut.com to moderate and delete it for future.