Skip to main content

Posts

Showing posts from July, 2012

HCL TECHNOLOGIES PAPER - 16 OCT 2005 - CHENNAI

1. How many segment registers are there in the 8086 processor? a) 4 b) 6 c) 8 d) none Ans: a 2. What is the addressing mode of this instruction MOV AL, [BX]; a) direct addressing mode b) register indirect addressing mode ANS: b I am not sure of it. 3. What is the type of file system used in the CD ROM? a) VFAT B) 4) About CPU I think but answer is DMA. 5) If we double the clock speed, then? a) It increases the speed of the processor b) It increases the speed of the system bus c) both of the above D) None 6) Data recovery is done in which layer? a) physical b) datalink c) network d) transport 7) What is thrashing? ANS: swapping in and out the pages frequently from memory. 8) By using 3 nodes how many trees can be formed? ANS:5 9) They give one tree, and ask the post order traversal for that tree? ANS:C 10) Page cannibalation is? ANS:C Aptitude section: 1) They give one scenario and ask questions on that. that is easy. Those are 5 questions. 2) They ask 2 questi

Technical Interview Questions - important for TCS, Wipro, Cognizent, Accenture, IBM

What does static variable mean? What is a pointer? What is a structure? What are the differences between structures and arrays? In header files whether functions are declared or defined? What are the differences between malloc() and calloc()? What are macros? what are its advantages and disadvantages? Difference between pass by reference and pass by value? What is static identifier? Where are the auto variables stored? Where does global, static, local, register variables, free memory and C Program instructions get stored? Difference between arrays and linked list? What are enumerations? What is a class? What is an object? What is the difference between an object and a class? What is the difference between class and structure? What is public, protected, private? What are virtual functions? What is friend function? What is a scope resolution operator? What do you mean by inheritance? What is abstraction? What is a data structure? What does abstract data type mea
Question: The citizens of planet nigiet are 8 fingered and have thus developed their decimal system in base 8. A certain street in nigiet contains 1000 (in base 8) buildings numbered 1 to 1000. How many 3s are used in numbering these buildings? Options: a)192 b)64 c)54 d)256 Solution.: 256 In base 8 digits 0-7 exist and 1000 can be represented as 1750 in base 8. So it needs 256 no.of 3's to number from 0 to 1750 when calculated

TCS Placement Paper January 2011

Company-    TCS  Writen Test:-            (1/2) of a number is 3 more than the (1/6) of the same number?   a) 6 b) 7 c) 8 d) 9 2. There are two water tanks A and B, A is much smaller than B. While water fills at the rate of 1 liter every hour in A, it gets filled up like, 10, 20, 40,80, 160..in tank B. (At the end of first hour, B has 10 liters, second hour it has 20 liters and so on). If tank B is 1/32 filled of the 21 hours, what is total duration of hours required to fill it completely? a) 26 B) 25 c) 5 d) 27 3. Smita was making a cube with dimensions 5*5*5 using 1*1*1 cubes. What is the number of cubes needed to make a hollow cube looking of the same shape? a) 98 b)104 c)100 d) 61 4. A lady has fine gloves and hats in her closet- 25blue, 7 red, and 9 yellow. The lights are out and it is totally dark. In spite of the darkness, she can make out the difference between a hat and a glove. She takes out an item out of the closet only if she is sure that if it i

2012-2013 SSC Maharashtra Examination time-table | SSC Examination Date | www.msbshse.ac.in

This year Government take a decision to  display SSC 2013 Time-table. Check out the 2012-2013 SSC Maharashtra time table . New updates and notification regarding the Exam will be display on GoforExam and official website of SSC. Perfect time -table or final time-table see only in your respective school and college. Date: Saturday 2nd March, 2013 Time: 11.00a.m. to 2.00 p.m. Paper: First Language SSC Maharashtra Logo Marathi (01)  Hindi (02) Urdu (04) Gujarati (05) Kannada (06) Tamil (07) Telugu (08) Malayalam (09) ´ Sindhi (10) Bengali (11) Punjabi (12) Date: Tuesday 5th March, 2013  Time: 11.00 a.m. to 2.00 p.m. Paper: SECOND OR THIRD LANGUAGE Hindi Time: 11.00 a.m. to 1.00 p.m. Paper: SECOND OR THIRD LANGUAGE (COMPOSITE COURSE) Hindi (Composite ) Date: Thursday 7th March, 2013 Time: 11.00 a..m. to 2.00 p.m. Paper: FIRST LANGUAGE (English) THIRD LANGUAGE (English) Date: Saturday 09th March, 2013 Time: 11.00 a.m. to

HSC Exam Time Table 2013 Arts, Commerce, Science

HSC Exam Time Table 2013:- Date: 21 Feb 2013 (Thursday) Paper: (Marathi / Gujarati / Kannada / Sindi / Malyalam / Tamil / Telugu / Punjabi / Bengali Time: 11.00 am to 2.00 pm Date: 22 Feb 2013 (Friday) Paper: Hindi Time: 11.00 am to 2.00 pm Paper: German / Andhramagadhi / Persian Time: 3.00 am to 6.00 pm Date: 23 Feb 2013 (Saturday) Paper: English Time: 11.00 am to 2.00 pm Date: 25 Feb 2013 (Monday) Paper: Secretarial Practice Time: 11.00 am to 2.00 pm Paper: Physics Time: 11.00 am to 2.00 pm Paper: Political Science Time: 3.00 am to 6.00 pm Date: 27 Feb 2013 (Wednesday) Paper: Book Keeping & Accoutancy Time: 11.00 am to 2.00 pm Paper: Chemistry (will Be held on 26 March) Time: 11.00 am to 2.00 pm Paper: Philosophy Time: 3.00 am to 6.00 pm Date: 1 March 2013 (Friday) Paper: Mathematics & Statistics Paper (Revised) Time: 11.00 am to 2.00 pm Paper: Mathematics & Statistics - I (Commerce) Time: 11.00 am to 1.00 pm Paper: Sociology

TCS Placement Paper December 2010

Written Test:- Q 1: There are two water tanks A and B, A is much smaller than B. While water fills at the rate of 1 liter every hour in A, it gets filled up like, 10, 20, 40,80, 160…..in tank B. 1/8 th of the tank B is filled in 22 hours. What is the time to fill the tank fully? a) 26 (b) 25 (c) 5 (d) 27 Ans: 22+log 2 base 8=22+4=26 Note: The question arise more than 1 time. Ques 2: A sheet of paper has statements numbered from 1 to 70. For all values of n from 1 to 70. Statement n says 'At least n of the statements on this sheet are false.' Which statements are true and which are false? (a) The even numbered statements are true and the odd numbered are false. (b) The odd numbered statements are true and the even numbered are false. (c) The first 35 statements are true and the last 35 are false. (d) The first 35 statements are false and the last 35 are false. Ans. c Note: For this type of Questions, follow this: --At least- I'st half are true, Last

ASSISTANT CENTRAL INTELLIGENCE OFFICER GRADE-II/EXECUTIVE 2012

INTELLIGENCE BUREAU (MINISTRY OF HOME AFFAIRS) GOVERNMENT OF INDIA TO APPLY CLICK HERE  ON-LINE applications are invited from Indian nationals for direct recruitment to the post of ASSISTANT CENTRAL INTELLIGENCE OFFICER GRADE-II/EXECUTIVE. The details of the post and its eligibility conditions are given below:- * Upper age limit is relax-able by five years for SC/ST and three years for OBC candidates and is also relax-able for Departmental Candidates up to 40 years who have rendered three years of continuous service. In addition to this, the age limit is also relax-able for ex-servicemen as well as residents of J&K in terms of government instructions issued from time to time. SERVICE LIABILITY: The post involves All India Transfer Liability. Therefore, the candidates applying for the post should be ready to serve anywhere in India. EXAMINATION FEE:- Rs. 100/- (RUPEES ONE HUNDRED ONLY). Fee is exempted for all Women candidates and candidates belonging to Scheduled

How to Prepare for Campus Interview

A number of companies visit campus each semester to interview seniors for professional entry-level positions that start after graduation and current students for career related internships. Are you getting ready to leave your college and you are anxiously getting ready for your job search. Campus interviews can be nerve-wrecking for any student. Review the interview schedule, research company profiles, submit your resume to companies for consideration and sign-up for interviews. There are many books as well as internet resources teaching Students on how to do job hunting and how to write resumes.The problem is, those books usually cater exclusively to those who have been in the working force for a while, and the college graduates or those seeking a job for the first time are for the most part ignored.This website will provide you with some tips for the upcomin

How to answer - What are your greatest weaknesses?

Question 3                          What are your greatest weaknesses? TRAPS:   Beware - this is an eliminator question, designed to shorten the candidate list. Any admission of a weakness or fault will earn you an “A” for honesty, but an “F” for the interview. PASSABLE ANSWER:   Disguise a strength as a weakness. Example: “I sometimes push my people too hard.  I like to work with a sense of urgency and everyone is not always on the same wavelength.” Drawback:   This strategy is better than admitting a flaw, but it's so widely used, it is transparent to any experienced interviewer. BEST ANSWER:   (and another reason it's so important to get a thorough description of your interviewer's needs before you answer questions): Assure the interviewer that you can think of nothing that would stand in the way of your performing in this position with excellence. Then, quickly review you strongest qualifications. Example:  “Nobody's perfect, but based on what you'

How to Answer -What are your greatest strengths?

Question 2:             What are your greatest strengths? TRAPS:   This question seems like a softball lob, but be prepared. You don't want to come across as egotistical or arrogant. Neither is this a time to be humble.   BEST ANSWER:   You know that your key strategy is to first uncover your interviewer's greatest wants and needs before you answer questions. And from Question 1, you know how to do this. Prior to any interview, you should have a list mentally prepared of your greatest strengths. You should also have, a specific example or two, which illustrates each strength, an example chosen from your most recent and most impressive achievements. You should, have this list of your greatest strengths and corresponding examples from your achievements so well committed to memory that you can recite them cold after being shaken awake at 2:30AM. Then, once you uncover your interviewer's greatest wants and needs, you can choose those achievements from your list tha

When does a programmer need to implement his own copy constructor?

      Though compiler automatically provides the default copy constructor, sometime a programmer needs to implement his own copy constructor. We can take up a case here:           In the default constructor some memory allocation has been done for few data members and hence those will be created in the heap. In the destructor corresponding de-allocation code is there. Now if an attempt to copy an object is made, it won’t call the default constructor but it will call the default copy constructor which will copy the data member variable from stack and copy the pointers but won’t allocate any new memory space for the new copied object. So same pointers will exist in both the parent and copied object. This will not only create a great ambiguity but runtime error will occur when attempts will be made to delete both the objects. First object will get deleted properly. When it will try to delete the other object, the common pointer won’t exist and runtime error will come. Even if user sto

Does a class provide default Copy Constructor?

Yes! The default copy constructor is being provided automatically by the compiler if not implemented separately. In this, it puts the code for coping the data members and other variables that stay in stack. If something is being created by malloc or new in the heap, those are not being copied by the default copy constructor provide by the compiler.

In Java, what’s the difference between method overloading and method overriding?

The difference between overriding and overloading in Java is a common source of confusion – but it is fairly simple to understand. Let’s start the discussion by talking more about method overloading. Overloading in Java can occur when two or more methods in the same class share the same name or even if a child class shares a method with the same name as one of it’s parent classes. But, in order to actually have overloaded methods, the methods not only have to have the same name, but there are other conditions that must be satisfied – read below to see what those conditions are. Suppose we have a class called TestClass which has 2 methods, and both methods have the same name – let’s say that name is “someMethod” – this would be considered to be method overloading if    at least one of these 2 things is true: 1.) The number of parameters is different for the methods 2.) The parameter types are different.

What is method overriding in java?

About method overriding: Overriding methods is completely different from overloading methods. If a derived class requires a different definition for an inherited method, then that method can be redefined in the derived class. This would be considered overriding. An overridden method would have the exact same method name, return type, number of parameters, and types of parameters as the method in the parent class, and the only difference would be the definition of the method. Let’s summarize the differences between overloading and overriding. When overloading, one must change either the type or the number of parameters for a method that belongs to the same class. But, overriding a method means that a method inherited from a base class is what’s being changed.

Is the JVM (Java Virtual Machine) platform dependent? What is the advantage of using the JVM, and having Java be a translated language?

JVM translates bytecode into machine language Every Java program is first compiled into an intermediate language called Java bytecode. The JVM is used to both translate the bytecode into the machine language for a particular computer, and actually execute the corresponding machine-language instructions as well. The JVM and bytecode combined give Java its status as a "portable" language – this is because Java bytecode can be transferred from one machine to another. Machine language is OS dependent Given the previous information, it should be easier to figure out an answer to the original question. Since the JVM must translate the bytecode into machine language, and since the machine language depends on the operating system being used, it is clear that the . The key here is that the JVM depends on the operating system – so if you are running Mac OS X you will have a different JVM than if you are running Windows or some other operating system.

In Java, how does System.out.println() work?

This question is an excellent example of how just some very basic knowledge of Java can lead you to the correct answer. Most interviewers would not expect you to know the answer to do this right away – but would like to see how you think and arrive at an answer. Marcus Aurelius once said: "Of each particular thing ask: what is it in itself? What is its nature?". This problem is an excellent example of how that sort of thinking can help one arrive at an answer with only some basic Java knowledge. With that in mind, let’s break this down, starting with the dot operator. In Java, the dot operator can only be used to call methods and variables so we know that ‘out’ must be either a method or a variable. Now, how do we categorize ‘out’? Since println() is clearly a method, and its called using ‘out’, then we know that ‘out’ can not possibly be a method because it doesn’t make sense to have one method invoke another method with the dot operator in Java. This means ‘out’ must be a

Cognizant Technology Solutions India Ltd Hiring for Software Developer with DWBI

Job Description: Cognizant Technology Solutions India Ltd Hiring for Software Developer with DWBI for Coimbatore location. Apply on or before Saturday, July 21, 2012 Skill Sets: Data Warehousing. Education: Any Graduate Experience: 2 to 7 Yrs Job Location: Coimbatore Contact: Address: Walk-In Venue : Cognizant Technology Solutions, Chill SEZ, Keeranatham Village, Saravanampatti Via, Coimbatore. Other Details Walk-In Date : On 21st July 2012 Time: 9.30 AM to 11.00 AM Please read the disclaimer before applying for this job opening. Job Last Date: Saturday, July 21, 2012 Important Note: Please Carry 2 Copies of Resume + Educational Certificates + 2 Passport size photo + Any photo ID card + Latest Salary slip (if any). Fix your appointment for direct interview. Send your resume only if your skills and experience matches the requirement of this opening. Please DO NOT Send otherwise. Share with your friends if you Like this Job Opening

How to prepare for interview? follow the steps.

Interview Preparation  Research is a critical part of preparing for an interview. If you haven't done your homework, it is going to be obvious. Spend time researching and thinking about yourself, the occupation, the organization, and questions you might ask at the end of the interview. Step 1: Know Yourself The first step in preparing for an interview is to do a thorough self-assessment so that you will know what you have to offer an employer. It is very important to develop a complete inventory of skills, experience, and personal attributes that you can use to market yourself to employers at any time during the interview process. In developing this inventory, it is easiest to start with experience. Once you have a detailed list of activities that you have done (past jobs, extra-curricular involvements, volunteer work, school projects, etc.), it is fairly easy to identify your skills. Simply g