37.The letters A, B, C, D, E, F and G, not necessarily
in that order,
stand for seven consecutive integers from 1 to 10
D is 3 less than A
B is the middle term
F is as much less than B as C is greater than D
G is greater than F
1. The fifth integer is
(a) A
(b) C
(c) D
(d) E
(e) F
Ans. (a)
2. A is as much greater than F as which integer is
less than G
(a) A
(b) B
(c) C
(d) D
(e) E
Ans. (a)
3. If A = 7, the sum of E and G is
(a) 8
(b) 10
(c) 12
(d) 14
(e) 16
Ans. (a)
4. A - F = ?
(a) 1
(b) 2
(c) 3
(d) 4
(e) Cannot be determined
Ans. (a)
5. An integer T is as much greater than C as C is
greater than E. T
can be written as A + E. What is D?
(a) 2
(b) 3
(c) 4
(d) 5
(e) Cannot be determined
Ans. (a)
6. The greatest possible value of C is how much
greater than the
smallest possible...
Sunday, 30 October 2011
Thursday, 20 October 2011
Frequently Asked microcontroller Interview questions
1. What are the flags in 8086? - In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.
2. What are the various interrupts in 8086? - Maskable interrupts, Non-Maskable interrupts.
3. What is meant by Maskable interrupts? - An interrupt that can be turned off by the programmer is known as Maskable interrupt.
4. What is Non-Maskable interrupts? - An interrupt which can be never be turned off (ie.disabled) is known as Non-Maskable interrupt.
5. Which interrupts are generally used for critical events? - Non-Maskable interrupts are used in critical events. Such as Power failure, Emergency, Shut off etc.,
6. Give examples for Maskable interrupts? - RST 7.5, RST6.5, RST5.5 are Maskable interrupts
7. Give...
Written Interview Apptitude Questions
1.Three types of tea the a,b,c costs Rs. 95/kg,100/kg and70/kg respectively.
How many kgs of each should be blended to produce 100 kg of mixture worth Rs.90/kg,
given that the quntities of band c are equal
a)70,15,15
b)50,25,25
c)60,20,20
d)40,30,30
Ans: (b)
2.What is the maximum number of half-pint bottles of cream that can be filled with a 4-gallon can of cream (2 pt. =1 qt. and 4 qt. =1 gal)
A.16
B.24
C.30
D.64
Ans: D
3.There are two circles, one circle is inscribed and another circle is circumscribed over a square. What is the ratio of area of inner to outer
circle?
Ans: 1 : 2
4.In the following figure: A B C
D
E F G
H
I
Each of the digits 1, 2, 3, 4, 5, 6, 7, 8, and 9 is:
a)Represented by a different letter in the figure above.
b) Positioned in the figure...
Wednesday, 19 October 2011
Embedded systems Frequently Asked interview questions
1. Can structures be passed to the functions by value?
2. Why cannot arrays be passed by values to functions?
3. Advantages and disadvantages of using macro and inline functions?
4. What happens when recursion functions are declared inline?
5. Scope of static variables?
6. Difference between object oriented and object based languages?
7. Multiple inheritance - objects contain howmany multiply inherited ancestor?
8. What are the 4 different types of inheritance relationship?
9. How would you find out the no of instance of a class?
10. Is java a pure object oriented language? Why?
11. Order of constructor and destructor call in case of multiple inheritance?
12. Can u have inline virtual functions in a class?
13. When you inherit a class using private keyword which members of base class are visible...
Tuesday, 18 October 2011
Interview Puzzles I
1.There is a game which is being played by 2 persons A and B. The 2 players start the game keeping identical 50 paise coins on a blank board alternately. The 50 paise coins can be kept in the board such that no part of the coin is outside the board. It can touch the board edge but cannot protrude outside the board. The two players can place the coins anywhere on the board. The coins placed during the course of the game can touch each other at the periphery but cannot overlap with the already placed coins.
The player who has space to place the last coin is the winner i.e the player placing the last coin on the board with no space available for the opponent is the winner. If you are one of the players, what will your strategy be so that you definitely win?
Answer:-
1. I shall keep...
Java Important Interview FAQ
What are Encapsulation, Inheritance and Polymorphism?- Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse. Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions.
What is OOPs?- Object oriented programming organizes a program around its data, i. e. , objects and a set of well defined interfaces to that data. An object-oriented program can be characterized as data controlling access to code.
What are Class, Constructor and Primitive data types?- Class is a template for multiple objects with similar features and it is a blue print for objects. It defines...
Written interview apptitude Questions II
46. Six swimmers A, B, C, D, E, F compete in a race.
The outcome is as
follows.
i. B does not win.
ii. Only two swimmers separate E & D
iii. A is behind D & E
iv. B is ahead of E , with one swimmer intervening
v. F is a head of D
1. Who stood fifth in the race ?
(a) A
(b) B
(c) C
(d) D
(e) E
Ans: (e)
2. How many swimmers seperate A and F ?
(a) 1
(b) 2
(c) 3
(d) 4
(e) cannot be determined
Ans: (d)
3. The swimmer between C & E is
(a) none
(b) F
(c) D
(d) B
(e) A
Ans: (a)
4. If the end of the race, swimmer D is disqualified
by the Judges
then swimmer B finishes in which place
(a) 1
(b) 2
(c) 3
(d) 4
(e) 5
Ans: (b)
47. Five houses lettered A,B,C,D, & E are built in a
row next to each
other. The houses are lined up in the order A,B,C,D, &
E. Each of the
five houses has a colored...
Monday, 17 October 2011
Technical Questions On Computer Architecture and Design
1. What is pipelining?
2. What are the five stages in a DLX pipeline?
3. For a pipeline with ‘n’ stages, what’s the ideal throughput? What prevents us from achieving this ideal throughput?
4. What are the different hazards? How do you avoid them?
5. Instead of just 5-8 pipe stages why not have, say, a pipeline with 50 pipe stages?
6. What are Branch Prediction and Branch Target Buffers?
7. How do you handle precise exceptions or interrupts?
8. What is a cache?
9. What’s the difference between Write-Through and Write-Back Caches? Explain advantages and disadvantages of each.
10. Cache Size is 64KB, Block size is 32B and the cache is Two-Way Set Associative. For a 32-bit physical address, give the division between Block Offset, Index and Tag.
11. What is Virtual Memory?
12. What is Cache...
Sunday, 16 October 2011
Technical Questions on Digital Electronics
if we are measuring dc voltage of battery then why would we get ac voltage component in it?
A signed no is stored in 10-bit register, what is the max and min possible value of the number. Cadence
Which range of signals are used for terrestrial transmission?
what happen when unit step signal is applied to a integrater circuit.explain with graph BARC
How can you convert an SR Flip-flop to a JK Flip-flop?
differnce between timer & counter TCS
HI FRDS AM saranya i did BE (2009 PASSOUT)I PLAN TO DO DOTNET. CAN ANYBODY TELL ME WHICH TRINEE CENTRE WILL BE BEST FOR DOTNET WITH PLACEMENTS
What are Rectifiers and what is the use of it?
i/p sec of atransformer is 230V 5a o/p spc is 12v 1a so i/p power will be 1150w o/p power will be 12w then how the power transfer theorm...
Technical Interview PHP tutorial
Here is some PHP Interview Questions, that will helpfull to PHP Interview Candidates
1. What is CAPTCHA?
CAPTCHA stands for Completely Automated Public Turing Test to tell Computers and Humans Apart. To prevent spammers from using bots to automatically fill out forms, CAPTCHA programmers will generate an image containing distorted images of a string of numbers and letters. Computers cannot determine what the numbers and letters are from the image but humans have great pattern recognition abilities and will be able to fairly accurately determine the string of numbers and letters. By entering the numbers and letters from the image in the validation field, the application can be fairly assured that there is a human client using it. To read more look here:
http://en.wikipedia.org/wiki/Captcha
2....
Technical Interview "C" Q & A Part 2
Predict the output or error(s) for the following:
1. main()
{
int i, n;
char *x = “girl”;
n = strlen(x);
*x = x[n];
for(i=0; i
{
printf(“%s\n”,x);
x++;
}
}
Answer:
(blank space)
irl
rl
l
Explanation:
Here a string (a pointer to char) is initialized with a value “girl”. The strlen function returns
the length of the string, thus n has a value 4. The next statement assigns value at the nth location
(‘\0’) to the first location. Now the string becomes “\0irl” . Now the printf statement prints the
string after each iteration it increments it starting position. Loop starts from 0 to 4. The first
time x[0] = ‘\0’ hence it prints nothing and pointer value is incremented. The second time it prints
from x[1] i.e “irl” and the third time it prints “rl” and the last time it prints “l” and...
Saturday, 15 October 2011
Technical interview "C " Q & A
Predict the output or error(s) for the following:
1. void main()
{
int const * p=5;
printf("%d",++(*p));
}
Answer:
Compiler error: Cannot modify a constant value.
Explanation:
p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".
2. main()
{
char s[ ]="man";
int i;
for(i=0;s[ i ];i++)
printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]);
}
Answer:
mmmm
aaaa
nnnn
Explanation:
s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally array name is
the base address for that array. Here s is the base address. i is the index number/displacement from the
base address. So, indirecting it with * is same as s[i]. i[s] may be surprising. But in the case of C
it is same as s[i].
3. main()
{
float me = 1.1;
double...
Tough interview questions on EJB
How EJB Invocation happens? - Retrieve Home Object reference from Naming Service via JNDI. Return Home Object reference to the client. Create me a new EJB Object through Home Object interface. Create EJB Object from the Ejb Object. Return EJB Object reference to the client. Invoke business method using EJB Object reference. Delegate request to Bean (Enterprise Bean).
Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB? - You can pass the HttpSession as parameter to an EJB method, only if all objects in session are serializable.This has to be consider as passed-by-value, that means that it’s read-only in the EJB. If anything is altered from inside the EJB, it won’t be reflected...
Friday, 7 October 2011
EJB interview questions
What are the different kinds of enterprise beans? - Different kind of enterrise beans are Stateless session bean, Stateful session bean, Entity bean, Message-driven bean.
What is Session Bean? - A session bean is a non-persistent object that implements some business logic running on the server. One way to think of a session object.
What is Entity Bean? - The entity bean is used to represent data in the database. It provides an object-oriented interface to ____.
What are the methods of Entity Bean? - An entity bean consists of 4 groups of methods, create methods.
What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP) ? - Container-managed persistence (CMP) and bean-managed persistence (BMP). With CMP, the container...
Thursday, 6 October 2011
Java Frequently Asked Questions
What is interface and its use?- Interface is similar to a class which may contain method’s signature only but not bodies and it is a formal set of method and constant declarations that must be defined by the class that implements it. Interfaces are useful for: a)Declaring methods that one or more classes are expected to implement b)Capturing similarities between unrelated classes without forcing a class relationship. c)Determining an object’s programming interface without revealing the actual body of the class.
What is an abstract class?- An abstract class is a class designed with implementation gaps for subclasses to fill in and is deliberately incomplete.
What is a cloneable interface and how many methods does it contain?- It is not having any method because...
Monday, 3 October 2011
Interview at IBM
A reader interviewed with IBM and sent the following questions in:
I have a scale and 7 balls. 1 ball is heavier than all the rest. How do I determine the heaviest ball with only 3 possible weighing attempts?
What is a linked list?
Name an advantage of linked list over array?
Name an advantage of array over linked list?
Have you ever used threads?
Should you protect the global data in threads? Why or why not?
Have you ever interfaced with a database?
Tell us about yourself.
Questions about specific resume entries.
Given two strings like x=”hello” and y=”open”, remove any character from string x which is also used in string y, thus making the result x=”hll...
Sunday, 2 October 2011
Electrical engineer interview questions
What types of CMOS memories have you designed? What were their size? Speed? Configuration Process technology?
What work have you done on full chip Clock and Power distribution? What process technology and budgets were used?
What types of I/O have you designed? What were their size? Speed? Configuration? Voltage requirements? Process technology? What package was used and how did you model the package/system? What parasitic effects were considered?
What types of high speed CMOS circuits have you designed?
What transistor level design tools are you proficient with? What types of designs were they used on?
What products have you designed which have entered high volume production?
What was your role in the silicon evaluation/product ramp? What tools did you use?
If not...
Saturday, 1 October 2011
Electronic engineer interview questions
What is D-FF?
What is the basic difference between Latches and Flip flops?
What is a multiplexer?
How can you convert an SR Flip-flop to a JK Flip-flop?
How can you convert an JK Flip-flop to a D Flip-flop?
What is Race-around problem? How can you rectify it?
Which semiconductor device is used as a voltage regulator and why?
Explain an ideal voltage source?
Explain zener breakdown and avalanche breakdown?
What are the different types of filters?
What is the need of filtering ideal response of filters and actual response of filters?
What is sampling theorem?
What is impulse response?
Explain the advantages and disadvantages of FIR filters compared to IIR counterparts.
What is CMRR?
Explain half-duplex and full-duplex communication?
Which range of signals is used for...