| Back to Questions Page | | Question |
About delegates and events? |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Kayalvizhy | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
Delegates in C#
If we look at C++ there is a feature called callback
function. This feature uses Pointers to Functions to pass
them as parameters to other functions. Delegate is a
similar feature but it is more type safe, which stands as a
stark contrast with C++ function pointers. A delegate can
hold reference/s to one more more functions and invoke them
as and when needed.
Any delegate is inherited from base delegate class of .NET
class library when it is declared. This can be from either
of the two classes from System.Delegate or
System.MulticastDelegate
If the delegate contains a return type of void, then it is
automatically aliased to the type of
System.MulticastDelegate
Events in c#
Delegate usefulness does not just lie in the fact that it
can hold the references to functions but in the fact that
it can define and use function names at runtime and not at
compile time. A large goal of design delegates is their
applicability in events model of .Net. Events are the
actions of the system on user manipulations (e.g. mouse
clicks, key press, timer etc.) or any event triggered by
the program
Example can be seen at
http://www.codersource.net/csharp_delegates_events.html  |
0 | Kishoreg | | |
| | | Question |
Whats the use of string builder? |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Kayalvizhy | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
Since C# strings are immutable, an existing string cannot
be modified. So, if one tries to change a string either
with the concatenation operator (+) or with the Insert,
PadLeft, PadRight, Replace, or SubString methods, an
entirely new string is created—leaving the original string
intact.
Therefore, operations which would alter strings—instead—
cause additional memory to be allocated. Memory is a scarce
resource. And, memory allocations are expensive in terms of
memory and performance. Consequently, sometimes String
class usage should be avoided.
The StringBuilder class is designed for situations when one
needs to work with a single string and make an arbitrary
number of iterative changes to it. Many StringBuilder class
methods are the same as those of the String class. However,
the string content of a StringBuilder class can be changed
without the necessity of allocating additional memory.
Thus, operations on the StringBuilder class will be much
faster than operations on the String class in certain
situations. Paradoxically, just the the opposite can be
true in other situations.
The String class is optimized and quite efficient for most
cases. On the other hand, if strings must be modified, then
the String class can be a real resource waster. It must be
appreciated that the String class is really very
intelligent in its memory handling in most everyday
programming situations.
Instead of the String class, use the StringBuilder class
when a single string must be modified repeatedly.  |
0 | Kishoreg | | |
| | | Question |
What is the difference between cookies and session? |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Kayalvizhy | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
State Management in APS.NET is managed by two ways:
Client-Side or Server-Side
Client-Side:Cookies,HiddenFields,ViewState and Query
Strings.
Serve-Side:Application,Session and Database.
COOKIE:
A cookie is a small amount of data stored either in a text
file on the client's file system or in-memory in the client
browser session. Cookies are mainly used for tracking data
settings. Let’s take an example: say we want to customize a
welcome web page, when the user request the default web
page, the application first to detect if the user has
logined before, we can retrieve the user informatin from
cookies:
[c#]
if (Request.Cookies[“username”]!=null)
lbMessage.text=”Dear “+Request.Cookies[“username”].Value+”,
Welcome shopping here!”;
else
lbMessage.text=”Welcome shopping here!”;
If you want to store client’s information, you can use the
following code:
[c#]
Response.Cookies[“username’].Value=username;
So next time when the user request the web page, you can
easily recongnize the user again.
SESSION:
Session object can be used for storing session-specific
information that needs to be maintained between server
round trips and between requests for pages. Session object
is per-client basis, which means different clients generate
different session object.The ideal data to store in session-
state variables is short-lived, sensitive data that is
specific to an individual session.
Each active ASP.NET session is identified and tracked using
a 120-bit SessionID string containing URL-legal ASCII
characters. SessionID values are generated using an
algorithm that guarantees uniqueness so that sessions do
not collide, and SessionID’s randomness makes it harder to
guess the session ID of an existing session.
SessionIDs are communicated across client-server requests
either by an HTTP cookie or a modified URL, depending on
how you set the application's configuration settings.
Every web application must have a configuration file named
web.config, it is a XML-Based file, there is a section
name ‘sessionState’, the following is an example:
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user
id=sa;password=" cookieless="false" timeout="20" />
‘cookieless’ option can be ‘true’ or ‘false’. When it
is ‘false’(default value), ASP.NET will use HTTP cookie to
identify users. When it is ‘true’, ASP.NET will randomly
generate a unique number and put it just right ahead of the
requested file, this number is used to identify users
[c#]
//to store information
Session[“myname”]=”Mike”;
//to retrieve information
myname=Session[“myname”];
this is briefly about cookies and sessions in ASP.NET  |
0 | Kishoreg | | |
| | |
| | | | Question |
write a Program to dispaly upto 100 prime numbers(without
using Arrays,Pointer) |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Guest | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
#include<stdio.h>
#include<conio.h>
void main()
{
int flag,x;
clrscr();
printf("1\t");
for(int i=1;i<=100;i++)
{
flag=0;
for(x=2;x<=i;x++)
{
if(i%x==0)
{
flag=1;
break;
}
else
continue;
}
if(i==x)
printf("%d\t",i);
}
getch();
}  |
5 | Abhay | | |
| | | Answer |
#include<iostream.h>
void main()
{
int n,a;
cout<<"enter the limit";
cin>>n;
for(i=1;i<=n;i++}
{
if(i=1)
{
cout<<"1 is neither a prime nor a composite no";
}
else if(i%1==0|i%i==0)
{
cout<<i<<"is a prime number";
}
}
}  |
0 | Sathya | | |
| | | Answer |
def shaf(n):
l=range(3,n+1,2)
mi=n
i=0
r=0
print l
while l[i]<n-1:
for j in range(2,l[i]):
if l[i]%j==0:
r=5
if r==0:
print l[i]
r=0
i=i+1
if __name__ == "__main__":
print "prime numbers from 2 to <101 "
shaf(100)  |
0 | Shabeer V C | | |
| | | Answer |
void main()
{
int i,j,m;
for(i=1;i<=100;i++
{
m=0
for(j=1;j<i;j++)
{
if(i%j==0)
m++;
}
if(m==0)
printf("%d",i);
getch();
}  |
0 | Karthik | | |
| | | Answer |
#include<Stdio.h>
#include<conio.h>
int main()
{
int i,j, flag = 0;
for(i=2;i<=100;i++)
{
for(j=2;j<i;j++)
{
if(i != j)
{
if(i%j != 0)
continue;
else
break;
}
}
if(i == j)
printf("%d ",i);
}
}  |
0 | Santhi Perumal | | |
| | | Question |
We have 2 sites in which one site allows the user with out
asking credentials and second one ask for credentials
through a log page. What might be the configurations
settings for both sites? We can use IIS and web.config
files together. |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Guest | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
First one using windows authentication as follows.
Set Windows authentication in IIS.
And in web.config
<authorization>
<deny users=”?”/>
</authorization>
For the second one.
We set IIS authentication as none. And in web.config file
we mention as follow.
<authentication mode=”forms”>
<forms login=”login.aspx”/>
</authentication>
<authorization>
<deny user=”?”/>
<authorization>
 |
0 | Guest | | |
| | | Question |
How do u identify the object that it is a standard object or not |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Shyam | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
while recording that object if it displys d script
like "obj_----" then it wud b a nonstandard object.  |
0 | Srujan | | |
| | | Answer |
To identify Standard and Non-Standard object,We have to Spy
the object using GUI SPY, For Example if you Spy a Text box
it displays "Edit" (in the recorded tab), or if u Spy on
pushbutton it displays "pushbutton". This is nothing but
Standard object,example calculator.
When u Spy on a paint window it displays "object" which
indicates that it is an partially identified object as WR
can identify but not fully.
when nothing is displayed on Spying it is Non standard
object,say for an example take a Minesweeper game and spy
it.  |
0 | Chanakyan | | |
| | | Answer |
While recording, winrunner identifies any standard
objects inside the application, it will take nearest lable
as the logical name.
E.g: Edit box ( attached text as a logical name)  |
0 | Sivakumar | | |
| | | Question |
Aditi placement paper _____ Placement Paper 2 |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Guest | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
aditi aptitude questions
SECTION 1-LOGICAL REASONING
Each of the following series of statements is followed by
four sets. Identify the set that is logically consistent.
EXAMPLE
1.
(a) The gap between the average starting salaries of
teachers and those of other professionals has shrunk in
recent years.
(b) The average age of first year teachers is same as it
was in 1975.
(c) Starting teachers are no longer underpaid.
(d) The extent of a persons formal education is a measure
by which to determine his level of salary.
(e) Over the last few years, the average starting salaries
of other professionals have increased by 20%
(a)ebd (b)bad (c)abc (d)aec
Answer is d; the statement a,e,c are logically sequenced.
Questions :
1.
(a) Japan now produces more semiconductors, than US.
(b) Semiconductors are one of the fastest growing industry
segments.
(c) A decade ago Japan was producing 24% and the US was
producing 22% of the worlds semiconductors, respectively.
(d) 10 years ago Japan ranked third in semiconductor
production.
(e) During the last 10 years Japans production of
semiconductors has increased by 500% while that of the us
has increased by 200%
(a)abd (b)cea (c) edc (d) bcd
2.
(a) Coding program 1 (b) Writing specifications for program
1
(c) Integrating program 1 with other programs (d) Testing
program 1
(e) Collecting cheque from the client of the program
(a)edcba (b)abcde (c)badce (d) abdce
3.
(a) Bob is older than Dinku and Ismer (b) Rahul is oldet
than Dinku
(c) Rahul is younger than Bob (d) Rahul is older than Ismer
(e) Dinku is older than Ismer
(a)edb (b)bcd (c)dab (d)abc
4.
(a) Defining the data type of the variable (b) Using the
variable (c) Declaring the variable
(d) Initializing the variable (e) Remove the variable from
the memory
(a)cadbe (b)abcde (c)cdb (d)acdbe
5.
(a) In the last six months the number of robberies at gun
point in the city has dropped by 18%
(b) Guns are necessary protection against robbers
(c) Strict gun control causes a decrease in violent crime
(d) Most crimes are committed with guns and knives
(e) Six months ago this city's council passed a gun control
law
(a)bda (b) acb (c) ebc (d) eac
6.
(a) All missiles follow a fixed trajectory (b) The
boomerang requires a high degree of skill
(c) A boomerang is a missile (d) The boomerang is used by
Australian aborigines to hunt
(e) A boomerang normally has an elliptical flight path
(a) adc (b)aec (c) cba (d) ebd
7.
(a) Saving the source file (b) Compiler execution (c) Pre-
processor execution
(d) Bug fixing (e) Reading the error file
(a)eabcd (b)acbed (c)abced (d)cbeda
8.
(a) But if powers that be, extended any, how will be the
first one to take might claim
(b) I don't believe in seeking special privileges because
I'm a woman
(c) Let me explain this in context of what happened the
other
(a)bac (b)acb (c) bca (d) abc
9.
(a) A long search produce a comprehensive list of 203
manufacturing firms
(b) The number of workers employed by the firms in the area
ranged from a dozen to approximately 3500
(c) Those concerned with mining and quarrying,
construction ,transport, trade and commerce were excluded
(d) The investigation was confined to manufacturing firms
in the area
(a)bcda (b) bcab (c)abcd (d)dabc
10.
(a) The quickly came back with pots laden with water
(b) The water gurgled out and the dying embers hissed and
send up little curls of vapour
(c) The poured it on the glowing bed of charcoal
(d) The men jumped up and rushed to the river
(a)acdb (b)bacb (c)dabc (d)dcba
SECTION 2-DATA SUFFICIENCY
Each item has a question followed by two statements :
Mark a: If the question can be answered with the help of
statement "1" alone
Mark b: If the question can be answered with the help of
statement "2" alone
Mark c: If the question can be answered with the help of
both the statements but not with the help of either
statement by itself
Mark d: If the question cannot be answered even with the
help of both the given statements
Example:
1. Does winking improve eye sight?
1) During the process of winking the focal power of eyes
improves
2) Experiments have shown that eye exercise lead to an
improvement in eye sight
Answer: d because neither 1 or 2 is adequate.
Questions :
11. Each floor of a 3 storeyed building is occupied and a
total of 15 people live in the building. How many live on
the first floor?
1) The no. of people living in the first floor is an odd
number
2) The no. of people living on the first floor double the
number living on the second floor
12. Program 1 can be implemented
1) Program 1 is tested and error free
2) The implementation site is ready
13. The sum of digits of a 5 digit no. is 10. The digit in
the ten thousandth place is cube of that of units place.
what is the number.
1) The digits in the thousandth, hundredth and tenth place
are equal
2) The digit in the units and tenth place are not equal
14. If I deposit Rs.1000 in the bank now and withdraw the
amount only at the end of the year how much will I get?
1) The rate of compound interest is 12% per year
2) The interest is deposited in the account at the end of
every six months
15. Variable "X" is an address variable.
1) The value of variable "X" is "adbcf"
2) Program has a statement X =&Y
16. Is white color the best reflector of light?
1) The lower a color's reflection index the better its
power of reflection
2) White has a reflection index of 0.28
17. Does Mehta work in an advertising agency?
1) Mehta begins work at 9 am in the morning and works till
9 in the night
2) Mehta is a copywriter
18. Is it true that Maggi Noodles success was largely due
to its ability to satisfy a latent consumer need?
1) Before the entry of Maggi Noodles, Others did not have
access to a food item which was convenient to prepare and
could be consumed between meals.
2) Maggi Noodles was an instant hit with ladies who had
children in the range of 10 to 12 years
19. Sachin wrote Program 1
1) It is found in the directory c:\user\sachin
2) Sachin tested Program 1
20. Are all Argots also Knicks?
1) All Argots are Drones
2) All Drones are Knicks
21. Does classical music aid plant growth?
1) Music aids in the development of sugar in plants.
2) In an experiment conducted, its was observed that plants
exposed to classical music grew by 5cm more than plants not
exposed to classical music in the same period.
22. Are cheques the safest method of making a payment.
1) Cheques are more convenient than cash in making and
resolving payments.
2) Payment by cheques eliminate the risk involved in
handling cash.
23. Networking is working fine.
1) Computer A is able to talk to Computer B
2) Both Computer A & B are Pentium Machines.
24. Is it true that smiling is easier than frowning?
1) Smiling requires the movement of 14 facial muscles while
frowning requires the movement of 24 facial muscles.
2) Moving every facial muscles requires the same amount of
effort.
25. Is it true that the Carpenter lives on the first floor.?
1) the Barber lives two floors above the black smith who in
turn stays one floor above the carpenter.
2) the blacksmith lives two floors above the weaver who
lives one floor below the carpenter in a three storeyed
building.
aditi analytical interview questions
SECTION 3 - ANALYTICAL
Questions 26-29 are based on the following:
At a formal dinner for 8, the host and the hostess are
seated at opposite ends of a rectangular table, with 3
persons along each side. Each man must be seated next to at
least to 1 woman, and vice versa. Alan is opposite to
Diana, who is not the hostess. George has a woman on his
right and is opposite to a woman. Helga is at the hostess's
right, next to Frank. One person is seated between Belinda
and Carol.
26.The 8th person present, Eric must be
(a) the host
(b) seated to Diana's right
(c) seated opposite to Carol
(a)a only (b)c only (c)b and c (d)a, b and c
27. If each person is placed directly opposite to his or
her spouse, which of the following pairs must be married.
a)George and Helga
b)Belinda and Frank
(c)Carol and Frank
(d)George and Belinda
28. Which person is not seated next to a person of the same
sex.?
(a)Alan (b) Belinda (c) Carol (d) Diana
29. George is bothered by the cigarette smoke of his
neighbor and exchanges seats with the person 4 places to
his left. Which of the following must be true following the
exchange?
(a) No one is seated between two persons of the opposite
sex.
(b) one side of the table consists entirely of persons of
the same sex.
(c) Either the host or hostess has changed seats
(a) A only (b)C only (c)A and B (d)B and C
Questions 30 - 33 are based on the following:
The hotel Miramar has two wings, the east wing and the west
wing. Some east wing rooms but not all, have an ocean view.
All west wing rooms have a harbor view. The charge for all
rooms is identical except for the following.
There is an extra charge for all harbor view rooms on or
above third floor. There is an extra charge for all ocean
view rooms except those without balcony. Some harbor view
rooms on the first two floors and some east wing rooms
without ocean view have kitchen facilities for which there
is an extra charge. Only the ocean view and harbor view
rooms have balconies.
30. A guest may avoid an extra charge by requesting
(a)A west wing room on one of the first two floors.
(b)A west wing room on the fourth floor without balcony.
(c)An East wing room without balcony. (d)Any room without
kitchen.
31. Which of the following must be true if all conditions
are as stated?
(a)All rooms above the third floor involves extra charges.
(b)No room without an ocean or harbor view or kitchen
facilities involves extra charge.
(c)There is no extra charge for an east wing room without
ocean view.
(d)There is no extra charge for any room without Kitchen
facilities.
32. which of the following must be false if all conditions
are as stated?
(a)some ocean viewing rooms do not involve an extra charge
(b)all rooms with kitchen facilities involve an extra charge
(c)some west viewing rooms above the second floor do not
involve an extra charge
(d)some harbor viewing rooms do not involve an extra charge
33. Which of the following can not be determined on the
basis of the information given?
(a)whether there are any rooms without a balcony for which
extra charge is imposed
(b)whether any room without at kitchen or a view involves
an extra charge
(c)whether two extra charges are imposed for any room (d)
none of the above
Questions 34 to 37 are based on the following:
Four cards of different suits are dealt one apiece to A, B,
C and D.
B says: Mine is not a club. A says: Mine is not a spade.
D says: Mine is not a diamond. C says: Mine is not a spade.
A says: Mine is not a heart.
34. A held
(a)heart (b)clubs (c)diamonds (d) spade
35. B held
(a)heart (b)clubs (c)diamonds (d)spade
36. C held
(a)heart (b)clubs (c)diamonds (d)spade
37. D held
(a) heart (b) clubs (c) diamonds (d)spade
Questions 38 to 40 are based on the following:
In a magical temple there are 3 doorways each leading to
the interior of the temple. Every door way has an idol just
inside. The magical powers of the temple doubles the
flowers a devotee carries every time he/she passes under a
doorway. Each devotee has to pass on straight through the
doorway and cannot retrace his steps till he comes to the
innermost idol.
38. Ram carries X flowers at each idol he places an
identical number of flowers Y. He returns from the temple
without a single flower. X was most probably
(a)2 (b)5 (c)6 (d)7
39. In the situation above Y was most probably
(a) 8(b)5(c)6(d)7
40. If Sita took 8 flowers to the temple and offered 4
flowers each to the first two idols then by the time she
faces the third idol she has
(a)40 flowers (b)36 flowers (c)52 flowers (d) 56 flowers
Aditi placement paper ( aptitude questions)
SECTION 4 - COMPUTATIONAL
41. 2 passengers have together 560 kgs of luggage and are
charged for the excess above the weight allowed at 10$ and
26$. If all the luggage had belonged to one of them he
would have to pay 46$. The amount of luggage each passenger
is allowed without any charge is
(a)100 kg (b)150 kg (c)160 kg (d)Insufficient data
42. 6 pigs cost the same as 9 sheep. 27 sheep cost the same
as 30 goats. 50 goats cost the same as 3 elephants. If two
elephants cost $4800, then the cost of one pig in dollar is
(a)120 (b)240 (c)105 (d)250
43. A wholesaler allows a discount of 20 % on the list
price to the retailer. The retailer sells at 5% below the
list price. If the customer pays Rs.19 for an article what
profit is made by the retailer on it?
(a)Rs.2 (b)Rs.3 (c)Rs.4 (d)Rs.4.5
44. A circular metal plate of even thickness has 12 holes
of radius 1 cm drilled into it. As a result the plate lost
1/6th its original weight. The radius of the circular plate
is
(a)16sqrt2 (b)8sqrt2 (c)32sqrt2 (d)sqrt72
45. 3 machines a,b,c can be used to produce a product.
Machine a will take 60 hours to produce a million units.
Machine b is twice as fast as machine a. Machine c takes
the same amount of time as machine a and b taken together.
How much time will be required to produce a million units
if all the three machines are used simultaneously?
(a)12 hours (b)10 hours (c)8 hours
Aditi placement papers  |
0 | Guest | | |
| | | Answer |
thanks  |
0 | Saravana | | |
| | | Question |
Aditi placement paper |
Rank |
Answer Posted By | |
Interview Question Submitted By :: Guest | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
Aditi placement paper
SECTION 1-APTITUDE
Directions for question 1-10:
Each question comprises four scattered segments of a
sentence. Identify from among the four choices the
sequences that correctly assembles the segments and
completes the sentence.
1. A. Anniversaries can be dicey things.
B. As long as the dead are being commemorated on a
particular day, it is fine.
C. The opposition could keep its gun powder dry and
ready as well.
D. But when it comes to a government celebrating a
year or two in office, there can be trouble.
(a) DACB
(b) CADB
(c) ABDC
(d) BCDA
2. A. It is less concerned with telling a tale.
B. As with so much Huxley's later fiction, one is not
sure whether or not to call this book a true novel.
C. It is also weak on characterization but strong on
talk.
D. Than with presenting an attitude of life.
(a) CBDA
(b) BADC
(c) ABDC
(d) DCBA
3. A. While the above is true for private sector
companies, it is not so in the public limited companies.
B. But with the removal of control over premia, the
premia at which issues are marked has gone up quite sharply.
C. So the cost of capital at even a lower debt equity
ratio comes out lower.
D. Traditionally, the cost of equity is higher than
the cost of debt.
(a) DBCA
(b) BADC
(c) ACDB
(d) CDAB
4. A. Compiling and debugging.
B. Testing.
C. Writing the code.
D. Thinking of the algorithm.
E. Understanding the problem
(a) DBECA
(b) CDABE
(c) ACDBE
(d) EDCAB
5. A. Such alliances are shaky from the start.
B. In this manner parties which are not able to get a
mandate from the electorate are able to come to power.
C. We have seen the unique spectacle of political
forming alliance just to form a government.
D. Indian democracy continues to amaze.
(a) ADBC
(b) BADC
(c) DCBA
(d) BDCA
6. A. They are the three faces of dysphoria - bad feeling.
B. Anxiety, Depression and Anger.
C. When the three combine and get out of control, we
get what is called mental illness.
D. All of us experience three emotions almost daily.
(a) ACDB
(b) CBDA
(c) CADB
(d) DBAC
7. A. This is the key to tap the creative power inside us.
B. It is difficult to control our thinking and
feelings.
C . That is, unless we work at it conciously and
persistently.
D. We are influenced and limited by attitudes,
prejudices by other individuals and by external conditions
to such an extent that few can control mental and emotional
processes.
(a) ACDB
(b) BDCA
(c) CADB
(d) DBAC
8. A. Two vital facts must be understood.
B. The subconscious mind has the power to create.
C. The second is that it obeys the orders given to it
by the conscious mind.
D. Its function is to bring to full expression whatever
is desired by the conscious mind.
(a)ABCD
(b) CBDA
(c) ADBC
(d) DBAC
9. A. But what is not often understood is that this flash
is outcome of long periods of incubation.
B. The layman thinks that it is a spell of divine
flash which illuminates the dark and the hidden.
C. True, it does.
D. Inspiration is much misunderstood term.
(a) DBAC
(b) ACBD
(c) DBCA
(d) CADB
10. A. As a result, the world has undergone a
transformation.
B. Science and civilization have made rapid strides
especially in recent times.
C. This constitutes the basic factor in the use of
productive resources.
D. But behind all the progress of mankind is the
human factor which is invaluable and irreplaceable.
(a) ABDC
(b) BADC
(c) DCAB
(d) CBDA
Directions for questions 11-20: Each problem contains a
question and two statements giving certain data. You have
to select the correct answer from (a) to (d) depending on
the sufficiency of the data given in the statements to
answer the question. Mark your answer as
(a) If statement (I) alone is sufficient.
(b) If statement (II) alone is sufficient.
(c) If both (I) and (II) together are sufficient but
neither of statements alone is sufficient.
(d) Either of the statements (I) and (II) is sufficient.
(e) If statements (I) and (II) together are not sufficient.
11. What is the distance from City A to City C in kms?
(I) City A is 90 kms from City B.
(II) City B is 30 kms from City C.
12. Is z less than w? z and w are real numbers.
(I) z2 = 25
(II) w = 9
13. The value of an estate in January 1905 started
gradually declining in such a way that at the end of each
year it was worth only x times its value at the beginning
of the year. What was its worth in end December 1910 ?
(I) It was worth Rs.10,109 in the end of December 1906.
(II)It was worth Rs.12,345 in the beginning of January 1905.
14. In an election, 3 candidates A,B and C were
representing for a membership of parliament. How many votes
did each receive?
(I) A received 1006 votes more than B and 1213 more votes
than C.
(II) Total votes cast were 15,414.
15. John studies Chinese in a school. Which school does he
attend?
(I) All students in Jefferson High school take French.
(II) Maysville High School offers only Chinese.
16. How many girls passed the entrance exam this year?
(I) Last year 560 girls passed
(II) This year there was a 10% decrease over last year in
the number of failures.
17. What is Raju's age?
(I) Raju, Vimala and Kishore are all of the same age.
(II) Total age of Vimala, Kishore and Abishek is 32 and
Abishek is as old as Vimala and Kishore together.
18. Is Sreedhar eligible for an entry pass to the company
premisers?
(I) The company does not allow strangers to enter the
company.
(II)All employees are elgible to get a pass.
19. Among five friends who is the tallest?
(I) D is taller than A and C.
(II)B is shorter than E but taller than D.
20. Can a democratic system operate without effective
opposition?
(I) The opposition is indispensable.
(II) A good statesman always learns more from his opponents
than from
his fervent supporters.
Directions for question 1-2 : Answer the questions based on
the passage above them
A temple has 3 gateways, each of them is leading you into
the temple, and at the end of each gateway there is an idol
and as a devotee passes through the gateway with some
flowers the number of flowers double. Ram enters the 1st
gateway with some flowers and he puts same number of
flowers at each idol and the end he is left with none.
21. How many flowers did Ram start with?
(a) 4
(b) 5
(c) 3
(d) 7
22. How many flowers does he put at each idol?
(a) 10
(b) 8
(c) 6
(d) 5
Directions for question 3-5 : Answer the questions based on
the passage above them
Liz, Jenni, Jolie and Rick have an English final on Friday
and they all would like to study together at least once
before the test.
Liz can study only on Monday, Tuesday and Wednesday nights
and Thursday afternoon and night.
Jenni can study only on Monday, Wednesday and Thursday
nights and Tuesday afternoon and night.
Jolie can study only on Wednesday and Thursday nights,
Tuesday afternoon and Monday afternoon and night.
Rick can study the afternoons and nights of Tuesday,
Wednesday and Thursday, and on Monday afternoon.
23. If the group is to study twice, then the days could be
(a) Monday and Wednesday
(b) Tuesday and Thursday
(c) Wednesday and Thursday
(d) Monday and Friday
(e) Tuesday and Wednesday
24. If three of them tried to study together when all four
couldn't
(a) this would be possible twice
(b) it would have to be on Wednesday night
(c) Rick could not attend the three person groups
(d) This could be accomplised on Monday and Tuesday only
(e) This would not be possible
25. If Liz decided to study every night,
(a) she would never be able to study with Rick
(b) she would never be able to study with Jolie
(c) she would have at least two study partners each night
(d) she would have to study alone on Monday night
(e) she would study with only Jenni on Thursday night
SECTION 2-COMPUTER AWARENESS (15 questions)
NOTE : The questions are of multiple choice format in the
paper
1. What is the number of functions of a three variable
boolean function?
2. Which is the most commonly used replacement algorithm?
Ans. LRU
3. Which memory management technique involves dividing the
memory into fixed sized blocks?
Ans. Paging
4. What is video resolution ?
5. The processing speed of a microprocessor depends on
_____?
Ans. data bus width
SECTION 3: C TEST
NOTE: The questions are of multiple choice format in the
paper
1. What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
2. What is the output of the following program
#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
}
3. What is the memory allocated by the following
definition ?
int (*x)[10];
4. What is the memory allocated by the following
definition ?
int (*x)();
5. In the following program segment
#include<stdio.h>
main()
{
int a=2;
int b=9;
int c=1;
while(b)
{
if(odd(b))
c=c*a;
a=a*a;
b=b/2;
}
printf("%d\n",c);
}
How many times is c=c*a calculated?
6. In the program segment in question 5 what is the value
of a at the end of the while loop?
7. What is the output for the program given below
typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}
8. Give the output for the following program.
#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}
9. Give the output for the following program segment.
#ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
10. In the following program
#include<stdio.h>
main()
{
char *pDestn,*pSource="I Love You Daddy";
pDestn=malloc(strlen(pSource));
strcpy(pDestn,pSource);
printf("%s",pDestn);
free(pDestn);
}
(a)Free() fails
(b)Strcpy() fails
(c)prints I love You Daddy
(d)error
11. What is the output for the following program
#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}
HR INTERVIEW
1. First they will ask u to intro urself.
2. Ur strength and weakness.Be clear abt
this
3. Ur acheivements
4. hey are very particular abt the GAPS in
our studies.
5. Ur Hobbies
6. Why u choose accenture and tell abt it
7. Willing to relocate.(Say Yes &.ready to
work anywhere for accenture)
Technical Interview
8. Abt Ur project.(u will be grilled by
them)
9. Be confidence.(They will check ur
temper by asking some questions)
10. Abt software development life cycle
11. Abt ur interest area in computer field
12. Abt memory management in Operating System.
13. Abt Unix basic commands
14. Abt doubly linked list
15. Fibonacci series and palindrome program in
C
16. Abt Gates(Be prepare on Digital Circuit
Logic Design)
17. Abt complier design(phases)
18. bt TCP&IP and OSI Model.
19. Abt OOPS concepts.
Aditi placement paper
 |
0 | Guest | | |
| | | Answer |
thanks  |
0 | Saravana | | |
| | | Question |
What is the output for the following program
#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}
|
Rank |
Answer Posted By | |
Interview Question Submitted By :: Rajesh | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
1  |
0 | Chanda_ni | | |
| | | Answer |
0  |
0 | Jaya Prakash | | |
| | | Answer |
it gives syntax error  |
0 | Jyothi | | |
| | | Question |
#ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
|
Rank |
Answer Posted By | |
Interview Question Submitted By :: Rajesh | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
Compilation error since 1) TRUE definition is not visible
in above program, 2) i variable is not declared.  |
0 | Jai | | |
| | | Answer |
compailer error  |
0 | Vignesh1988i | | |
| | | Question |
Give the output for the following program.
#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}
|
Rank |
Answer Posted By | |
Interview Question Submitted By :: Rajesh | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
-1 -1  |
0 | Syamkumarm | | |
| | | Question |
What is the output for the program given below
typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}
|
Rank |
Answer Posted By | |
Interview Question Submitted By :: Rajesh | |
I also faced this Question!! |
© ALL Interview .com | | Answer |
1  |
0 | Chris_sreekanth | | |
| | | Answer |
In linux you get following error
enum.c:2: error: `BAD' redeclared as different kind of symbol
enum.c:2: error: previous declaration of `BAD'  |
0 | Fefrf | | |
| | |
| |
|
Back to Questions Page |
|