You are on page 1of 3

Aztec Sample Test Paper Home Back To Aztec Page Section A The following questions are taken from

the book--Puzzles & Teasers by eorge !" Summers"#e ha$e pro$i%e% you with a few questions so that you get a clear i%ea of the pattern" &"'ne of the following is my secret wor%(A)* +,- *'+ 'AT T)-"#ith the list in front of you. if ) were to tell you any one of my secret wor%. then you woul% be able to tell me the number of $owels in my secret wor%"#hich is my secret wor%/ Ans"T)0")n the following figure(A B 1 + - 2 H ) -ach of the %igits &. 0. 3. 4. 5. 6. 7. 8. an% 9 is( a:;epresente% by a %ifferent letter in the figure abo$e" b:Positione% in the figure abo$e so that each of A < B < 1.1 < + <-.- < 2 < . an% H < ) is equal to &3" #hich %igit %oes - represent/ Ans"- is 4 3"'ne of *r" Horton.his wife.their son.an% *r" Horton=s mother is a %octor an% another is a lawyer" a:)f the %octor is younger than the lawyer. then the %octor an% the lawyer are not bloo% relati$es" b:)f the %octor is a woman. then the %octor an% the lawyer are bloo% relati$es" c:)f the lawyer is a man. then the %octor is a man" #hose occupation you know/ Ans"*r" Horton(he is the %octor" 4"Here is a picture of two cubes(

<

a:The two cubes are e>actly alike" b:The hi%%en faces in%icate% by the %ots ha$e the same alphabet on them" #hich alphabet-q. r. w. or k is on the faces in%icate% by the %ots/ Ans"q 5")n the following figure( A B 1

+ 2

-ach of the se$en %igits from ?. &. 0. 3. 4. 5. 6. 7. 8. an% 9 is( a:;epresente% by a %ifferent letter in the figure abo$e" b:Positione% in the figure abo$e so that A@B@1.B@ @-. an% +@-@2 are equal" #hich %igit %oes represent/ Ans" represents the %igit 0" 6"*r" an% *rs" Aye an% *r" an% *rs" Bee compete% in a chess tournament"'f the three games playe%( a:)n only the first game werethe two players marrie% to each other" b:The men won two games an% the women won one game" c:The Ayes won more games than the Bees" %:Anyone who lost game %i% not play the subsequent game" #ho %i% not lose a game/ Ans"*rs"Bee %i% not lose a game" 7"Three piles of chips--pile ) consists one chip. pile )) consists of chips. an% pile ))) consists of three chips--are to be use% in game playe% by Anita an% Brin%a"The game requires( a:That each player in turn take only one chip or all chips from Aust one pile" b:That the player who has to take the last chip loses" c:That Anita now ha$e her turn" 2rom which pile shoul% Anita %raw in or%er to win/ Ans"Pile )) 8"'f Ab%ul. Binoy. an% 1han%ini( a:-ach member belongs to the Tee family whose members always tell the truth or to the -l family whose members always lie"

b:Ab%ul says ==-ither ) belong or Binoy belongs to a %ifferent family from the other two"B #hose family %o you name of/ Ans"Binoy=s family---l" Section B 1 programs are aske% in this section &"#rite a program to insert a no%e in a sorte% linke% list" 0"#rite a program to implement the 2ibonacci series" 3"#rite a program to concatenate two circular linke% lists into a single circular list" 4"A function e$enCo%%C%ifferenceD:passes the array of elements"#rite a program to calculate the %ifference of the two sums of which one sum a%%s the elements of o%% ones an% another a%%s the elments of e$en ones" 5"#rite a program to re$erse a linke% list" Section 1 Euestions on 1<< are aske% here Base class has some $irtual metho% an% %eri$e% class has a metho% with the same name" )f we initialize the base class pointer with %eri$e% obAect."calling of that $irtual metho% will result in which metho% being calle%/ a" Base metho% b" +eri$e% metho%"" Ans" b Almost all questions are of this kin%" o through $irtual functions concepts in 1<< an% how the pointers to functions woul% be han%le%"

Back to top

You might also like