c)The Ayes won more games than the Bees.
d)Anyone who lost game did not play the subsequent game.
Who did not lose a game?
Ans.Mrs.Bee did not lose a game.
7.Three piles of chips--pile I consists one chip, pile II consists of chips, and pile III
consists of three chips--are to be used in game played by Anita and Brinda.The
game requires:
a)That each player in turn take only one chip or all chips from just one pile.
b)That the player who has to take the last chip loses.
c)That Anita now have her turn.
From which pile should Anita draw in order to win?
Ans.Pile II
8.Of Abdul, Binoy, and Chandini:
a)Each member belongs to the Tee family whose members always tell the truth
or to the El family whose members always lie.
b)Abdul says ''Either I belong or Binoy belongs to a different family from the
other two."
Whose family do you name of?
Ans.Binoy's family--El.
Section B
C programs are asked in this section
1.Write a program to insert a node in a sorted linked list.
2.Write a program to implement the Fibonacci series.
3.Write a program to concatenate two circular linked lists into a single circular list.
4.A function even_odd_difference()passes the array of elements.Write a program
to calculate the difference of the two sums of which one sum adds the elements
of odd ones and another adds the elments of even ones.
5.Write a program to reverse a linked list.
Section C
Questions on C++ are asked here
Base class has some virtual method and derived
class has a method with the same name. If we initialize the base class pointer
|
|