Wednesday, 28 September 2011

8085 microprocessor questions

  1. What are the various registers in 8085? - Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085 .
  2. In 8085 name the 16 bit registers? - Stack pointer and Program counter all have 16 bits.
  3. What are the various flags used in 8085? - Sign flag, Zero flag, Auxillary flag, Parity flag, Carry flag.
  4. What is Stack Pointer? - Stack pointer is a special purpose 16-bit register in the Microprocessor, which holds the address of the top of the stack.
  5. What is Program counter? - Program counter holds the address of either the first byte of the next instruction to be fetched for execution or the address of the next byte of a multi byte instruction, which has not been completely fetched. In both the cases it gets incremented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.
  6. Which Stack is used in 8085? - LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last stored information can be retrieved first.
  7. What happens when HLT instruction is executed in processor? - The Micro Processor enters into Halt-State and the buses are tri-stated.
  8. What is meant by a bus? - A bus is a group of conducting lines that carriers data, address, & control signals.
  9. What is Tri-state logic? - Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri-state logic has a third line called enable line.
  10. Give an example of one address microprocessor? - 8085 is a one address microprocessor.
  11. In what way interrupts are classified in 8085? - In 8085 the interrupts are classified as Hardware and Software interrupts.
  12. What are Hardware interrupts? - TRAP, RST7.5, RST6.5, RST5.5, INTR.
  13. What are Software interrupts? - RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7.
  14. Which interrupt has the highest priority? - TRAP has the highest priority.
  15. Name 5 different addressing modes? - Immediate, Direct, Register, Register indirect, Implied addressing modes.
  16. How many interrupts are there in 8085? - There are 12 interrupts in 8085.
  17. What is clock frequency for 8085? - 3 MHz is the maximum clock frequency for 8085.
  18. What is the RST for the TRAP? - RST 4.5 is called as TRAP.
  19. In 8085 which is called as High order / Low order Register? - Flag is called as Low order register & Accumulator is called as High order Register.
  20. What are input & output devices? - Keyboards, Floppy disk are the examples of input devices. Printer, LED / LCD display, CRT Monitor are the examples of output devices.
  21. Can an RC circuit be used as clock source for 8085? - Yes, it can be used, if an accurate clock frequency is not required. Also, the component cost is low compared to LC or Crystal.
  22. Why crystal is a preferred clock source? - Because of high stability, large Q (Quality Factor) & the frequency that doesn’t drift with aging. Crystal is used as a clock source most of the times.
  23. Which interrupt is not level-sensitive in 8085? - RST 7.5 is a raising edge-triggering interrupt.
  24. What does Quality factor mean? - The Quality factor is also defined, as Q. So it is a number, which reflects the lossness of a circuit. Higher the Q, the lower are the losses.
  25. What are level-triggering interrupt? - RST 6.5 & RST 5.5 are level-triggering interrupts.

Tuesday, 27 September 2011

Logical Questions: You are standing next to a well, and you have two jugs. ....

You are standing next to a well, and you have two jugs. One jug has a content of 3 liters and the other one has a content of 5 liters. How can you get just 4 liters of water using only these two jugs?

Solution 1: Fill the 5 liter jug. Then fill the 3 liter jug to the top with water from the 5 liter jug. Now you have 2 liters of water in the 5 liter jug. Dump out the 3 liter jug and pour what's in the 5 liter jug into the 3 liter jug. Then refill the 5 liter jug, and fill up the 3 liter jug to the top. Since there were already 2 liters of water in the 3 liter jug, 1 liter is removed from the 5 liter jug, leaving 4 liters of water in the 5 liter jug. Solution 2: Fill the 3 liter jug and pour it into the 5 liter jug. Then refill the 3 liter jug and fill up the 5 liter jug to the top. Since there were already 3 liters of water in the 5 liter jug, 2 liters of water are removed from the 3 liter jug, leaving 1 liter of water in the 3 liter jug. Then dump out the 5 liter jug and pour what's in the 3 liter jug into the 5 liter jug. Refill the 3 liter jug and pour it into the 5 liter jug. Now you have 4 liters of water in the 5 liter jug.

TCS Placement Paper On January 2010


TCS Placement Paper On January 2010
TCS ON 29th & 30th JANUARY:
Hi guys I am vamsi from CRR College of engineering, TCS came to our campus on 29th and 30th Jan 2010.
First there will be a pre placement talk, please listen it carefully and take some notes this may be very useful in interviews.
The exam is an online one, there is no sectional cutoff so attempt all of them. The pattern is the same as earlier.
There will be three sections.
1. Verbal-32 questions-20 minutes.
2. Aptitude section-38 questions-40 minutes.
3. Critical reasoning-12 questions-30 minutes.
Though the pattern is same the questions are a bit different from previous ones. Every person will get one section very tuff and the other two sections easy compared to it. I got verbal very toughly. The software used by them is QUBEX. There will be a timer at the top right corner of the window, after every one minute the window will refresh itself, if the time of the section is completed the next section starts immediately, so in the last minute try to attempt all the questions left because in aptitude section you will not have enough time for solving all of them.
VERBAL:
10 synonyms, 10 antonyms, passage containing 6 blanks and another passage having 6 questions.
I don’t know even one antonym and synonym I just kept B or C for all the questions. I read the passage for 7 minutes but can’t understand it properly. The question with blanks is comparatively easy one.

APTITUDE:

The questions in this section are totally different from the previous papers not even one question is repeated from them. They concentrated more on data sufficiency I got nearly 15 questions only on them and also they are very easy too.
This section is divided in to two groups.
The first one has 30 questions mainly questions on data sufficiency.
The second section has 8 questions on data interpretation. 2 parts comprising of 4 questions each. One is a passage and the other is bar or pie chart or both. It is better to answer these questions first because they are easy compared to other ones and as the time is not sufficient for answering all the questions.
I remember only a few models which I am giving here.
1.) How old will C be after 10 years?
Statement 1: Five years ago the average of A and B is 15 years. Statement 2: Average age of A, B and C is 20 years now.
a) Statement 1 is sufficient to answer but statement 2 alone is not enough.
b) Statement 2 is sufficient to answer but statement 1 alone is not enough.
c) Statement 1 or statement 2 is alone sufficient to answer.
d) Both statement 1 and statement 2 are not sufficient to answer the question.
e) Both statement 1 and statement 2 are together sufficient to answer the question.
Ans: e
2.) What is the ratio between two numbers? Statement 1: The sum of two numbers is twice their difference. Statement 2: The smaller number is 6. Ans: a
Options are same for all these type of questions.
3.) The sum of ages P, Q and R is 96 years. What is the age of Q? Statement 1: P is 6 years older than R. Statement 2: The total of ages of Q, R is 56 years. Ans: e
4.) What is the cost price of the article? Statement 1: The profit earned is one-third of the cost price. Statement 2: The article is sold for Rs.400. Ans: e
5.) A and B are in a partnership business of one year. At the end of the year, a profit of RS.20, 000 was earned. What is A’s share? Statement 1: A invested Rs.50, 000. Statement 2: B withdrew his capital after 8 months. Ans: d
6.) A and B together can complete a task in 7 days. B alone can do it in 20 days. What part of the work was carried out by A? Statement 1: A completed the job after A and B worked together for 5 days. Statement 2: Part of the work done by A could have been done by B and C together in 6 days. Ans: a
7.) How much time did X take to reach destination? Statement 1: The ratio between the speeds of X and Y are 3:4. Statement 2: Y takes 36 minutes to reach the destination. Ans: e
other questions can be answered very easily.
CRITICAL REASONING:
This section is same as the earlier papers i.e. most of them are from Barrons, but all the names are changed. I got a passage which is not from Barrons but it is very easy. I will give the details of the passages which I and my friends got but it is good to do all the passages in Barrons 12th edition which are having 4 or more questions. Try to solve them if not simply mug them up, even the order of questions and the options does not change.
1. Large and small universities –model paper 1–section 5–question no (8-12).
2. Eight varsity baseball players– model paper 2 – section 1 – question no (1-4).
3. Byram and Adoniaram – model paper 2 – section 6 – question no (1-4).
4. A, B, C and W may cause D– model paper 4 – section 6 – question no (8-12).
5. Scurvy- model paper 5 – section 7 – question no (21-25).
I cleared the written exam and the interviews are on the following day.
INTERVIEWS:
There said that there is no elimination after each round and once if you get in, technical, management and human resource rounds will be completed one after the other, but some of us are eliminated after technical round. The interview’s started at around 10.30 am. There is a team of 21 members from TCS. There are 10 TR, 4 MR and two HR panels.
It is good to prepare for the basic questions which are often asked and answer them with confidence, because what they check is your confidence level but not the level of knowledge you have.
1. Tell me about yourself?
2. Why TCS?
3. What do you know about TCS?
4. Why software?
5. Why should I hire you?
6. Your strengths and weakness?
7. Why your percentage is low (IF)? (My percentage is less and I faced this question in every round so guys if yours is less be prepared with a convincing answer)
It is always a good practice to ask questions when the interviewer gives you a chance. Because this shows the enthusiasm you have for the company. But don’t ask any stupid questions.
TECHNICAL ROUND:
I was called for the TR at around 2 pm, there are 2 members in the panel both are from ECE and I am from electrical.
Int1: Tell me about yourself?
Me: Told.
Int: Why software?
Me: Told.
Int: Took my file and started asking questions on the subjects in my mark lists….
Int: What is micro processor? Draw NAND gate? What is an IC? Diff b/w an IC and DC? What is stator, rotor? Components in a generator? Explain the principle of operation? What are a coil and some basic principles from electrical….
Me: Told most of them and If you don’t know them say I cant recall them or if you want some time take time I asked for some time and took 2 minutes to recall a concept and explained them.
Int: Do you have a pc at home? And what is its configuration?
Me: Told.
Int: How do you verify it? What is REGEDIT? And some other questions on it?
Int: Write any program you know in C?
Me: I started writing ARMSTRONG numbers program.
Int: Are you coming into software field for high salaries?
Me: No sir. I completed the program. He gave me another program and I wrote it.
Int: What is process to do a project?
Me: Told.
Int: Are you interested in doing a project individually or in a team?
Me: In a team sir.
Int: Why? Can you explain?
Me: Explained.
Int:You can be placed anywhere in India. Will you go?
Me: Yes sir.
Int: Can you work in any time or you have any limitations?
Me: Yes sir, I can work in any time, I have no such limitations.
Int: Do you have any questions?
Me: Yes sir and I asked him.
Int: Answered the question.
Int: Ok you can leave.
Me: They wished me all the best.
They will check some basic knowledge in our core subjects and some programming skills and confidence levels. So be cool while answering the questions.
Some of us completed the technical round in morning itself and are waiting for management round up to 3 pm and then they announced a list of 10 members who are eliminated in the technical round. Then I was called for management round.
MANAGEMENT ROUND:
Me: G.afnun sir.
Int: G.afnun, take your seat. What should I call you, with full name or just vamsi?
Me: Anything sir.
Int: How would you describe you?
Me: Told.
Int: What are your weaknesses?
Me: Told.
Int: Is that all?
Me: Yes sir.
Int: Why software?
Me: Told.
Int: Then why didn’t join in computers
?
Me: Told.
Int: Are you willing to go Sri Lanka if you are given job?
Me: Yes sir.
Int: If your parents don’t allow you?
Me: I will convince them sir.
Int: How?
Me: Told.
Int: What if you got an offer with more salary after some time in TCS? Will you leave the job?
Me: No sir. I won’t. (Who won’t?? Even the interviewer leaves the job if he gets one!!)
Int: Some more questions like goals, further studies etc.
Me: Explained them.
Int: OK. All the best.
The round is to test the management skills
of a person. In most of them stress tests are done i.e. they will be asking some questions to know how you behave under stress situations, you must stick to one ans only. In my interview I was confused that I contradicted my own statement which I didn’t. They will try to confuse you but be cool and answer them with confidence.
HR ROUND:
There are two lady hr’s for us. They only check the confidence levels of the student.
Me: Tell me about your family?
Int: Told.
Me: Why TCS?
Int: Told.
Me: What are values of TCS?
Int: Told.
Int: What is vision of TCS?
Me: Don’t know mam.
Int: Why your percentage is low?
Me: Told.
Int: What did you learn in the four years of your study here?
Me: Told.
Int: Are willing to go any where?
Me: Yes mam.
Int: Any questions?
Me: Asked a question on higher educational opportunities provided by TCS.
Int: She explained it.
Int: You can leave. All the best.
My h.r is over by 5 pm and they announced the results at 6.30 pm in the seminar hall. They took a total of 35 members from 58 who cleared written exam. Finally my name is announced and I am in TCS!!!!!!!!!!!!!!!!!!!!!!!!!
I would like to thank all, who have helped me directly or indirectly. My sister who helped me answer many questions in TR, MR and HR. Many people who have written their experiences and my friends.

Search here for "Freshers Jobs"