Aptitude: 1) All the children were arranged in rows. all the rows containing equal no. of students.

what is the minimum amount for which they can transact? Choices :1.3. Ans: QRPSUT 9) Number of digits with a 2 in them between 100 and 400? Ans : 138 10) Bactria double every 3 mins.total number of Kms to be covered is 10000 and each tyre should run equally. R. Q.how may Kms does each tyre run? . It is N in 1 hour. U.6 Ans: 3 12) Out of the following numbers which is the greatest number when 7 times that number is < 100 1) 12 2) 13 3) 15 4) 14 Ans : 14 13)There is 31 days in the month of January.If there are two traders having enough change in the two denominations. Given that. Q is 2 less that P. If there is 4 Sundays and 4 Thursdays exactly.Ans : 18 kgs 8) There are 6 consecutive numbers P. when was it N/4? Ans : 54 minutes. P is 3 less that T and R is 2 less than S. What day is the first day of the month? a)Monday b)Tuesday c)Wednesday d)thursday ans: a) Monday. not necessarily in that order. 11) One day the Finance minister decides that the country should have only 33 paise and 56 paise. Please cross check the answer 14)there are 5 tyres including a spare tyre.2. arrange them in an ascending order. S. T.

I don't remember the question exactly.H are sitting in a round dining table.2) 4) Encapsulation a)Aggregation of member objects b)Aggregation of member functions c)Used to incorporate data hiding Ans: c) 5) Float_ptr = new float[100] In order to deallocate this memory use .2) Ans: c) (*g)(1.C.a 2.G.E.refer RS Agarwal seating puzzles.F.&a 3. Ans)I guess it is between A and F.2) c)(*g)(1.D. 15)a question with the same logic as question 6.I don't remember the question 16)8 persons A.I don't remember the order of the choices but the figures were like this a)7500 b)8000 c)8500 d) Ans: 8000.2) b)*g(1.*a Ans : a 3) How to pass two arguments to a function prompted to by function pointer a) g -> (1.It's very easy Language : C/C++ 1) which of the following is the correct declaration of a function pointer 2) how will u retrieve the value stored in pointer variable a 1.2) d)g(1.B.some arrangement was given and position of H was asked.

a)delete float_ptr b)delete [] float_ptr c)delete float_ptr [100] d)delete float_ptr [] Ans:b) 6) i = 12 int *p = &I.*p**p) Output a) 1144 b) 144144 c) O/p Error d) Junk Ans:c) 7) What is Virtual member function? 8) Cin. p/p. a = 1. Cout are a)Class b)Objects c)Methods d)Keywords Ans: objects 9) cout << ( cout << "Hello" )<< "World" Ans: HelloWorld 10) i=0. int b) { int temp. print ("%d %d". . swap(int a. b = 4.

i = 1.How many clicked only Home link (and 4 options ) 2..temp = a.is a . b = a.is a b) . } Output a)4 0 0 b)0 4 1 c)1 4 1 d)Error The questions is similar to this but am sure of the answer it is Ans: 4 0 0 11)difference between member function and a constructor? Ans: constructor cannot return value..which of the following describes the relationship? a) . (Im not sure) Eg: In a website which has three links of the total 142 surfers who visited the site 67 clicked home..implemented as d) ans : I guess .56 clicked signin and 45 clicked next. 12)class B is the subclass of class A. a = b.How many clicked only Signin link 3.6 clicked only home and signin but not next.. 1. c) .has a .How many did not click µonly home link¶ Ans 51 Ans 40 Ans 91 One Cube problem : worth 5 qs == 5 marks : .27 clicked only next link and 2 clicked all the three links.10 clicked home and next links.

How many block(s) have paint on all 4 sides 5. b)2nd Statement alone will give result. . The middle slice of wood is cut into 9 equal blocks. The first square is cut into 4 equal blocks. Then it is sliced into 3 squares of the same thickness.How many block(s) have paint on one side 2.A wooden cube is painted with black paint. a>c 2. The last slice is cut into 16 equal blocks 1. 1 Data Sufficiency Questions : Each bit has a µquestion¶ like is a > b ? With two statements 1.How many block(s) have no paint at all ANS 1.How many block(s) have paint on 2 sides 3. 12 3. 0 5.a2>b2 Options:a)1st Statement alone will give result.How many block(s) have paint on 3 sides 4. 8 4. 8 2.

1. Niziammudin a) 1&2 are same b) 2&3 are same c) all are same d)1 & 3 are same e)all are different ANS : e 0 is represented as * and 1 is represented as \$ as we move left the weight increases in power of 2 like 1 is represented as \$ . .u need to decide which two are similar or if all three are different or similar. 8849651 a) 1&2 are same b) 2&3 are same c) all are same d)1 & 3 are same e)all are different ANS: d 1.c)1st n 2nd Statement both will give result.. Attention To detail / data : Three numbers are given. 8849561 3.. Nizeamuddin 3. 8849651 2.. d)Results can not be obtained So the answer for the above example is d.Five questions were based on these : \$**\$\$** X \$*\$**\$* /\$**\$\$* = ? and four options in the same code ! SO be quick here«. Niziamuddin 2..3 as \$\$«« 4 as \$** This I feel is a bit time consuming.

After a brief presentation about the company we were informed that there next rounds will be Group Discussion and then Technical(& HR) Interview..Sunday at Convergys campus at hitech city. But didnt blindly mark all the questions..The next three sections are UNIX . GD We were divided in groups of 14 and were given 10 minutes to decide the topic by ourselves.RDBMS .. Few topics were Relevance of Chake de India Relevance of Munnabhai Gandhigiri in Todays generation Relevance of Rang De basanthi« .hyd. I took a look at the question and then chose the nearest answer. In C++ we can score above cut off with good knowledge in C programming«The cut off for non cse & IT students wil be lower Only 6 were selected from an approximately 160 students And I was one of them !!! INTERVIEW :---------The interview was conducted on 26 August .If the Judge did not like the topic or thought that they are too easy he shoots his own topic« Almost no topic was decided by the candidates.The panel itself gave the topic. C++ Programming Being a Electrical and Electronics Student I did not prepare for this section..

4.´ He was impressed and asked me to write a function to swap two numbers« Guys make note it¶s the function not just the logic «. He was cool..7. quickly?´ Like the question was ««.. He saw my CV and asked me to tell him about myself« Then he asked me if I knew C. I said I only know C so he asked me ³ Then how did you pass the written test ? By luck³ I answered well and he moved on and started on C Mr.8.I do Very well ?? No sir« Ok.X: Ok so u know C ? Yes sir.9} I said quickly ³ take the sum of all the numbers in the array and subtract the sum from 1-9 ie.3.rdbms sql «. C++ unix.9*10/2 = 45 and whatever is the difference .that number is repeated.TECHNICAL/HR INTERVIEW : My interviewer was MR.6.2.. Int A[10] = {1.u may or may not use the third variable or pointer« Among others were. .5. Expected no formalities.X The interview introduced himself and asked me to be seated.so only one number is repeated how will you find out repeated number. ³I give you an array of wch has 10 numbers from 1-9 .5.

Constructors. 1.(First Three Chapters Important.virtual functions in cpp 3.) Section 5: XZC++ Programming:------à15Q -------10 M In this Qusetions on 1. .Difference between structure and union ³ B/w class and structure Section 4: RDBMS. Keys in SQL 1. MERGE is a combination of a) INSERT AND DELETE b) UPDATE AND DELETE c) INSERT AND UPDATE Follow the Navathe Book on Data Base programming Concepts. } }.Pointer Classes in Cpp 2.Class Base { Base( ) { Cout<<´Base´.overloading 4. SQL------à10Q-----à10 M Questions on 1. Normalization 2.

4) DBMS--. void main( ) { Derived d. } }.Class Derived: public Base { Derived( ) { Cout<<´Derived´. } a)base b)base derived c)derived d)derived base.10q (10 min) All questions are very easy the questions are 1) Which statement is true to dbms? a) Collection of data b) Collection of interrelated data and set of programs to access that data c) Collection of inter related data no need of any programs d) Collection of data and set of programs Ans) b .

2) Values should dependant on primary key in which normal form? a) 1 NF b) 2nf c) 3nf d) 4nf Ans:b 3) Mathematical representation of joining tables ---------a) Union b) c) Cartesian product d) 4) A Question on view 5) Question on data objects and constraints 6) Use of normalization? a) Reducing redundancy b) little storage space c) ANS)d d) all the above 7) What r the types of joins below A) Interior & outer b) inner and outer joins c) d) Ans) b 5) C++ ---15 q(15 min) The code that could be written in which block to raise exceptions? A) Catch b) try c) finally d) none Ans) b 2) Some programs on pointers some tricky questions .

. city. Non-key attributes are not fully functionally dependent on the primary key (i. like this only) ans) c 5) Which of the following is true for constructor? a) b) c) d) constructor can not be inherited 1NF A relation R is in first normal form (1NF) if and only if all underlying domains contain atomic values only Example: 1NF but not 2NF FIRST (supplier_no. name 3} } Wt is the value of name 2 a) 0 b) 2 c) 1 d) 3 (this question is not full. part_no) p quantity (supplier_no) p status (supplier_no) p city city p status (Supplier's status is determined by location) Comments: Non-key attributes are not mutually independent (city p status). part_no. quantity) Functional Dependencies: (supplier_no.e.name 2. .3) By using which keyword we canâ¼t change value after initialization? a) Int b) c) d) const 4) Class one { enum {name1. namely supplier_no). status. status and city are dependent on just part of the key.

city) SUPPLIER_PART (supplier_no. quantity) 2NF A relation R is in second normal form (2NF) if and only if it is in 1NF and every non-key attribute is fully dependent on the primary key Example (2NF but not 3NF): SECOND (supplier_no. Anomalies: . city p status.Anomalies: INSERT: We cannot enter the fact that a given supplier is located in a given city until that supplier supplies at least one part (otherwise. we lose the information that the supplier is located in a particular city. UPDATE: The city value appears many times for the same supplier. DELETE: If we delete the last (only) row for a given supplier. status. Mutual dependence is reflected in the transitive dependencies: supplier_no p city. we would have to enter a null value for a column participating in the primary key C a violation of the definition of a relation). This can lead to inconsistency or the need to change many values of city if a supplier moves. part_no. Decomposition (into 2NF): SECOND (supplier_no. status. city) Functional Dependencies: supplier_no p status supplier_no p city city p status Comments: Lacks mutual independence among non-key attributes.

status) 3NF A relation R is in third normal form (3NF) if and only if it is in 2NF and every non-key attribute is non-transitively dependent on the primary key. A non-key attribute is any column which is not part of the primary key. Attribute Y is fully . city) CITY_STATUS (city. Decomposition (into 3NF): SUPPLIER_CITY (supplier_no. and 2) fully dependent on the primary key of R. UPDATE: The status for a given city occurs many times. Note that 3NF is concerned with transitive dependencies which do not involve candidate keys. DELETE: If we delete a supplier which happens to be the last row for a given city value. A 3NF relation with more than one candidate key will clearly have transitive dependencies of the form: primary_key p other_candidate_key p any_non-key_column An alternative (and equivalent) definition for relations with just one candidate key is: A relation R having just one candidate key is in third normal form (3NF) if and only if the non-key attributes of R (if any) are: 1) mutually independent. therefore leading to multiple updates and possible loss of consistency. An attribute C is transitively dependent on attribute A if there exists an attribute B such that: A p B and B p C. Two or more attributes are mutually independent if none of the attributes is functionally dependent on any of the others.INSERT: We cannot record that a particular city has a particular status until we have a supplier in that city. we lose the fact that the city has the given status.

part_no) p quantity (supplier_name. part_no) and (supplier_name. Thus we have two candidate keys: (supplier_no. but Y is not functionally dependent on any proper subset of the (possibly composite) attribute X For relations with just one candidate key. this is equivalent to the simpler: A relation R having just one candidate key is in third normal form (3NF) if and only if no non-key column (or group of columns) determines another non-key column (or group of columns) Example (3NF but not BCNF): SUPPLIER_PART (supplier_no. part_no) Thus we have the following dependencies: (supplier_no. . part_no) p supplier_no supplier_name p supplier_no supplier_no p supplier_name Comments: Although supplier_name p supplier_no (and vice versa). quantity) Functional Dependencies: We assume that supplier_name's are always unique to each supplier. supplier_no is not a non-key column ² it is part of the primary key! Hence this relation technically satisfies the definition(s) of 3NF (and likewise 2NF.functionally dependent on attribute X if X p Y. part_no) p supplier_name (supplier_name. part_no. part_no) p quantity (supplier_no. again because supplier_no is not a non-key column). supplier_name.

has multiple candidate keys.e. The following relation is in BCNF (and also in 3NF): SUPPLIERS (supplier_no. where 2. it is a bit more difficult to come up with meaningful examples. quantity) BCNF A relation R is in Boyce-Codd normal form (BCNF) if and only if every determinant is a candidate key The definition of BCNF addresses certain (rather unlikely) situations which 3NF does not handle. those candidate keys are composite. . zip) We assume that each supplier has a unique supplier_name. city. To be precise. have at least one common attribute) Example: An example of a relation in 3NF but not in BCNF (and exhibiting the three properties listed) was given above in the discussion of 3NF. and 3. we lose the supplier's name. UPDATE: If a supplier changes name. Thus many authors make a "fuzzy" distinction between 3NF and BCNF when it comes to giving advice on "how far" to normalize a design. Since it is so unlikely that a relation would have these characteristics. part_no.Anomalies: INSERT: We cannot record the name of a supplier until that supplier supplies at least one part. Since relations in 3NF but not in BCNF are slightly unusual. supplier_name) SUPPLIER_PARTS (supplier_no. so that supplier_no and supplier_name are both candidate keys. the candidate keys overlap (i. the definition of 3NF does not deal with a relation that: 1. in practical real-life design it is usually the case that relations in 3NF are also in BCNF.. The characteristics of a relation which distinguish 3NF from BCNF are given below. DELETE: If a supplier temporarily stops supplying and we delete the last row for that supplier. supplier_name. Decomposition (into BCNF): SUPPLIER_ID (supplier_no. that change will have to be made to multiple rows (wasting resources and risking loss of consistency).

. we lose the information that the supplier_no is associated with a given city. etc. there are none. 2000 ) . supplier_name) Larry Newcomer (Updated January 06. Transitive dependencies involving a second (or third. Note that even relations in BCNF can have anomalies. city. Decomposition: SUPPLIER_INFO (supplier_no. zip) SUPPLIER_NAME (supplier_no.) candidate key in addition to the primary key do not violate 3NF. The relation is also in 3NF since even though the non-primary-key column supplier_name determines the non-key columns city and zip.Functional Dependencies: supplier_no p city supplier_no p zip supplier_no p supplier_name supplier_name p city supplier_name p zip supplier_name p supplier_no Comments: The relation is in BCNF since both determinants (supplier_no and supplier_name) are unique (i. are candidate keys). UPDATE: Since supplier_name is a candidate key (unique).e. supplier_name is a candidate key. Anomalies: INSERT: We cannot record the city for a supplier_no without also knowing the supplier_name DELETE: If we delete the row for a given supplier_name. fourth.