Monday, January 21, 2008

Hcl C C++ PLACEMENT PAPERS

SECTION.C (PRG SKILLS)

(1) STRUCT DOUBLELIST { DOUBLE CLINKED INT DET; LIST VOID STRUCT PREVIOUS; BE GIVEN AND A PROCEDURE TO DELETE STRUCT NEW; AN ELEMENT WILL BE GIVEN } DELETE(STRUCT NODE) { NODE-PREV-NEXT NODE-NEXT; NODE-NEXT-PREV NODE-PREV; IF(NODE==HEAD) NODE } IN WHAT CASE THE PREV WAS 

(A) ALL CASES (B) IT DOES NOT WORK FOR LAST ELEMENT (C) IT DOES NOT WORK FOR----- 

(2) SIMILAR TYPE QUESTION ANS: ALL DON'T WORK FOR NON NULL VALUE 

(3) VOID FUNCTION(INT KK) { KK+=20; } VOID FUNCTION (INT K) INT MM,N=&M KN = K KN+-=10; } 

SECTION D

(1) a=2,b=3,c=6 c/(a+b)-(a+b)/c=? 

(2) no.rep in hexadecimal, write it in radiv 7 

(3) A B C D E * 4 ---------- find E 

ANS: 13 E D C B A ------------ 

(4) GRE-MODEL TEST-1, SECTION-6(19-22) 

(5) M HAS DOUBLE AMOUNT AS D, Y HAS RS. 3 MORE THAN HALF OF AMOUNT OF D THE ORDERING A,B,C M C D C Y ANS:DATA INSUFFICIENT D C M C Y 

(6)IN STASTIC MEN CAUSE MORE ACCIDENTS THEN ONE CONCLUSION 
(A) MEN DRIVE MORE THAN ONCE (B) STASTICS GIVE WRONG INFORMATION (C) WOMEN ARE CAUTION THAN ME ANS; C(VERIFY) (D)-----ETC 

(7) P,Q,R,S,T,U -SECURING GRANT;TWO TOURIST PARTIES AND THEN TWO SECURITY GAURDS SHOULD GO WITH EACH PARTY P AND R-ARE ENEMIES, Q DOES NOT GO SOUTH P&S-ARE WILLING TO BE TOGETHER THE TWO PARTIES MAY GO SOUTH&NORTH RESPECTIVELY AT ONE POINT EACH MAY PASS EACH OTHER THEN GAURDS CAN EXCHANGE 6 Q BASED ON THIS

(8)pq-r/s =2 what is q inference a,n&d 
(a) a can do n units of work in strs,a&b can do n units of work in 2 hrs in how many hrs n units of work ans:3 hr 30 min p = (2s+r)/q ____________ main() { int var=25,varp; varp=&var; varp p = 10; fnc(varp) printf("%d%d,var,varp); } 
(a) 20,55(b) 35,35(c) 25,25(d)55,55 

[ c++,c,dbms interview] [fundamentals] application -software

part-1: 28-questions
 

(5)ingless ans:RDMS 

(1)bit program-ans d 
(2)c ans
(3)+ 0 ans 
(4)00p--ans linking 
(5)------ 
(6)------- 
(9)25--45 even no. ans--10 
(10) 10 <100 ---ans=n+9 
three. I have answers for Q/A paper. For Q/C you should try for answers.