Vyoms
Bookmark and Share Rss Feeds

Hot Jobs
leftMenu Bullet Freshers Jobs
leftMenu Bullet Experienced Jobs
leftMenu Bullet Government Jobs
leftMenu Bullet Walkin Jobs
Placement Section
leftMenu Bullet Company Profiles
leftMenu Bullet Interview Questions
leftMenu Bullet Placement Papers
Interview Ebook
Get 9,000+ Interview Questions & Answers in an eBook.
Interview Questions & Answers Kit
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
Resources @ VYOMS
leftMenu Bullet Companies In India
leftMenu Bullet Consultants In India
leftMenu Bullet Colleges In India
leftMenu Bullet Exams In India
leftMenu Bullet Latest Results
leftMenu Bullet Notifications In India
leftMenu Bullet Call Centers In India
leftMenu Bullet Training Institutes In India
leftMenu Bullet Job Communities In India
leftMenu Bullet Courses In India
leftMenu Bullet Jobs by Keyskills
leftMenu Bullet Jobs by Functional Areas
Learn @ VYOMS
leftMenu Bullet GATE Preparation
leftMenu Bullet GRE Preparation
leftMenu Bullet GMAT Preparation
IAS Preparation
leftMenu Bullet SAP Preparation
leftMenu Bullet Testing Preparation
leftMenu Bullet MBA Preparation
News @ VYOMS
leftMenu Bullet Freshers News
leftMenu Bullet Job Articles
leftMenu Bullet Latest News

Join The Community
VYOMS TOP EMPLOYERS

Wipro Technologies
Tata Consultancy Services
Accenture
IBM
Satyam
Genpact
Cognizant Technologies
UPSC Notified Final Marks for Central Armed Police Forces (ACs) Exam 2011| UPSC Declared CISF (AC) Examination 2012| UPSC Announced Written Result for NDA & NA Examination (II) 2012| NCERT Recruitment 2013 – Walk in for JPF & Computer Typists Posts | NCERT Recruitment 2013 – Walk in for JPF & Computer Typist Posts | NVS Recruitment 2013 – TGT & PGT Vacancies | NVS Recruitment 2013 – TGT & PGT Vacancies | NVS Recruitment 2013 – TGT, PGT Teachers & FCSA Posts | IISER Pune Recruitment 2013 – Project Fellow Posts | Cochin Port Trust Recruitment 2013 – Medical Officer Posts | Cochin Port Trust Recruitment 2013 – Asst Marine Foremen Posts | Cochin Port Trust Recruitment 2013 – MO, Marine Engineer, Pilot Posts | ESIC Karnataka Recruitment 2013 – 130 UDC, Librarian & Specialist Posts


Search Jobs:
(For ex: Software Testing Jobs, C/C++/Java Jobs, .Net Jobs)
 

Home » Placement papers » HCL Placement Paper Technical Part-1 on 2012

HCL Placement Paper Technical Part-1 on 2012

Advertisements
Number of Views:    937
Date Of Addition:    Wednesday, February 29, 2012

All HCL Technologies Limited Placement papers
All Placement papers of IT-Software/Software Services
 

COMPUTER PROGRAMMING PRINCIPLES AND APPLICATIONS

Q1. A 8-bit signed integer has the following range:

a. 0 to 255
b. -128 to 127
c. -255 to 254
d. 0 to 509

Q2. What will be the output of the following code statements?
integer x = 34.54, y = 20, z = -5

print ( y > 50 AND z > 10 or x > 30 )

a. 0

b. 1
c. -1
d. 10

Q3. Pankaj makes a program to print the product of cubes of the first 10 whole numbers. She writes the following program:
integer x = 0 // statement 1

integer sum = 0 // statement 2
while ( x < 10 ) // statement 3
{
  sum = x*x*x // statement 4
  x = x + 1 // statement 5
}   
print sum // statement 6

Is her program correct? If not, which statement will you modify to correct it?

a. No error, the program is correct.
b. Statement 1
c. Statement 4
d. statement 6

Q4. I have a problem to solve which takes as input a number n. The problem has a property that given the solution for (n-1), I can easily solve the problem for n. Which programming technique will I use to solve such a problem?
a. Iteration

b. Decision-making
c. Object Oriented Programming
d. Recursion

Q5. Given:

integer x = 40, y = 35, z = 20, w = 10

Comment about the output of the following two statements:
print x * y / z - w
print x * y / (z - w)

a. Differ by 80
b. Same
c. Differ by 50
d. Differ by 160

Q6. Data and function in which area of a class are directly accessible outside the class?
a. Public

b. Private
c. Protected
d. None of these

Q7. Here is an infix notation: ((A+B)*C-(D-E))^(F+G) Choose the correct postfix notation of the above from the given options. 
a. AB+CD*E--FG+^

b. AB+C*DE--FG+^
c. AB+C*DE-FG-+^
d. A+BC*DE-FG-+^

Q8. If the depth of a tree is 3 levels, then what is the size of the Tree?

a. 2

b. 4
c. 6
d. 8

Q9. One of the following options is a form of access used to add and remove nodes from a queue.

a. LIFO

b. FIFO
c. Both LIFO and FIFO
d. None of these

Q10. What is the time complexity of adding three matrices of size NXN cell-by-cell?

a. O(N)

b. O(N^2)
c. O(N^3)
d. None of these


Be the first one to comment on this Placement Paper






Sponsored Ads





FREE JOBS NEWSLETTER
3,11,757 [96,218 + 2,15,539] MEMBERS!



Contact Us | Feedback | Link to Us
Copyright © 2001-2009 VYOMS.com. All Rights Reserved. Home | About Us | Jobs | Contact Us | Privacy Policy | Terms & Conditions.
Disclaimer: VYOMS.com has taken all reasonable steps to ensure that information on this site is authentic. Applicants are advised to research bonafides of advertisers independently. VYOMS.com shall not have any responsibility in this regard.
Placement Papers | Get Your Free Website | IAS Preparation | C++ Interview Questions | C Interview Questions | Report a Bug | Romantic Shayari | CAT 2013