Company : TISL
VERBAL
1.Depreciation: deflation, depression, devaluation, fall, slump
2.Depricate : feel and express disapproval,
3. incentive : thing one encourages one to do (stimulus)
4. Echelon : level of authority or responsibility'
5. Innovation : make changes or introduce new things
6. Intermittent : externally stopping and then starting
7. Detrimental: harmful
8. Conciliation : make less angry or more friendly
9. orthodox: conventional or traditional, superstitious
10. fallible : liable to error
11. volatile : ever changing
12. manifest: clear and obvious
13.connotation : suggest or implied meaning of expression
14. Reciprocal: reverse or opposite
15. Agrarian : related to agriculture
16. vacillate : undecided or dilemma
17.. expedient : fitting proper, desirable
18. simulate : produce artificially resembling an existing one.
19. access : to approah
20. compensation: salary
21. Truncate : shorten by cutting
22. adherence : stick
23. Heterogenous: non similar things
24. surplus : excessive
25. Assess : determine the amount or value
26.Congnizance : knowledge
27. retrospective : review
28.naive : innocent,rustic
29. equivocate : tallying on both sides, lie, mislead
30. Postulate : frame a theory
31. latent : dormant, secret
32. fluctuation : wavering,
33. eliminate : to reduce
34. Affinity : strong liking
35. expedite : hasten
36. console : to show sympathy
37. adversary : opposition
3. affable : lovable or approachable
39. Decomposition : rotten
40 agregious : apart from the crowd, especially bad
41. conglomaration: group, collection
4. aberration: deviation
43. aurgury : prediction
44. crediability : ability to common belief, quality of being credible
45.coincident: incidentally
46.Constituent : accompanying
47. Differential : having or showing or making use of
48. Litigation : engaging in a law suit
49.Maratorium: legally or offficiallly determined period of dealy before
fulfillment of the agreement of paying of debts.
50. negotiate : discuss or bargain
51. preparation : act of preparing
52. Preponderant : superiority of power or quality
53. relevance : quality of being relevant
54. apparatus : applianes
55. Ignorance : blindness, in experience
56. obsession: complex enthusiasm
57. precipitate : speed,active
Section III
Letter Series
These are too tough. Maintain time 26 questions ----- 10min
1. A C BDEFGI - I H K J L ANS: H
2. AIZBEYCIXDI - GENJW ANS;W
3. ADGJMP - RWTS ANS; S
4. ABCEFGIJK - MLONP ANS; M nOTE: MLONP ARE GIVEN OPTIONS
5. ABFGKLPQ - TSVUW ANS;U
6 JWXUVST - QPSET ANS; Q
7. ARHXYTDTWST - NPTKR ANS; P
8.FMBIPZVIEV - IRYOU
9. NZI YCX KWF - JFVMY ANS;V
10. AASASPASPKA - RQTSU ANS;S
11. AECPS - TRUE ANS;U
12. BBPRDDLNFFIK - HQJIK ANS'H
13 AZEXIVMT - RQNSO ANS: Q
14. ABDGKP - LIWUX ANS:U
15. BCDAEGHIFJLMN LKNMO ANS: K
16. XWEFGVUHIJK - PNSRT ANS: T
17. ODJTOPQNOERT - QOUVW ANS;O
18. PRNUUPEJRBB - HVUNE ANS: E
19.LULMGMNFNPS - ONQPS ANS:P
QUESTIONS ARE NOT IN SEQUENCE.
Showing posts with label TISL. Show all posts
Showing posts with label TISL. Show all posts
Sunday, June 8, 2008
NUMERICAL
NUMERICAL
1.420% OF 7.79 = 32.718
2 3427 / 16.53 = 202
3. 10995 /95 = 115.7365
4. 43+557-247 =353
5. 3107*3.082= 9591
6. 48.7 + 24.9 - 8.7 = 64.90
7.525.0/47.8 = 11
8. (135-30-14)*7 - 6 +2 = 3
9.3/8 * 5.04=1.89
10.697 /219 =3.18
11.8/64 +64/16 = 4.14
12.298*312/208 = 453.54
13. 0.33 *1496 /13 = 37.98
14.0.26 + 1/8 = 0.385
15.66.17+1/3= 67.03
16. 2.84+1/4= 3.09
17. 33% OF 450 = 148.5
18. 907.54 / 0,3073= 3002
19.tHERE ARE two categories of persons in ratio A, b i.e.A:B = 2:3 A type
earns 2.5 dollars/hr and B type 1 dollar/hr total money earnedby both is
24dollars. then total number of persons
Ans: 15
20.Question not clear
Slowing running - n hours - A
Medium running - B
fast running - k hours - c
Ans: nA+kC
21. Tottal balls z,red balls N remaining are blak balls,then %of black
balls equal to Ans: z-n/z*100
22. Multiplication three digits and two digits number will result the
Ans: HInt: four digit number first number must be one.
23. A= C;B=2D what should be do to make the ratio same. i.e.a/b = c/d
Ans: multiply A by 2
24. P- Total number of compoentns
1.420% OF 7.79 = 32.718
2 3427 / 16.53 = 202
3. 10995 /95 = 115.7365
4. 43+557-247 =353
5. 3107*3.082= 9591
6. 48.7 + 24.9 - 8.7 = 64.90
7.525.0/47.8 = 11
8. (135-30-14)*7 - 6 +2 = 3
9.3/8 * 5.04=1.89
10.697 /219 =3.18
11.8/64 +64/16 = 4.14
12.298*312/208 = 453.54
13. 0.33 *1496 /13 = 37.98
14.0.26 + 1/8 = 0.385
15.66.17+1/3= 67.03
16. 2.84+1/4= 3.09
17. 33% OF 450 = 148.5
18. 907.54 / 0,3073= 3002
19.tHERE ARE two categories of persons in ratio A, b i.e.A:B = 2:3 A type
earns 2.5 dollars/hr and B type 1 dollar/hr total money earnedby both is
24dollars. then total number of persons
Ans: 15
20.Question not clear
Slowing running - n hours - A
Medium running - B
fast running - k hours - c
Ans: nA+kC
21. Tottal balls z,red balls N remaining are blak balls,then %of black
balls equal to Ans: z-n/z*100
22. Multiplication three digits and two digits number will result the
Ans: HInt: four digit number first number must be one.
23. A= C;B=2D what should be do to make the ratio same. i.e.a/b = c/d
Ans: multiply A by 2
24. P- Total number of compoentns
Labels:
TISL
Company : TISL
Company : TISL
1. 19,24,20,25,21,26,? ans:22
2. 11,14,12,15,13,16,? ans: 14
3. 10,2,8,2,6,2,? a:4
4. 8,9,11,14,,18,23,? a:29
5. 25,25,22,22,19,19,? a:16
6. 14,2,12,4,10,6,? a:8
7. 7,16,9,15,11,14,? a:13
8. 40,42,39,44,38,46,? a:37
9. 3,18,4,24,5,30,? a:6
10. 18,20,22,20,28,20,? a:22
11. 18,20,10,12,4,6? a:0
12. 7,6,8,5,3,7,? a:4
13 9,18,21,25,20,? a:30
14 3,3,4,8,10,36,? a:33
15.30,28,25,20,34,28,? a:21
16. 4,8,16,32,64,128,? a:256
17. 8,16,24,32,40,48,? a:56
18. 13,11,14,12,15,13,? a:16
19. 6,18,36,108,216,648,? a:1296
20. 4,4,8,8,16,16,? a:32
21. 2,6,18,54,162,486,? a:1458
22. 4,20,35,49,62,74,? a:85
23. 10,18,15,23,20,28,? a:25
24. 4,10,8,14,12,18,? a:16
25 10,15,12,17,14,10,? a:16
part 2 consists of non-verbel reasoning(figures).So it is impossible for
me to send those.(25 questions)
part 3 (quantitative)
1.A clerk multiplied a number by ten when it should have been divided by
ten.The ans he got was 100.what should the ans have been?
a:1
2.If Rs20/- is available to pay for typing a research report & typist A
produces 42 pages and typist B produces 28 pages.How much should typist A
receive?
a:Rs12/-
3.The average salary of 3 workers is 95 Rs. per week. If one earns
Rs.115 and second earns Rs.65 how much is the salary of the 3rd worker.
Ans.105.
4.A 16 stored building has 12000 sq.feet on each floor. Company A rents 7
floors and company B rents 4 floors. What is the number of sq.feet of
unrented floor space.
Ans.60000
5. During a given week A programer spends 1/4 of his time preparing flow
chart, 3/8 of his time coding and the rest of the time in debugging the
programs. If he works 48 hours during the week , how many hours did he
spend debugging the program.
Ans. 18.
6. A company installed 36 machines at the beginning of the year. In March
they installed 9 additional machines and then disconnected 18 in August.
How many were still installed at the end of the year.
Ans. 27
7. A man owns 2/3 of the market research beauro business and sells 3/4 of
his shares for Rs. 75000. What is the value of Business.
Ans.150000
8. If 12 file cabinets require 18 feet of wall space, how many feet of
wall space will 30 cabinets require?
Ans.45
9.A computer printer produced 176,400 lines in a given day. If the
printer was in operation for seven hours during the day, how many lines
did it print per minute?
Ans.420
10. From its total income, A sales company spent Rs.20,000 for
advertising, half of the remainder on commissions and had Rs.6000 left.
What was its total income?
Ans.32000
11. On Monday a banker processed a batch of cheques, on Tuesday she
processed three times as many, and on Wednesday she processed 4000
cheques. In the three days, she processed 16000 cheques. How many did
she process on Tuesday?
Ans.9000
12. The cost of four dozen proof machine ribbons and five dozen accouting
machine ribbons was Rs.160/-. If one dozen accounting machine ribbons
cost Rs.20/-, what is the cost of a dozen proof machine ribbons?
Ans.Rs.15
13. If a clerk can process 80 cheques in half an hour, how many cheques
can she process in a seven and one half hour day?
Ans.1200
14. In a library, there are two racks with 40 books per rack. On a given
dya, 30 books were issued. What fraction remained in the racks?
Ans.5/8
15. The average length of three tapes is 6800 feet. None of the tapes is
less than 6400 feet. What is the greatest possible length of one of the
other tapes?
Ans.7600
16. A company rented a machine for Rs.700/- a month. Five years later
the treasurer calculated that if the company had purchased the machine
and paid Rs.100/- monthly maintenance charge, the company would have
saved Rs.2000/-. What was the purchase price of the machine?
Ans.Rs.34000
17. Two computers each produced 48000 public utility bills in a day. One
computer printed bills at the rate of 9600 an hour and the other at the
rate of 7800 an hour. When the first computer finished its run, how many
bills did the other computer still have to print?
Ans.9000
18. If a salesman's average is a new order every other week, he will
break the office record of the year. However, after 28 weeks, he is six
orders behind schedule. In what proportion of the remaining weeks does
he have to obtain a new order to break the record?
Ans.3/4
19. On a given day, a bank had 16000 cheques returned by customers.
Inspection of the first 800 cheques indicated that 100 of those 800 had
errors and were therefore the available immediately for data processing.
On this basis, hwo many cheques would be available immediately for data
processing on that day?
Ans.14000
20. A company figured it needed 37.8 sq.feet of carpot for its reception
room. To allow for waste, it decided to order 20% more material than
needed. Fractional parts of sq.feet cannot be ordered. At Rs.9/- a
sq.feet, how much would the carpet cost?
Ans.
a. Rs.324 b) Rs.405 c) Rs.410 d) Rs.414 e) Rs.685
21. A tape manufacturer reduces the price of his heavy duty tape from
Rs.30/- to Rs.28/- a reel and the price of a regular tape from Rs.24/- to
Rs.23/- a reel. A computing centre normally spends Rs.1440/- a month for
tapes and 3/4 of this is for heavy duty tapes. How much will they save a
month under the new prices?
Ans.Rs.87
22. In a team of 12 persons, 1/3 are women and 2/3 are men. To obtain a
team with 20% women how many men should be hired?
Ans.8
23. The dimensions of a certain machine are 48" X 30" X 52". If the size
of the machine is increased proportionately until the sum of its
dimensions equals 156", what will be the increase in the shortest side?
Ans. 6"
24. In a certain company, 20% of the men and 40% of the women attended
the annual company picnic. If 35% of all the employees are man, what
percent of all the employees went to the picnic?
Ans.33%
25. It cost a college Rs.0.70 a copy to produce a Programme for the
homecoming football game. If Rs.15,000/- was received for advertisements
in the programme, how many copies at Rs.0.50 a copy must be sold to make
a profit of Rs.8000/- ?
Ans. 35000
In the first section there are 40 question's on letter series.
Very easy upto 25 and then slightly involved after that again
last 10questons are easy.
For example:
1. aa , bb, cc, --
2. a,c,e,g,-
etc.,
TATA-IBM few questions extra.
1)int i=10;
printf("%d%d%d",i,i++,++i);
ans: compiler dependent
2)printf("Enter two values a and b:"):
scanf("%d%d",a,b);
printf("%d+%d=%d",a,b,a+b);
ans:core dumped
3)Question on WM_SIZE
ans:WM_SIZE
4)when destroy window what message would disply
ans:WM_DESTROY
5)MS Windows 3.1 about multitasking
ans:nonpreemptive
6)windows 3.1 is
ans:application
7) about switch switch statement
ans:16,21
8)question paper the first question ans is
ans:can't be compiled
9)about send messages and post messages
ans: c
10)what is the command to intiate the windows
ans:WinMain
paper
1.const char *
char * const
What is the differnce between the above tow?.
2.In Unix inter process communication take place using?.
3.What are the files in /etc directory?.
4.About i-node numbers
5.Max relaxable permisssion value with out giving write permission
to others?.
6.About ln(linking)
7.A question on until
until (who |grep mary)
do
sleep(60)
done
8.Linking across directories?.
9.process id for kernell process
10.very first process created by kernell
11.function to repaint a window immediately?.
12.Function entry for DLL in win3.1
13.win 3.1 is a
14.win 3.1 supports which type of multi tasking?.
15.Message displayed when a window is destroyed
16.About fork()?
17.About send message and post message
18.Message to limit the size of window
19.System call executable binary file intoa process
20.About GDI object?.
21.API used to hide window
22.Initialize contents of a dialog?.
The technical comprises of 50 questions on C,Unix and windows.
The interview for us is on a later date.If the questions come for you
also,then intimate me.
1. 19,24,20,25,21,26,? ans:22
2. 11,14,12,15,13,16,? ans: 14
3. 10,2,8,2,6,2,? a:4
4. 8,9,11,14,,18,23,? a:29
5. 25,25,22,22,19,19,? a:16
6. 14,2,12,4,10,6,? a:8
7. 7,16,9,15,11,14,? a:13
8. 40,42,39,44,38,46,? a:37
9. 3,18,4,24,5,30,? a:6
10. 18,20,22,20,28,20,? a:22
11. 18,20,10,12,4,6? a:0
12. 7,6,8,5,3,7,? a:4
13 9,18,21,25,20,? a:30
14 3,3,4,8,10,36,? a:33
15.30,28,25,20,34,28,? a:21
16. 4,8,16,32,64,128,? a:256
17. 8,16,24,32,40,48,? a:56
18. 13,11,14,12,15,13,? a:16
19. 6,18,36,108,216,648,? a:1296
20. 4,4,8,8,16,16,? a:32
21. 2,6,18,54,162,486,? a:1458
22. 4,20,35,49,62,74,? a:85
23. 10,18,15,23,20,28,? a:25
24. 4,10,8,14,12,18,? a:16
25 10,15,12,17,14,10,? a:16
part 2 consists of non-verbel reasoning(figures).So it is impossible for
me to send those.(25 questions)
part 3 (quantitative)
1.A clerk multiplied a number by ten when it should have been divided by
ten.The ans he got was 100.what should the ans have been?
a:1
2.If Rs20/- is available to pay for typing a research report & typist A
produces 42 pages and typist B produces 28 pages.How much should typist A
receive?
a:Rs12/-
3.The average salary of 3 workers is 95 Rs. per week. If one earns
Rs.115 and second earns Rs.65 how much is the salary of the 3rd worker.
Ans.105.
4.A 16 stored building has 12000 sq.feet on each floor. Company A rents 7
floors and company B rents 4 floors. What is the number of sq.feet of
unrented floor space.
Ans.60000
5. During a given week A programer spends 1/4 of his time preparing flow
chart, 3/8 of his time coding and the rest of the time in debugging the
programs. If he works 48 hours during the week , how many hours did he
spend debugging the program.
Ans. 18.
6. A company installed 36 machines at the beginning of the year. In March
they installed 9 additional machines and then disconnected 18 in August.
How many were still installed at the end of the year.
Ans. 27
7. A man owns 2/3 of the market research beauro business and sells 3/4 of
his shares for Rs. 75000. What is the value of Business.
Ans.150000
8. If 12 file cabinets require 18 feet of wall space, how many feet of
wall space will 30 cabinets require?
Ans.45
9.A computer printer produced 176,400 lines in a given day. If the
printer was in operation for seven hours during the day, how many lines
did it print per minute?
Ans.420
10. From its total income, A sales company spent Rs.20,000 for
advertising, half of the remainder on commissions and had Rs.6000 left.
What was its total income?
Ans.32000
11. On Monday a banker processed a batch of cheques, on Tuesday she
processed three times as many, and on Wednesday she processed 4000
cheques. In the three days, she processed 16000 cheques. How many did
she process on Tuesday?
Ans.9000
12. The cost of four dozen proof machine ribbons and five dozen accouting
machine ribbons was Rs.160/-. If one dozen accounting machine ribbons
cost Rs.20/-, what is the cost of a dozen proof machine ribbons?
Ans.Rs.15
13. If a clerk can process 80 cheques in half an hour, how many cheques
can she process in a seven and one half hour day?
Ans.1200
14. In a library, there are two racks with 40 books per rack. On a given
dya, 30 books were issued. What fraction remained in the racks?
Ans.5/8
15. The average length of three tapes is 6800 feet. None of the tapes is
less than 6400 feet. What is the greatest possible length of one of the
other tapes?
Ans.7600
16. A company rented a machine for Rs.700/- a month. Five years later
the treasurer calculated that if the company had purchased the machine
and paid Rs.100/- monthly maintenance charge, the company would have
saved Rs.2000/-. What was the purchase price of the machine?
Ans.Rs.34000
17. Two computers each produced 48000 public utility bills in a day. One
computer printed bills at the rate of 9600 an hour and the other at the
rate of 7800 an hour. When the first computer finished its run, how many
bills did the other computer still have to print?
Ans.9000
18. If a salesman's average is a new order every other week, he will
break the office record of the year. However, after 28 weeks, he is six
orders behind schedule. In what proportion of the remaining weeks does
he have to obtain a new order to break the record?
Ans.3/4
19. On a given day, a bank had 16000 cheques returned by customers.
Inspection of the first 800 cheques indicated that 100 of those 800 had
errors and were therefore the available immediately for data processing.
On this basis, hwo many cheques would be available immediately for data
processing on that day?
Ans.14000
20. A company figured it needed 37.8 sq.feet of carpot for its reception
room. To allow for waste, it decided to order 20% more material than
needed. Fractional parts of sq.feet cannot be ordered. At Rs.9/- a
sq.feet, how much would the carpet cost?
Ans.
a. Rs.324 b) Rs.405 c) Rs.410 d) Rs.414 e) Rs.685
21. A tape manufacturer reduces the price of his heavy duty tape from
Rs.30/- to Rs.28/- a reel and the price of a regular tape from Rs.24/- to
Rs.23/- a reel. A computing centre normally spends Rs.1440/- a month for
tapes and 3/4 of this is for heavy duty tapes. How much will they save a
month under the new prices?
Ans.Rs.87
22. In a team of 12 persons, 1/3 are women and 2/3 are men. To obtain a
team with 20% women how many men should be hired?
Ans.8
23. The dimensions of a certain machine are 48" X 30" X 52". If the size
of the machine is increased proportionately until the sum of its
dimensions equals 156", what will be the increase in the shortest side?
Ans. 6"
24. In a certain company, 20% of the men and 40% of the women attended
the annual company picnic. If 35% of all the employees are man, what
percent of all the employees went to the picnic?
Ans.33%
25. It cost a college Rs.0.70 a copy to produce a Programme for the
homecoming football game. If Rs.15,000/- was received for advertisements
in the programme, how many copies at Rs.0.50 a copy must be sold to make
a profit of Rs.8000/- ?
Ans. 35000
In the first section there are 40 question's on letter series.
Very easy upto 25 and then slightly involved after that again
last 10questons are easy.
For example:
1. aa , bb, cc, --
2. a,c,e,g,-
etc.,
TATA-IBM few questions extra.
1)int i=10;
printf("%d%d%d",i,i++,++i);
ans: compiler dependent
2)printf("Enter two values a and b:"):
scanf("%d%d",a,b);
printf("%d+%d=%d",a,b,a+b);
ans:core dumped
3)Question on WM_SIZE
ans:WM_SIZE
4)when destroy window what message would disply
ans:WM_DESTROY
5)MS Windows 3.1 about multitasking
ans:nonpreemptive
6)windows 3.1 is
ans:application
7) about switch switch statement
ans:16,21
8)question paper the first question ans is
ans:can't be compiled
9)about send messages and post messages
ans: c
10)what is the command to intiate the windows
ans:WinMain
paper
1.const char *
char * const
What is the differnce between the above tow?.
2.In Unix inter process communication take place using?.
3.What are the files in /etc directory?.
4.About i-node numbers
5.Max relaxable permisssion value with out giving write permission
to others?.
6.About ln(linking)
7.A question on until
until (who |grep mary)
do
sleep(60)
done
8.Linking across directories?.
9.process id for kernell process
10.very first process created by kernell
11.function to repaint a window immediately?.
12.Function entry for DLL in win3.1
13.win 3.1 is a
14.win 3.1 supports which type of multi tasking?.
15.Message displayed when a window is destroyed
16.About fork()?
17.About send message and post message
18.Message to limit the size of window
19.System call executable binary file intoa process
20.About GDI object?.
21.API used to hide window
22.Initialize contents of a dialog?.
The technical comprises of 50 questions on C,Unix and windows.
The interview for us is on a later date.If the questions come for you
also,then intimate me.
Labels:
TISL
Company : TISL
Company : TISL
Q9). what will be the result of executing following program
main
{
char *x="new";
char *y="dictonary";
char *t;
void swap (char * , char *);
swap (x,y);
printf("(%s, %s)",x,y);
char *t;
t=x;
x=y;
y=t;
printf("-(%s, %s)",x,y);
}
void swap (char *x,char *y)
{
char *t;
y=x;
x=y;
y=t;
}
a).(New,Dictionary)-(New,Dictionary)
b).(Dictionary,New)-(New,Dictionary)
c).(New,Dictionary)-(Dictionary,New)
d).(Dictionary,New)-(Dictionary,New)
e).None of the above
(Ans will be b or e) check
Q10).If a directory contains public files (can be valied and used
by any one ) which should not be altered ,the most liberal
permissions that can be given to the directory is
a)755
b)777
c)757
d)775
e)None of the above
(Ans a)
11) what would the following program results in
main()
{
char p[]="string";
char t;
int i,j;
for(i=0,j=strlen(p);i {
t=p[i];
p[i]=p[j-i];
p[j-i]=t;
}
printf("%s",p);
}
a)will print:string
b)will not print anything since p will be pointing to a null string
c)will print:gnirtS
d)will result in a complication error
e)will print invallid characters(junk)
(Ans will be b ) check
12) After the following command is executed
$ ln old new
a listing is performed with the following output
$ ls -li
total 3
15768 -rw-rw-rw- 2 you 29 Sep 27 12:07 old
15768 " " " " " " " " new
15274 " " 1 " 40 " " 09:34 veryold
which of the following is true
a)old and new have same i-node number,2
b) " " " " " " " , 15768
c)old and new have nothing yo do with each other
d)very old and new are linked
e)very old and old are linked
(Ans is b)
13) What will be the result of executing the following statement
int i=10;
printf("%d %d %d",i,++i,i++);
a).10 11 12
b).12 11 10
c).10 11 11
d).result is OS dependent
e).result is compiler dependent
(Ans is e)
14) What does extern means in a function declaration
a)the funct has global scope
b)the funct need not be defined\
c)nothing really
d)the funct has local scope only to the file it is defined in
e)none of the above
(Ans will be c)
15) What will be result of the following program
main()
{
void f(int,int);
int i=10;
f(i,i++);
}
void f(int i,int j)
{
if(i>50)
return;
i+=j;
f(i,j);
printf("%d,",i);
}
a).85,53,32,21
b)10,11,21,32,53
c)21,32,53,85
d)32,21,11,10
e)none of the above
(Ans is e)
16). MS windows 3.1 is a
a)operating system
b)Application
c)Programing language
d)database
e)shell
(Ans will be b)
17).MS Windows 3.1 supports which type of multi-tasking?
a)cycle
b)executive
c)preemptive
d)Non-preemptive
e)Manual
(Ans )
18)The command ......ln /bin/mail /usr/you/bin/m
a)will not be executed because you are linking files
across different file systems
b)results ln /bin/main being the same file as /usr/you/bin/m
c)results in 2 links to the file mail
d) " " " " m
e)none
(Ans will be b)
19)In a standerd directory lay out ,/etc is the directory where
a) basic programs such as who and ed reside
b) - - - - - - -
c)various administrative files such as password file reside
d) - - - - - - -
e) - - - - - -
(Ans is c)
20) The command echo *
a) echoes all files in the current directory
b) - - - - -
c)
d)
e)
(Ans is a)
21)What will be the result of the following segment of the program
main()
{
char *s="hello world";
int i=7;
printf("%.*%s",s);
}
a)syntax error
b)hello w
c)
d)
e)
(Ans is b)
22) What will be the result of the following program
main()
{
int a,b;
printf("enter two numbers :");
scanf("%d%d",a,b);
printf("%d+%d=%d",a,b,a+b);
}
a)- - - - -
b) - --
c) will generate run time error /core dump
d)
e)
(Ans is c)
23) What is the size of 'q'in the following program?
union{
int x;
char y;
struct {
char x;
char y;
int xy;}p;
}q;
a)11
b)6
c)4
d)5
e)none
(Ans is b why because no of bytes for int =4 given in instructions)
24) Which message is displayed when a window is destroyed
a)WM_CLOSE
b)WM_DESTROY
c)WM_NCDESTROY
d)
E)
(Ans is b)
25)Send Message and postmessage are
a)send message puts the message in the message queue and results,
postmessage processes the message immediately
b)Sendmessage processes the message immediately,postmessage puts
the message in the queue and returns
c) Both put the message in the message queue and returns
d) Both process the message immediately
e) None of the above
(Ans will be b check)
26) Which of the following message is used to limit the size
of teh Window
a)WM_SIZE
b)WM_PAIN
c)- - - -
d)- -- - -
(Ans is a)
27)until who|grep mary
do
sleep 60
done
a) is syntactically incorrect
b) waits 60 seconds irrespective of Mary being logged in or not
c) waits until Marry is logged in
d)waits till Mary exited
e)None
Q9). what will be the result of executing following program
main
{
char *x="new";
char *y="dictonary";
char *t;
void swap (char * , char *);
swap (x,y);
printf("(%s, %s)",x,y);
char *t;
t=x;
x=y;
y=t;
printf("-(%s, %s)",x,y);
}
void swap (char *x,char *y)
{
char *t;
y=x;
x=y;
y=t;
}
a).(New,Dictionary)-(New,Dictionary)
b).(Dictionary,New)-(New,Dictionary)
c).(New,Dictionary)-(Dictionary,New)
d).(Dictionary,New)-(Dictionary,New)
e).None of the above
(Ans will be b or e) check
Q10).If a directory contains public files (can be valied and used
by any one ) which should not be altered ,the most liberal
permissions that can be given to the directory is
a)755
b)777
c)757
d)775
e)None of the above
(Ans a)
11) what would the following program results in
main()
{
char p[]="string";
char t;
int i,j;
for(i=0,j=strlen(p);i
t=p[i];
p[i]=p[j-i];
p[j-i]=t;
}
printf("%s",p);
}
a)will print:string
b)will not print anything since p will be pointing to a null string
c)will print:gnirtS
d)will result in a complication error
e)will print invallid characters(junk)
(Ans will be b ) check
12) After the following command is executed
$ ln old new
a listing is performed with the following output
$ ls -li
total 3
15768 -rw-rw-rw- 2 you 29 Sep 27 12:07 old
15768 " " " " " " " " new
15274 " " 1 " 40 " " 09:34 veryold
which of the following is true
a)old and new have same i-node number,2
b) " " " " " " " , 15768
c)old and new have nothing yo do with each other
d)very old and new are linked
e)very old and old are linked
(Ans is b)
13) What will be the result of executing the following statement
int i=10;
printf("%d %d %d",i,++i,i++);
a).10 11 12
b).12 11 10
c).10 11 11
d).result is OS dependent
e).result is compiler dependent
(Ans is e)
14) What does extern means in a function declaration
a)the funct has global scope
b)the funct need not be defined\
c)nothing really
d)the funct has local scope only to the file it is defined in
e)none of the above
(Ans will be c)
15) What will be result of the following program
main()
{
void f(int,int);
int i=10;
f(i,i++);
}
void f(int i,int j)
{
if(i>50)
return;
i+=j;
f(i,j);
printf("%d,",i);
}
a).85,53,32,21
b)10,11,21,32,53
c)21,32,53,85
d)32,21,11,10
e)none of the above
(Ans is e)
16). MS windows 3.1 is a
a)operating system
b)Application
c)Programing language
d)database
e)shell
(Ans will be b)
17).MS Windows 3.1 supports which type of multi-tasking?
a)cycle
b)executive
c)preemptive
d)Non-preemptive
e)Manual
(Ans )
18)The command ......ln /bin/mail /usr/you/bin/m
a)will not be executed because you are linking files
across different file systems
b)results ln /bin/main being the same file as /usr/you/bin/m
c)results in 2 links to the file mail
d) " " " " m
e)none
(Ans will be b)
19)In a standerd directory lay out ,/etc is the directory where
a) basic programs such as who and ed reside
b) - - - - - - -
c)various administrative files such as password file reside
d) - - - - - - -
e) - - - - - -
(Ans is c)
20) The command echo *
a) echoes all files in the current directory
b) - - - - -
c)
d)
e)
(Ans is a)
21)What will be the result of the following segment of the program
main()
{
char *s="hello world";
int i=7;
printf("%.*%s",s);
}
a)syntax error
b)hello w
c)
d)
e)
(Ans is b)
22) What will be the result of the following program
main()
{
int a,b;
printf("enter two numbers :");
scanf("%d%d",a,b);
printf("%d+%d=%d",a,b,a+b);
}
a)- - - - -
b) - --
c) will generate run time error /core dump
d)
e)
(Ans is c)
23) What is the size of 'q'in the following program?
union{
int x;
char y;
struct {
char x;
char y;
int xy;}p;
}q;
a)11
b)6
c)4
d)5
e)none
(Ans is b why because no of bytes for int =4 given in instructions)
24) Which message is displayed when a window is destroyed
a)WM_CLOSE
b)WM_DESTROY
c)WM_NCDESTROY
d)
E)
(Ans is b)
25)Send Message and postmessage are
a)send message puts the message in the message queue and results,
postmessage processes the message immediately
b)Sendmessage processes the message immediately,postmessage puts
the message in the queue and returns
c) Both put the message in the message queue and returns
d) Both process the message immediately
e) None of the above
(Ans will be b check)
26) Which of the following message is used to limit the size
of teh Window
a)WM_SIZE
b)WM_PAIN
c)- - - -
d)- -- - -
(Ans is a)
27)until who|grep mary
do
sleep 60
done
a) is syntactically incorrect
b) waits 60 seconds irrespective of Mary being logged in or not
c) waits until Marry is logged in
d)waits till Mary exited
e)None
Labels:
TISL
Company : TISL
Company : TISL
1)e e f g g h i i --- j
2)a z a y b z b y c --- a e x y z z
3)d e f d e f g h i --- d e f g h g
4)c d e x y z f g h x y z i j k l m i
5)de f de g d e --- d j z h i h
6)a b c z a b c y a b c --- a b x y z x
7)d g b h i b j k b ---- b e l m n l
8)t s p t s q t s --- r s t v w r
9)q a r b s a t a r b ---- a b e r s s
10)b c c d e e f g -- e f g h i g
11)e f h i k l --- m n o p q n
12)a b cc d e ff g -- efghi h
13)a m n b op c --- depqr q
14)ttt sss qqq p --- opqrs p
15)ddffhhjj--- ijklm l
16)mnmnklopopkl ----- kopqr q
17)cddeeefff--- efghi f
18)gfde---- bcfgh c
19)dfhjl ----- jklmn n
20)abcijdefij---- ghijk g
21)efgefghefghi ---- e
22)bcbdedffghi ---- fghjk h
23)aababccdc --- cdefg d
24)aibcidef --- efghi i
25)cehl --- opqrs q
26)abdehimn --- pqrst s
27)becfdge --- efghi h
28)agbhc ---- dfghi i
29)adhko --- pqrst r
30)efghjklno --- pqrst q
31)aeibf --- cdgij j
32)aedhg-- hijkl k
33)zdwgt --- hijkl j
34)zeiyijxj--- ijklm k
35)dqreuvg--- vwxyz y
36)ksjtiuh--- vwxyz v
37)rsjtuhvw--- cdefg f
38)ieajfbk ---- cdefg g
39)hebijej ---- ghijk g
40)njfmiel --- dhijm h
1)
main()
{
char *p1="name";
char *p2;
p2=(char*)malloc(20);
while(*p2++ = *p1++);
printf("%s\n",p2);
}
Ans:empty string.
2)
main()
{
int x=20,y=35;
x=y++ + x++;
y= ++y + ++x;
printf("%d%d\n",x,y);
}
Ans : 57 ,94
3)
main()
{
int x=5;
printf("%d%d%d\n",x,x<<2,x>>2);
}
ans: 5,20,16
4)
#define swap(a,b) a=a+b;b=a-b;a=a-b;
main()
{
int x=5;y=10;
swap1(x,y);
printf("%d %d\n",x,y);
swap2(x,y);
printf("%d %d\n",x,y);
}
int swap2(int a, int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
like that
ans: 10 ,5
10 ,5
5)
main()
{
char *ptr = " Ramco Systems"
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Ans: Samco Systems
amco systems
6)
main()
{
char s1[]="Ramco";
char s2[]= "systems";
printf("%s",s1);
}
Ans: compilation error giving that it can not modified Lvalue.
7)
main()
{
char *p1;
char *p2;
p1=(char *)malloc(25);
p2=(char *)malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"systems");
strcat(p1,p2);
printf("%s",p1);
}
Ans: Ramcosystems
8)
The following variable is available in file1.c
static int average float;
Ans: all the functions in the file1.c can access the variable.
9)
Ans : [2] . extern int x;
check the answer.
10) Another problem with
#define TRUE 0
somecode.
while(TRUE)
{
somecode
}
This will not go into the loop as TRUE is defined as 0.
Ans : None of the above i.e (D).
11)
Ans :
[4]. A question in structures where the members are dd,mm,yy.
mm:dd:yy
09:07:97
12) Ans: [5] Another structure question.
1.Rajiv system analyst.
13)
Ans: INFILE.DAT is coupled to OUTFILE.DAT.
14) A question with argc and argv.
Inputfile will be.
c:\TEMP.EXE Ramco systems India.
Outputfile will be.
India: I n d i a
systems: s y s t e m s
Ramco: R a m c o
Ans : choice (d)
15) structure kswap
Ramco India
Ramco Systems Corporation
Ramco .... Limited.
After swaping the result will be
First two will be swaped
Ramco Systems Corporation.
Ramco India
Ramco .... Limited.
16) int x;
main()
{ int x=10;
x++;
change-value(x);
x++;
modify-value();
printf("First output:%d\n",x);
x++;
change-value(x);
printf("secpnd output:%d\n",x);
modify-value();
printf("Third output:%d\n",x);
}
modify-value()
{
return(x+=10);
}
change-value()
1)e e f g g h i i --- j
2)a z a y b z b y c --- a e x y z z
3)d e f d e f g h i --- d e f g h g
4)c d e x y z f g h x y z i j k l m i
5)de f de g d e --- d j z h i h
6)a b c z a b c y a b c --- a b x y z x
7)d g b h i b j k b ---- b e l m n l
8)t s p t s q t s --- r s t v w r
9)q a r b s a t a r b ---- a b e r s s
10)b c c d e e f g -- e f g h i g
11)e f h i k l --- m n o p q n
12)a b cc d e ff g -- efghi h
13)a m n b op c --- depqr q
14)ttt sss qqq p --- opqrs p
15)ddffhhjj--- ijklm l
16)mnmnklopopkl ----- kopqr q
17)cddeeefff--- efghi f
18)gfde---- bcfgh c
19)dfhjl ----- jklmn n
20)abcijdefij---- ghijk g
21)efgefghefghi ---- e
22)bcbdedffghi ---- fghjk h
23)aababccdc --- cdefg d
24)aibcidef --- efghi i
25)cehl --- opqrs q
26)abdehimn --- pqrst s
27)becfdge --- efghi h
28)agbhc ---- dfghi i
29)adhko --- pqrst r
30)efghjklno --- pqrst q
31)aeibf --- cdgij j
32)aedhg-- hijkl k
33)zdwgt --- hijkl j
34)zeiyijxj--- ijklm k
35)dqreuvg--- vwxyz y
36)ksjtiuh--- vwxyz v
37)rsjtuhvw--- cdefg f
38)ieajfbk ---- cdefg g
39)hebijej ---- ghijk g
40)njfmiel --- dhijm h
1)
main()
{
char *p1="name";
char *p2;
p2=(char*)malloc(20);
while(*p2++ = *p1++);
printf("%s\n",p2);
}
Ans:empty string.
2)
main()
{
int x=20,y=35;
x=y++ + x++;
y= ++y + ++x;
printf("%d%d\n",x,y);
}
Ans : 57 ,94
3)
main()
{
int x=5;
printf("%d%d%d\n",x,x<<2,x>>2);
}
ans: 5,20,16
4)
#define swap(a,b) a=a+b;b=a-b;a=a-b;
main()
{
int x=5;y=10;
swap1(x,y);
printf("%d %d\n",x,y);
swap2(x,y);
printf("%d %d\n",x,y);
}
int swap2(int a, int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
like that
ans: 10 ,5
10 ,5
5)
main()
{
char *ptr = " Ramco Systems"
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Ans: Samco Systems
amco systems
6)
main()
{
char s1[]="Ramco";
char s2[]= "systems";
printf("%s",s1);
}
Ans: compilation error giving that it can not modified Lvalue.
7)
main()
{
char *p1;
char *p2;
p1=(char *)malloc(25);
p2=(char *)malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"systems");
strcat(p1,p2);
printf("%s",p1);
}
Ans: Ramcosystems
8)
The following variable is available in file1.c
static int average float;
Ans: all the functions in the file1.c can access the variable.
9)
Ans : [2] . extern int x;
check the answer.
10) Another problem with
#define TRUE 0
somecode.
while(TRUE)
{
somecode
}
This will not go into the loop as TRUE is defined as 0.
Ans : None of the above i.e (D).
11)
Ans :
[4]. A question in structures where the members are dd,mm,yy.
mm:dd:yy
09:07:97
12) Ans: [5] Another structure question.
1.Rajiv system analyst.
13)
Ans: INFILE.DAT is coupled to OUTFILE.DAT.
14) A question with argc and argv.
Inputfile will be.
c:\TEMP.EXE Ramco systems India.
Outputfile will be.
India: I n d i a
systems: s y s t e m s
Ramco: R a m c o
Ans : choice (d)
15) structure kswap
Ramco India
Ramco Systems Corporation
Ramco .... Limited.
After swaping the result will be
First two will be swaped
Ramco Systems Corporation.
Ramco India
Ramco .... Limited.
16) int x;
main()
{ int x=10;
x++;
change-value(x);
x++;
modify-value();
printf("First output:%d\n",x);
x++;
change-value(x);
printf("secpnd output:%d\n",x);
modify-value();
printf("Third output:%d\n",x);
}
modify-value()
{
return(x+=10);
}
change-value()
Labels:
TISL
Subscribe to:
Posts (Atom)