HCL Placement Paper Collection Part II
-
Upload
manieswar89 -
Category
Documents
-
view
216 -
download
0
Transcript of HCL Placement Paper Collection Part II
-
8/7/2019 HCL Placement Paper Collection Part II
1/76
-
8/7/2019 HCL Placement Paper Collection Part II
2/76
8.value of (3^6)+(a ^a)=? (Ans. value=5)
9.x= b>8?b>1:b; (ans. x=3)
10.output:main() {int n=2;
printf(%d %d\n,++n,n*n); }a)3,6 b)3,4 c)2,4 d)cannot determine (ans.( b))
11.output:int x=0x65;
main() {char x;
printf(%d\n,x); }a) Compilation error b)A c)65 d)undefined
12.outputmain() {int a=10;int b=6;if(a=3)b++;
printf(%d %d,a,b++); }a)10,6 b)10,7 c)3,6 d)3,7 e)none
13.main() {
enum months {jan=1,feb,mar,apr};months x=jan;
if(x==1)printf(jan is the first month); }
a)does not print anything b)prints : jan is the first monthc)generates compilation error d)results in runtime error (ans. (c))
14.what is the output of the following program?
Main() {char *src=hello world;
char dst[100];strcpy(src,dst);
printf(%s,dst); }strcpy(char *dst,char *src) {while (*src) *dst++=*src++; }
a)hello world b)hello c)world d)NULL e)undefined (ans. (e))
15.main() {int i=6;
switch(i) {default: i+=2;
case 4;i=4;case 5:i++;
break; }printf(%d,i); }
a)8 b)6 c)5 d)4 e)none (ans. (c))
16.main() {
-
8/7/2019 HCL Placement Paper Collection Part II
3/76
int x=20;int y=10;
swap(x,y);printf(%d %d,y,x+2); }
swap(int x,int y) {int temp;temp=x;
x=y;y=temp; }
a)10,20 b)20,12 c)22,10 d)10,22 e)none
17.#define INC(x) x++main() {int x=4;
printf(%d,INC(x++)); }a)4 b)5 c)6 d)compilation error e)runtime error (ans.(d))
18.struct node{
char *word;int count;
struct node left;struct node right; };
a)incorrect definiton b)structures cannot refer to other structruesc)structures can refer to themselves. Hence the statement is ok
d)structures can refer to maximum of one other structure
19.what is the size of the following unionunion tag{
int a;float b;
char c; };
a)2 b)4 c)1 d)7 (ans.(b))
20. main() {char s[]=hello world;printf(%15.10s,s); }
a)hello,.world b)..hello world c)heloo,.wor.. d)none of the above (ans.(b))
Written Test
-
8/7/2019 HCL Placement Paper Collection Part II
4/76
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
Profile
HCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
-
8/7/2019 HCL Placement Paper Collection Part II
5/76
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
-
8/7/2019 HCL Placement Paper Collection Part II
6/76
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanisma) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
-
8/7/2019 HCL Placement Paper Collection Part II
7/76
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You canalso be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
-
8/7/2019 HCL Placement Paper Collection Part II
8/76
-
8/7/2019 HCL Placement Paper Collection Part II
9/76
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
-
8/7/2019 HCL Placement Paper Collection Part II
10/76
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowiddelete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
HCL Placement Paper Collection Part IIsection 2 C Programming
1.which of the following about the following two declarations is true
i) int *F();ii)int (*F)();
a)Both are identical b)the first is a correct declaration and second is wrongc)the first declaration is a function returning a pointer to an integer and the second is a pointer to a
functionreturning int
d)Both are different ways of declaring pointer to a function (ans. (c))
2.what are the values printed by the following program?#define dprintf(expr) printf("expr=%d\n,expr)
main() {int x=7;
-
8/7/2019 HCL Placement Paper Collection Part II
11/76
int y=3;dprintf(x/y); }
a)#2=2 b)expr=2 c)x/y=2 d)none (ans.( c))
3.which of the following is true of the following programmain() {char *c;int *ip;
c=(char *)malloc(100);ip=(int *)c;free(ip); }
a)the code functions properly by releasing all the memory allocatedb)results in compilation error as a pointer of various types cannot be equated
c)the program ties to free more memory than allocated and results in run time errord) works well except when the machine runs low on memory and malloc is unabel to allocate the
memory (ans. (d))
4.output?main() {
int i;char *p;i=0x89;
p=(char *)i;p++;
printf(%x\np); }a)0x8c b)0x4566788A c)0x8A d)0x8B e)none (ans. (c))
5.which of the following is not an ANSI C language keyword?
a)volatile b)function c)default d)const e)void (ans. (b))
6.when an array is passed as parameter to a function , which of the following statement is correctthe function can change values in the original array
in c parameters are passed by value the function cannot change the original value in the array
it results in compilation error.Array cannot be passed as a parameter to a functionresults in runtime error when the function tries to access the elements in the array
7.the type of the controlling expression of a switch statement cannot be of the type
a)int b)char c)short d)float e)none (ans.(d))
8.value of (3^6)+(a ^a)=? (Ans. value=5)
9.x= b>8?b>1:b; (ans. x=3)
10.output:main() {int n=2;
printf(%d %d\n,++n,n*n); }a)3,6 b)3,4 c)2,4 d)cannot determine (ans.( b))
11.output:int x=0x65;
main() {char x;
printf(%d\n,x); }a) Compilation error b)A c)65 d)undefined
-
8/7/2019 HCL Placement Paper Collection Part II
12/76
12.outputmain() {int a=10;int b=6;if(a=3)b++;
printf(%d %d,a,b++); }a)10,6 b)10,7 c)3,6 d)3,7 e)none
13.main() {
enum months {jan=1,feb,mar,apr};months x=jan;
if(x==1)printf(jan is the first month); }
a)does not print anything b)prints : jan is the first monthc)generates compilation error d)results in runtime error (ans. (c))
14.what is the output of the following program?
Main() {char *src=hello world;
char dst[100];strcpy(src,dst);
printf(%s,dst); }strcpy(char *dst,char *src) {while (*src) *dst++=*src++; }
a)hello world b)hello c)world d)NULL e)undefined (ans. (e))
15.main() {int i=6;
switch(i) {default: i+=2;
case 4;i=4;
case 5:i++;break; }
printf(%d,i); }a)8 b)6 c)5 d)4 e)none (ans. (c))
16.main() {int x=20;int y=10;
swap(x,y);printf(%d %d,y,x+2); }
swap(int x,int y) {int temp;temp=x;
x=y;y=temp; }
a)10,20 b)20,12 c)22,10 d)10,22 e)none
17.#define INC(x) x++main() {int x=4;
printf(%d,INC(x++)); }
-
8/7/2019 HCL Placement Paper Collection Part II
13/76
a)4 b)5 c)6 d)compilation error e)runtime error (ans.(d))
18.struct node{char *word;int count;
struct node left;struct node right; };
a)incorrect definiton b)structures cannot refer to other structruesc)structures can refer to themselves. Hence the statement is ok
d)structures can refer to maximum of one other structure
19.what is the size of the following unionunion tag{
int a;float b;
char c; };a)2 b)4 c)1 d)7 (ans.(b))
20. main() {
char s[]=hello world;printf(%15.10s,s); }
a)hello,.world b)..hello world c)heloo,.wor.. d)none of the above (ans.(b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
-
8/7/2019 HCL Placement Paper Collection Part II
14/76
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
Profile
HCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services includingTechnology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
-
8/7/2019 HCL Placement Paper Collection Part II
15/76
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer
(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
-
8/7/2019 HCL Placement Paper Collection Part II
16/76
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
usea) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
-
8/7/2019 HCL Placement Paper Collection Part II
17/76
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
Profile
HCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
-
8/7/2019 HCL Placement Paper Collection Part II
18/76
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary inIndia, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in(a) sessions layer (b) application layer (c) presentation layer
(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
-
8/7/2019 HCL Placement Paper Collection Part II
19/76
-
8/7/2019 HCL Placement Paper Collection Part II
20/76
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
HCL Placement Paper Collection Part IIsection 2 C Programming
1.which of the following about the following two declarations is true
i) int *F();ii)int (*F)();
a)Both are identical b)the first is a correct declaration and second is wrongc)the first declaration is a function returning a pointer to an integer and the second is a pointer to a
functionreturning int
d)Both are different ways of declaring pointer to a function (ans. (c))
2.what are the values printed by the following program?#define dprintf(expr) printf("expr=%d\n,expr)
main() {int x=7;int y=3;
dprintf(x/y); }a)#2=2 b)expr=2 c)x/y=2 d)none (ans.( c))
3.which of the following is true of the following program
main() {char *c;
int *ip;c=(char *)malloc(100);
ip=(int *)c;free(ip); }
a)the code functions properly by releasing all the memory allocatedb)results in compilation error as a pointer of various types cannot be equated
c)the program ties to free more memory than allocated and results in run time errord) works well except when the machine runs low on memory and malloc is unabel to allocate the
memory (ans. (d))
-
8/7/2019 HCL Placement Paper Collection Part II
21/76
4.output?main() {
int i;char *p;i=0x89;
p=(char *)i;p++;
printf(%x\np); }a)0x8c b)0x4566788A c)0x8A d)0x8B e)none (ans. (c))
5.which of the following is not an ANSI C language keyword?
a)volatile b)function c)default d)const e)void (ans. (b))
6.when an array is passed as parameter to a function , which of the following statement is correctthe function can change values in the original array
in c parameters are passed by value the function cannot change the original value in the arrayit results in compilation error.Array cannot be passed as a parameter to a functionresults in runtime error when the function tries to access the elements in the array
7.the type of the controlling expression of a switch statement cannot be of the type
a)int b)char c)short d)float e)none (ans.(d))
8.value of (3^6)+(a ^a)=? (Ans. value=5)
9.x= b>8?b>1:b; (ans. x=3)
10.output:main() {int n=2;
printf(%d %d\n,++n,n*n); }a)3,6 b)3,4 c)2,4 d)cannot determine (ans.( b))
11.output:int x=0x65;
main() {char x;
printf(%d\n,x); }a) Compilation error b)A c)65 d)undefined
12.outputmain() {int a=10;int b=6;if(a=3)b++;
printf(%d %d,a,b++); }a)10,6 b)10,7 c)3,6 d)3,7 e)none
13.main() {
enum months {jan=1,feb,mar,apr};months x=jan;
if(x==1)printf(jan is the first month); }
a)does not print anything b)prints : jan is the first month
-
8/7/2019 HCL Placement Paper Collection Part II
22/76
c)generates compilation error d)results in runtime error (ans. (c))
14.what is the output of the following program?Main() {
char *src=hello world;char dst[100];strcpy(src,dst);
printf(%s,dst); }strcpy(char *dst,char *src) {while (*src) *dst++=*src++; }
a)hello world b)hello c)world d)NULL e)undefined (ans. (e))
15.main() {int i=6;
switch(i) {default: i+=2;
case 4;i=4;case 5:i++;
break; }printf(%d,i); }
a)8 b)6 c)5 d)4 e)none (ans. (c))
16.main() {int x=20;int y=10;
swap(x,y);printf(%d %d,y,x+2); }
swap(int x,int y) {int temp;temp=x;
x=y;y=temp; }
a)10,20 b)20,12 c)22,10 d)10,22 e)none
17.#define INC(x) x++main() {int x=4;
printf(%d,INC(x++)); }a)4 b)5 c)6 d)compilation error e)runtime error (ans.(d))
18.struct node{
char *word;int count;
struct node left;struct node right; };
a)incorrect definiton b)structures cannot refer to other structruesc)structures can refer to themselves. Hence the statement is ok
d)structures can refer to maximum of one other structure
19.what is the size of the following unionunion tag{
int a;float b;
-
8/7/2019 HCL Placement Paper Collection Part II
23/76
char c; };a)2 b)4 c)1 d)7 (ans.(b))
20. main() {
char s[]=hello world;printf(%15.10s,s); }
a)hello,.world b)..hello world c)heloo,.wor.. d)none of the above (ans.(b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
-
8/7/2019 HCL Placement Paper Collection Part II
24/76
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
Profile
HCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, ApplicationEngineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A NetworkingMajor (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
-
8/7/2019 HCL Placement Paper Collection Part II
25/76
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer
(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clockcycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
-
8/7/2019 HCL Placement Paper Collection Part II
26/76
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customerhaving count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
-
8/7/2019 HCL Placement Paper Collection Part II
27/76
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
ProfileHCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
-
8/7/2019 HCL Placement Paper Collection Part II
28/76
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
-
8/7/2019 HCL Placement Paper Collection Part II
29/76
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
-
8/7/2019 HCL Placement Paper Collection Part II
30/76
HCL Placement Paper Collection Part II
section 2 C Programming
1.which of the following about the following two declarations is truei) int *F();
ii)int (*F)();a)Both are identical b)the first is a correct declaration and second is wrong
c)the first declaration is a function returning a pointer to an integer and the second is a pointer to afunction
returning intd)Both are different ways of declaring pointer to a function (ans. (c))
2.what are the values printed by the following program?
#define dprintf(expr) printf("expr=%d\n,expr)main() {int x=7;int y=3;
dprintf(x/y); }a)#2=2 b)expr=2 c)x/y=2 d)none (ans.( c))
3.which of the following is true of the following program
main() {char *c;int *ip;
c=(char *)malloc(100);
ip=(int *)c;free(ip); }
a)the code functions properly by releasing all the memory allocatedb)results in compilation error as a pointer of various types cannot be equated
c)the program ties to free more memory than allocated and results in run time errord) works well except when the machine runs low on memory and malloc is unabel to allocate the
memory (ans. (d))
4.output?main() {
int i;char *p;i=0x89;
p=(char *)i;p++;
printf(%x\np); }a)0x8c b)0x4566788A c)0x8A d)0x8B e)none (ans. (c))
5.which of the following is not an ANSI C language keyword?
a)volatile b)function c)default d)const e)void (ans. (b))
6.when an array is passed as parameter to a function , which of the following statement is correct
-
8/7/2019 HCL Placement Paper Collection Part II
31/76
the function can change values in the original arrayin c parameters are passed by value the function cannot change the original value in the array
it results in compilation error.Array cannot be passed as a parameter to a functionresults in runtime error when the function tries to access the elements in the array
7.the type of the controlling expression of a switch statement cannot be of the type
a)int b)char c)short d)float e)none (ans.(d))
8.value of (3^6)+(a ^a)=? (Ans. value=5)
9.x= b>8?b>1:b; (ans. x=3)
10.output:main() {int n=2;
printf(%d %d\n,++n,n*n); }a)3,6 b)3,4 c)2,4 d)cannot determine (ans.( b))
11.output:int x=0x65;
main() {char x;
printf(%d\n,x); }a) Compilation error b)A c)65 d)undefined
12.outputmain() {int a=10;int b=6;if(a=3)b++;
printf(%d %d,a,b++); }a)10,6 b)10,7 c)3,6 d)3,7 e)none
13.main() {
enum months {jan=1,feb,mar,apr};months x=jan;
if(x==1)printf(jan is the first month); }
a)does not print anything b)prints : jan is the first monthc)generates compilation error d)results in runtime error (ans. (c))
14.what is the output of the following program?
Main() {char *src=hello world;
char dst[100];
strcpy(src,dst);printf(%s,dst); }
strcpy(char *dst,char *src) {while (*src) *dst++=*src++; }
a)hello world b)hello c)world d)NULL e)undefined (ans. (e))
15.main() {int i=6;
switch(i) {
-
8/7/2019 HCL Placement Paper Collection Part II
32/76
default: i+=2;case 4;i=4;case 5:i++;
break; }printf(%d,i); }
a)8 b)6 c)5 d)4 e)none (ans. (c))
16.main() {int x=20;int y=10;
swap(x,y);printf(%d %d,y,x+2); }
swap(int x,int y) {int temp;temp=x;
x=y;y=temp; }
a)10,20 b)20,12 c)22,10 d)10,22 e)none
17.#define INC(x) x++main() {int x=4;
printf(%d,INC(x++)); }a)4 b)5 c)6 d)compilation error e)runtime error (ans.(d))
18.struct node{
char *word;int count;
struct node left;struct node right; };
a)incorrect definiton b)structures cannot refer to other structruesc)structures can refer to themselves. Hence the statement is ok
d)structures can refer to maximum of one other structure
19.what is the size of the following unionunion tag{
int a;float b;
char c; };a)2 b)4 c)1 d)7 (ans.(b))
20. main() {
char s[]=hello world;printf(%15.10s,s); }
a)hello,.world b)..hello world c)heloo,.wor.. d)none of the above (ans.(b))
-
8/7/2019 HCL Placement Paper Collection Part II
33/76
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
-
8/7/2019 HCL Placement Paper Collection Part II
34/76
Profile
HCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1Section 1- General Computer Concepts
1. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer
(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
-
8/7/2019 HCL Placement Paper Collection Part II
35/76
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
-
8/7/2019 HCL Placement Paper Collection Part II
36/76
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above(ans. (b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
-
8/7/2019 HCL Placement Paper Collection Part II
37/76
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
Profile
HCL Technologies offers world class technology solutions for the emerging network centricworld. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique for
-
8/7/2019 HCL Placement Paper Collection Part II
38/76
a) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer
(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
-
8/7/2019 HCL Placement Paper Collection Part II
39/76
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Canuse
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
HCL Placement Paper Collection Part IIsection 2 C Programming
1.which of the following about the following two declarations is true
i) int *F();ii)int (*F)();
a)Both are identical b)the first is a correct declaration and second is wrongc)the first declaration is a function returning a pointer to an integer and the second is a pointer to a
-
8/7/2019 HCL Placement Paper Collection Part II
40/76
functionreturning int
d)Both are different ways of declaring pointer to a function (ans. (c))
2.what are the values printed by the following program?#define dprintf(expr) printf("expr=%d\n,expr)
main() {int x=7;int y=3;
dprintf(x/y); }a)#2=2 b)expr=2 c)x/y=2 d)none (ans.( c))
3.which of the following is true of the following program
main() {char *c;int *ip;
c=(char *)malloc(100);ip=(int *)c;free(ip); }
a)the code functions properly by releasing all the memory allocatedb)results in compilation error as a pointer of various types cannot be equated
c)the program ties to free more memory than allocated and results in run time errord) works well except when the machine runs low on memory and malloc is unabel to allocate the
memory (ans. (d))
4.output?main() {
int i;char *p;i=0x89;
p=(char *)i;p++;
printf(%x\np); }
a)0x8c b)0x4566788A c)0x8A d)0x8B e)none (ans. (c))
5.which of the following is not an ANSI C language keyword?a)volatile b)function c)default d)const e)void (ans. (b))
6.when an array is passed as parameter to a function , which of the following statement is correct
the function can change values in the original arrayin c parameters are passed by value the function cannot change the original value in the array
it results in compilation error.Array cannot be passed as a parameter to a functionresults in runtime error when the function tries to access the elements in the array
7.the type of the controlling expression of a switch statement cannot be of the type
a)int b)char c)short d)float e)none (ans.(d))
8.value of (3^6)+(a ^a)=? (Ans. value=5)
9.x= b>8?b>1:b; (ans. x=3)
10.output:main() {int n=2;
printf(%d %d\n,++n,n*n); }
-
8/7/2019 HCL Placement Paper Collection Part II
41/76
a)3,6 b)3,4 c)2,4 d)cannot determine (ans.( b))
11.output:int x=0x65;
main() {char x;
printf(%d\n,x); }a) Compilation error b)A c)65 d)undefined
12.outputmain() {int a=10;int b=6;if(a=3)b++;
printf(%d %d,a,b++); }a)10,6 b)10,7 c)3,6 d)3,7 e)none
13.main() {
enum months {jan=1,feb,mar,apr};months x=jan;
if(x==1)printf(jan is the first month); }
a)does not print anything b)prints : jan is the first monthc)generates compilation error d)results in runtime error (ans. (c))
14.what is the output of the following program?
Main() {char *src=hello world;
char dst[100];strcpy(src,dst);
printf(%s,dst); }strcpy(char *dst,char *src) {
while (*src) *dst++=*src++; }a)hello world b)hello c)world d)NULL e)undefined (ans. (e))
15.main() {
int i=6;switch(i) {
default: i+=2;case 4;i=4;case 5:i++;
break; }printf(%d,i); }
a)8 b)6 c)5 d)4 e)none (ans. (c))
16.main() {int x=20;int y=10;
swap(x,y);printf(%d %d,y,x+2); }
swap(int x,int y) {int temp;temp=x;
x=y;
-
8/7/2019 HCL Placement Paper Collection Part II
42/76
y=temp; }a)10,20 b)20,12 c)22,10 d)10,22 e)none
17.#define INC(x) x++main() {int x=4;
printf(%d,INC(x++)); }a)4 b)5 c)6 d)compilation error e)runtime error (ans.(d))
18.struct node{
char *word;int count;
struct node left;struct node right; };
a)incorrect definiton b)structures cannot refer to other structruesc)structures can refer to themselves. Hence the statement is ok
d)structures can refer to maximum of one other structure
19.what is the size of the following unionunion tag{
int a;float b;
char c; };a)2 b)4 c)1 d)7 (ans.(b))
20. main() {
char s[]=hello world;printf(%15.10s,s); }
a)hello,.world b)..hello world c)heloo,.wor.. d)none of the above (ans.(b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
-
8/7/2019 HCL Placement Paper Collection Part II
43/76
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You canalso be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4
This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
Profile
HCL Technologies offers world class technology solutions for the emerging network centric
world. It provides a range of technology and software engineering services including
Technology Development Services, Software Engineering Services, Application
Engineering Services, Networking Services .
These services are predicated on a rich technology heritage. Experience with the development
and application of technologies like Internet and E-Commerce, Embedded software,
Networking and telecom protocols, VLSI design etc.
Skills on a wide variety of computing platforms from Open Systems to Enterprise Servers
based on mainframes expertise, object oriented and legacy system architecture, methodologies
in addition to distinguished R&D background uniquely positions us as a preferred provider of
technology and software engineering services in the emerging network centric world.
-
8/7/2019 HCL Placement Paper Collection Part II
44/76
HCL Technologies has established dedicated offshore software factories with clients such as
Bankers Trust (Australia), Lexis Nexis (US) , Southern California Edison (US), A Networking
Major (US)
HCL Technologies operates through 29 offices in 14 countries in United States, Europe, Japan,
Asia Pacific
The company employs 3300 IT professionals worldwide.
HCL Technologies holds 100% stake in Intelicent (former HCL James Martin Inc.), a US based
methodology consulting led Services Company. The company also has a 100% subsidiary in
India, HCL Comnet Systems and Services Ltd, which provides networking services.
For more information about this company visit their homesite at www.hcltechnologies.com
HCL System Software Sample Test Paper -1
Section 1- General Computer Concepts
1. Piggy backing is a technique fora) Flow control b) Sequence c) Acknowledgement d) retransmition (Ans. (c))
2. In OSI, terminal emulation is done in
(a) sessions layer (b) application layer (c) presentation layer
(d) transport layer (Ans. (b))
3.Bit parity check, when performed on a byte ,can catch
a)odd number of errors b)even number of errors c)any number of errors
d)none of the above (Ans. (a))
4. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0 (Ans. (a))
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
-
8/7/2019 HCL Placement Paper Collection Part II
45/76
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the nodeb) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
-
8/7/2019 HCL Placement Paper Collection Part II
46/76
15.which of the following is a feature of the ANSI C language and not present in Java?
a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
Written Test
The written test consists of 60 questions which are divided into 4 sections .The total duration of
the test is 90 minutes. There is negative marking .
The sectionwise distribution of the questions is as follows:
Section#1
This section consisting of 15 questions is based on general computer awareness.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#2
This section also consists of 15 questions. Questions based on C language are asked.
In this section:
A correct answer carries 1 mark
1/4 marks will be deducted for a wrong answer.
Section#3
A total of 10 questions based on pointers and structures in C are asked in this section. You can
also be asked one or two questions on JAVA also.
In this section:
A correct answer carries 2 marks
1 mark will be deducted for a wrong answer.
Section#4This is the aptitude section consisting of 20 questions. Simple maths questions are asked which
are very easy. The logical questions asked are similar to the ones given in the Barron's GRE
book.
In this section:
A correct answer carries 2 marks
1/2 mark will be deducted for a wrong answer.
-
8/7/2019 HCL Placement Paper Collection Part II
47/76
-
8/7/2019 HCL Placement Paper Collection Part II
48/76
5. For 1 MB memory, the number of address lines required,
(a) 11 (b) 16 (c) 20 (d) 24 (Ans. (c))
6.For a 25 MHz processor, what is the time taken by the instruction which needs 3 clock
cycles,
(a) 120 nano secs (b) 120 micro secs (c) 75 nano secs (d) 75 micro secs (Ans. (a))
7. Semaphore is used for
(a) synchronization (b) dead-lock avoidence (c) both a and b (d) none (Ans. (a))
8. Which of the following involves context switch,
(a) system call (b) priviliged instruction c) floating poitnt exception
(d) all the above (e) none of the above (Ans: (a))
9.Virtual address are translated to physical address by
(a) the process (b) operating system (c) MMU (d) All of the above
(e) None of the above (ans. (c))
10.Convert the hexadecimal number 0xFEDB to the octal (ans.77333)
11. OLE is a mechanism
a) in UNIX for network communication b) in INTERNET for communication between nodes
c) for communication between processes in a NT system
d) used as a network layer protocol in NT & Windows systems (ans. (d))
12. An internet IP address of a node
a) has to be unique only for the domain of the node
b) has to be unique in the nodes sub-network
c) has to be unique in the country in which the node is present
d) none of the above (ans. (b))
13. There is an employee table with key fields as employer no.data in every not row are needed
for a sample.
Which of the following queries will get required results.
Select A employee no. from employee A , where exists (select (max (emp_no)))from employee
B where
A employee no. >= B employee having (count(*) mod n)=0
Select employee no. from employee A, employee B where A. employee no.>=B employ
no.group by employee no.having(count(*) mod n)=0 )
-
8/7/2019 HCL Placement Paper Collection Part II
49/76
c) both a& b d)none of the above (ans. (d))
14. Type duplicates of a row in a table customer with non-unique key field customer no. Can
use
a) Delete from customer where customer no. Exists(select distinct customer no. from customer
having count)
delete customer a where customer no. in (select cust_no from customer b where
a.cust_no=b.cust_no)
and a.rowid>b.rowid
delete customer a where custermor no. in ( select customer no. from customer a, customer b
group by
a.cust_no having (count(*)>1) and a.rowid>b.rowid);
d) none of the above (ans. (d))
15.which of the following is a feature of the ANSI C language and not present in Java?a)forward referencing b)variable length argument lists c)volatile modifier d)none of the above
(ans. (b))
Home Categories Multiple Categories
Interview Preparation Tips - Must Read
Article Number: 4366 | Last Updated: Tue, Nov 17, 2009 at 6:10 AM
1. SKILLS
-
8/7/2019 HCL Placement Paper Collection Part II
50/76
There are basically three skills, which are necessarily required to succeed in the interviews.
They are:
Aptitude
Communication skills
Technical skills
Attitude/Personality-this is transparent to candidates.
(Candidates can lack one or more skills if they want the job by some shortcut means, but those who want
the job fair and square, must possess all the above skills. You know what I mean). Let me consider myse
common man and tell you how I improved my skills. Then you can generalize them better.
1.1 APTITUDE
This is the first and most important step in climbing the success ladder. Whats aptitude? Its ones ability
to, to, leave it, I am not getting the definition. But let me tell you, aptitude is nothing but the
combination of your basics, brain power, knowledge, commonsense, speed, accuracy, intelligent guessin
anticipation, decision-making and above all the positive approach. Aptitude test is like a 100 metre sprin
with the lane width of just 6 inches. Overall, aptitude is your logic. Sometimes it is difficult and sometim
easySome have aptitude by birth (they are natural puzzle solvers). They can easily catch up how to solve
numericals and analytical problems. They need to identify themselves and polish their approach. Others
have to work like dogs.
It took interest in puzzles when I was in 8th standard. That made me learn maths basics well. Maths
Olympiad training and exam made me go for puzzles with mathematical approach. My craze for puzzles
continued to PU and till B.E. In 1st semester I became the member of mathemagic magazine, which
publishes varieties of puzzles from literature to numericals to chess puzzles etc. I seriously involved in
solving them and sending answers to the editor. It was only in the second year that I heard that there is a
company Infosys that asks only puzzles to recruit its employees. My happiness knew no bounds [patient
keliddu mosaru anna, doctor heliddoo mosaru anna].
I wrote the aptitude test for over 15 companies and I dont know the disappointment of not getting short-
listed after the written test. Frankly speaking I never prepared for aptitude tests. Thats why I was seen
playing cricket throughout my engineering. So I request you, not to look at me and decide that written te
are nothing. I had a friend who had 78% of aggregate and was good at everything but couldnt clear writ
-
8/7/2019 HCL Placement Paper Collection Part II
51/76
test for 15 companies. At last he cleared somehow and further path was easy for him to sail through. Let
tell you how you could improve your aptitude.
First & second year students can go for puzzles. Buy puzzle books like Shakuntala Devi, George Summe
Narula etc. and try to solve them. If you dont get the answer, then see carefully the way the puzzle has b
solved in the book. If you solve some 200 and odd puzzles then you imbibe the approach to solve anypuzzle. This improves your analytical ability. Then you can switch over to numerals. Many companies a
verbal questions, for that you need not mug up the dictionary or thesaurus. You can read different books,
novels, and magazines and learn words steadily.
For final year student going for puzzles is optional. Its better to go for quantitative aptitude book. Agarw
is the best one. Read the solved problems and once you understand them, solve the unsolved ones. For
verbal, comprehension and analytical questions you can go for Barrons GRE or any other good book.
This preparation for aptitude is must for any engineer appearing the written test for almost any company.
The two things that make you succeed in the interview are preparation and confidence.
Preparation + Confidence = Success ---------------------- (1)After good preparation confidence comes automatically which makes you perform well. So confidence ~
PreparationSo from--- (1)Preparation + Preparation = Success Preparation = Success 2This implies that if you prepare well, you are already half succeeded.This was the mistake that I repeated several times. I didnt prepare well for the interview,( esp. technical
skills ) and thought that somehow by luck I might get into but by the time I realized that there is nothingcalled luck, I had carried my file nearly a deca-times. After preparation how to smash written test will be dealt later. Those who intend to copy in the written test should be careful, as some companies ask you to explain ho
you arrived at the answer, especially puzzles.
1.2 COMMUNICATION SKILLS
In campus interviews, there are many people who dont know much of technical stuff, but by clearing the
written, somehow they get into the company by campus interview. It is because they speak great English
dont think its much different in walkin interviews. Having good communication skills is an art, which
can be mastered by any one. The efficient and flexible person learns it faster. The English you speak sho
be error free, fluent and clear. It need not be fast. You should be able to convey yourself well before the
-
8/7/2019 HCL Placement Paper Collection Part II
52/76
interviewer.I know speaking good English is a problem for many engineering guys; its a myth that only English
medium guys speak good English. Its also a myth that they dont rise above a certain level. But I deny th
I studied my primary level in Kannada medium. But I dont think I was rejected in the interviews becaus
my communication skills. My flexibility helped me. What did I do to improve these skills?I made couple of English speaking friends at the college and used to talk to them for long hours. English
movies did help too. Apart from story and action I concentrated on the accent and the way the actors use
deliver the dialogues. Giving pause and t iming were very important. I used to stare at newsreaders and
imagine myself reading it. I tried to read newspapers in the way they did. Sunit Tandon was really good.
In home I used to tune to discussions, interviews of stars, sportsmen and follow them. Wasim Akram,
Srikanth, Shahrukh Khan really inspired me. One can take a leaf out of Harshas commentary.
These are some of the ways by which you can improve your English. You can even try other methods.
Before doing any thing you can sit back and think what you have and what you lack. If your grammar isweak get a grammar book and study it from the scratch. If you cant spell it properly go for dictionary or
scripts and work on it, instead of cribbing about it for years. One should always aim at improving onesel
Always tell to yourself "Next year I will be a better person in knowledge, experience, attitude and
everything."
For 8th semester guys it is better late than never, you can start now while others can learn steadily. One
should enjoy learning things and not take it as a burden. Communication skills are very important for engineers and also for management students. So try to
overcome your weaknesses. How do you improve is entirely left to you. Its beyond just reading the boo
Its better start speaking English with your friends. Jamat people acquire communicating skills well, so I request them to preach in English.
First and second year guys have enough time if they realize. 8th semester guys should be efficient and fa
enough, learn faster and enjoy your learning. With preparation, I believe even some one like Sadiq* pasha can make it. And without preparation some
one like Nayeemuddin** may not make it. Getting through the interview can be very easy if you wish.
* - Till 6 sem he had passed only four subjects viz., M1, M2, M3 and M4. Then he literally went mad.** - Topper to MMC College, presently doing his PG course in London.
1.2 TECHNICAL SKILLS
In the early years of engineering, students think that in interviews, hi-fi technology is asked which is ver
-
8/7/2019 HCL Placement Paper Collection Part II
53/76
complex and difficult. So they dont think of learning or refreshing the technical concepts keeping interv
in mind. I was also one among them. But the truth is that the companies ask those technical questions wh
we have learnt like, what is amplifier, counter, XOR GATE, what is microprocessor, what is signal, wha
are pointers, data structures, what is linking, what are motors, gears etc., depending on your branch.
If they ask something else you can happily say "Sir that was not there in our syllabus". They switch overThe only difference between engineers and others is; we learn technical skills and others dont. So if you
want to call yourself an engineer see whether you have basic technical skills.So right from 3rd semester you start looking back at all the subjects you have steadied and recall their
basics now and then.When you apply, you look at the pattern of interview, the area of work of the company. You can get to
know on what subjects they would ask questions in interview. You can study those two, three subjects in
depth, I mean in detail. You also have to just touch all the subjects superficially, esp. electives.As I said, the questions asked by companies vary based on their type (software or hardware) and your
branch.For example, E&C students have to prepare technical in depth for hardware companies like Delphi, L&T
etc. But software companies dont know much of electronics, So E&C students can relax a bit but you
should know at least C and puzzles.Computer guys must prepare technically well. Usually students take their favourite subjects as DSC,
Operating System, C++, etc.For Mechanical boys technical skills are must. If they dont know technical, they know nothing.
Mechanical Technical = IP (Ignorant People)
So, most of your preparation time goes for studying technical aspects. Technical aspects means not
advanced technology, but only the basics of subjects you studied as I said. The study should be