Search This Blog
Tuesday, July 8, 2008
Remove virus manually which creates autorun.inf and does not opens drive on double click
Here a tip to remove this error.
Goto your windows system32 directory generally it resides in
C:\WINDOWS\System32>
but the path may differ as you may opt for other name for your windows directory or drive.
now check following command:
.....\system32>dir/ah
It will show all hidden files in the system32 there will be three virus files namely
1. amvo.ex
2. amvo0.dll
3. amvo1.dll
delete all these files using following command.
del amvo.exe/f/ah
del amvo0.dll/f/ah
del amvo1.dll/f/ah
Two files will be deleted on of the dll file may not be deleted as it may be started now. When you will restart your system this file will be deleted automatically if antivirus is installed otherwise again apply same command and delete it.
Thanks.
Thursday, July 3, 2008
Scanning for Viruses using Mcafee SuperDAT
Now following steps has to be performed for scanning viruses or torjens etc.
1. Restart your system in "Safe mode Command prompt" because it ensures the least services are running on the ststem.
2. Now goto the folder and extract it with following command.
c:\sdat>Sdat5300.exe/e
Note : Engine name may vary because every day or two day new engine is released.
3. It will extract and will be of 19 files . Wait for complete extraction
4. Now start scanning with follwing command.
c:\sdat> scan /AD/All/clean
5. The scanning will be started wait for one or two hour as per your Hard drive capacity and usage.
Now enjoy your computing with virous free computer.
Wednesday, July 2, 2008
Customizing Background of a folder or Thumb drive in MS Windows XP SP2
1. Make the requisite folder attribute as system by followin command in DOS
attrib +s
e.g
c:\> attrib +s myfolder
2. Create a file "Desktop.ini" in the folder with the content
[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
iconarea_image= image_name_with_path
iconarea_text= color_code
color code like 0x0000FF00
e.g
[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
iconarea_image=C:\Documents and Settings\All Users.WINXP\Documents\My Pictures\Sample Pictures\sunset.jpg
iconarea_text=0x0000FF00
Note: It suports any image like bmp, jpg, png, gif
Now the folder will look like
Wednesday, June 25, 2008
Select a random row from a database table
Select a random row with MySQL:
SELECT column FROM table
ORDER BY RAND()
LIMIT 1
Select a random row with PostgreSQL:
SELECT column FROM table
ORDER BY RANDOM()
LIMIT 1
Select a random row with Microsoft SQL Server:
SELECT TOP 1 column FROM table
ORDER BY NEWID() Select a random row with IBM DB2
SELECT column, RAND() as IDX
FROM table
ORDER BY IDX FETCH FIRST 1 ROWS ONLY
Select a random record with Oracle:
SELECT column FROM
( SELECT column FROM table
ORDER BY dbms_random.value )
WHERE rownum = 1
Saturday, June 21, 2008
Scanning a folder in Borland Delphi
procedure ScanFolder( src string );
var
sts : Integer ;
SR: TSearchRec;
begin
sts := FindFirst( src + '*.*' , faAnyFile , SR );
if sts = 0 then
begin
if ( SR.Name <> '.' ) and ( SR.Name <> '..' ) then
begin
//Put User Feedback here if desired
Application.ProcessMessages;
if pos('.', SR.Name) = 0 then
begin
//subfolder put your code for subfolder
scanFolder(src + SR.Name);
end
else
//file put your code for file
end;
while FindNext( SR ) = 0 do
begin
if ( SR.Name <> '.' ) and ( SR.Name <> '..' ) then
begin
//Put User Feedback here if desired
Application.ProcessMessages;
if Pos('.', SR.Name) = 0 then
begin
//subfolder put your code for subfolder
scanFolder(src + SR.Name);
end
else
//file put your code for file
end;
end;
FindClose( SR ) ;
end ;
end;
Saturday, April 12, 2008
Sonata Software - Sample Paper Collection #SPP210205
1. 11 23 48 … 202
1) 100
2) 99
3) 97
4) 103
5) None of these
2. 15 16 17 21 … 38
1) 27
2) 28
3) 31
4) 29
5) None of these
3. 13 16 29 45 …
1) 72
2) 68
3) 81
4) 74
5) 68
4. 35 … 63 82 99
1) 48
2) 46
3) 52
4) 50
5) None of these
5. … 253 229 217 211
1) 405
2) 398
3) 301
4) 295
5) None of these
6. 101 104 110 122 …
1) 138
2) 148
3) 146
4) 158
5) None of these
Qs. 7-12. Find the oddman out:
7. (1) 351
(2) 169
(3) 572
(4) 416
(5) 129
8. (1) 144
(2) 120
(3) 289
(4) 100
(5) 1
9. (1) 297
(2) 682
(3) 132
(4) 573
(5) 451
10. (1) 294
(2) 231
(3) 119
(4) 196
(5) 128
11. (1) 39
(2) 53
(3) 67
(4) 59
(5) 101
12. (1) 37
(2) 50
(3) 82
(4) 66
(5) 101
13. If PERSON is coded as TPOQFS, the code for BANDIT would be?
1) EJUEBO
2) CBOEJU
3) UJEOBC
4) EJUCBO
5) None of these
14. If COMBINE is coded as DGPPNTL, what would be the code for TEACHER?
1) UGDGMKY
2) UFBDIFS
3) UGCFLJX
4) UFCEKHU
5) None of these
Qs.15-19. For the following questions, the key-word is INSPECTOR.
15. How many sets of two letters each have as many letters between them as they have in the alphabetic arrangement?
1) 1
2) 2
3) 3
4) 4
5) None
16. If the first and sixth letter, 2nd and 7th , 3rd and 8th and 4th and 9th letter exchanged places, how many letters will there be between C and N?
1) 2
2) 4
3) 5
4) 6
5) 7
17. If the vowels in the word were replaced by the preceding letter from the alphabets and consonants by the following letters, and a word was formed with the 2nd, 6th, 7th , 8th 9th letters of that arrangement, which would be the fourth letter of that word?
1) O
2) D
3) S
4) N
5) U
18. If the letters of the word were arranged in alphabetical order, how many letters will remain at their present place?
1) None
2) 1
3) 2
4) 3
5) 4
19. If a popular word can be formed with the 2nd, 3rd, 5th, 7th and 8th letters of the word, which would be the second letter of that word?
1) N
2) S
3) E
4) T
5) O
20. Which of the following words cannot be formed with the letters in the word ‘PATIENT’?
1) PAINT
2) TENANT
3) PATENT
4) TENT
5) PINT
Answers:
1. (2)
2. (4)
3. (4)
4. (4)
5. (3)
6. (3)
7. (5)
8. (2)
9. (4)
10. (5)
11. (1)
12. (4)
13. (4)
14. (1)
15. (3)
16. (3)
17. (4)
18. (1)
19. (2)
20. (2)
Infosys - Sample Placement Paper
consonants are arranged alphabetically and then the vowels are arranged alphabetically.
1. How many letters will be there between R and I after the rearrangement?
1) None
2) One
3) Two
4) Three
5) More than three
2. Which of the following will be the third from right after the rearrangement?
1) T
2) O
3) R
4) I
5) None of these
3. Which of the following will be the third from left after the rearrangement?
1) R
2) N
3) O
4) P
5) None of these
4. ‘26′ is related to ‘5′ in the same way as ‘65′ is related to ________ .
1) 7
2) 9
3) 8
4) 6
5) None of these
5. How many such digits are there in the number 724513 each of which is as far away from
the beginning in the number as when they are arranged in ascending order starting from
left?
1) None
2) One
3) Two
4) Three
5) More than three
Qs. 6-10. What will come in place of the question mark (?) in the following questions?
6. x (223 +?) = 71
1) 342
2) 346
3) 345
4) 348
5) None of these
7. 0.07% of 1250-0.02% of 650 = ?
1) 0.625
2) 0.545
3) 0.615
4) 0.745
5) None of these
8. of of 640% of 60 =?
1) 24
2) 32
3) 18
4) 12
5) None of these
9. ÷ 0.5 = ?
1) 5
2) 50
3) 500
4) 2.5
5) None of these
10. 4985.23 + 4632.14 - ? = 4022.12
1) 5955.25
2) 5595.25
3) 5295.55
4) 5255.95
5) None of these
11. How many such pairs of letters are there in the word CREDIT each of which has as
many letters between them in the word as in the English alphabet?
1) None
2) One
3) Two
4) Three
5) More than three
12. ‘Cub’ is related to ‘Tiger’ in the same way as ‘Kitten’ is related to ________ .
1) Dog
2) Cat
3) Duck
4) Swan
5) None of these
13. ‘ON’ is related to ‘OFF’ in the same way as ‘HOT’ is related to __________ .
1) Water
2) Switch
3) Tap
4) Liquid
5) None of these
14. ‘MORE’ is related to ‘EORM’ in the same way as ‘SUIT’ is related to _________ .
1) TIUS
2) ISTU
3) IUST
4) TUIS
5) None of these
15. How many meaningful words can be made from the letters LMEA using each letter only
once in each word?
1) None
2) One
3) Two
4) Three
5) More than three
Qs. 16-20. What will come in place of the question mark (?) in the following
questions?
16. + 9 =?
1) 90
2) 99
3) 108
4) 117
5) None of these
17. x 34 = ?
1)
2)
3)
4)
5) None of these
18. x x ? =
1)
2)
3)
4) 1
5) None of these
19. 12% of 580 + ? = 94
1) 26.4
2) 24.4
3) 30.4
4) 28.4
5) None of these
20. (3692 + 1863 + 2410) ÷ 125 = ?
1) 63.82
2) 63.92
3) 63.42
4) 63.72
5) None of these
ANSWERS:
1. (3)
2. (5)
3. (1)
4. (3)
5. (2)
6. (3)
7. (4)
8. (5)
9. (1)
10. (2)
11. (3)
12. (2)
13. (5)
14. (4)
15. (4)
16. (1)
17. (5)
18. (4)
19. (2)
20. (4)
i-Flex - Sample Placement Paper
1. 1287935 - ? = 262041
1) 1109584
2) 1054982
3) 1125804
4) 1025894
5) None of these
2. 0.25 ÷ 0.10 x 0.04 + 0.006 = ?
1) 0.16
2) 0.006
3) 0.106
4) 0.016
5) None of these
3. x + =?
1)
2)
3)
4)
5) None of these
4. + = 102
1) 225
2) 100
3) 400
4) 625
5) None of these
5. 874 ÷ 19 + 85 x 21 – 762 = ?
1) 1069
2) 1609
3) 1960
4) 1096
5) None of these
Qs. 6-10. Each of the questions below consists of a question and two statements numbered I and II given below it. You have decide whether the data provided in the statements are sufficient to answer the question. Read both the statements and give answer:
(1) if the data in statement I alone are sufficient to answer the question, while the data in statement II alone are not sufficient to answer the question.
(2) if the data in statement II alone are sufficient to answer the question, while the data in statement I alone are not sufficient to answer the question.
(3) if the data either in statement I alone or in statement II alone are sufficient to answer the question.
(4) if the data given in both the statements I and II together are not sufficient to answer the question.
(5) if the data in both the statements I and II together are necessary to answer the question.
6. How is ‘go’ written in a code language?
I. ‘come and then go’ is written as ‘5 3 9 6′ in that code language.
II. ‘go and play’ is written as ‘7 3 5′ in that code language.
7. B is brother of D. How is D related to E?
I. D is sister of M and B.
II. E is mother of M.
8. Among P,Q,R,S and T, who is the heaviest?
I. R is heavier than only P.
II. S is lighter than Q but heavier than R and T.
9. K is towards which direction of D?
I. D is towards North of N.
II. D is towards South of T which is towards West of K.
10. Who among B,C,D and W reached office first?
I. C reached office after W but before B and D.
II. B reached office after D.
11. The length of a rectangle, which is 25cms is equal to the length of a square and the area of the rectangle is 125cms less than area of the square. What is the breadth of the rectangle?
1) 15cms
2) 20cms
3) 12cms
4) 10cms
5) None of these
12. In the following number series, a wrong number is given. Find out the wrong number.
150 450 750 1060 1350 1650 1950
¼br /> 1) 1060
2) 1950
3) 450
4) 1350
5) 750
13. A car travels at the speed of 85 kms/hr and reaches its destination in 5 hours. What is the distance covered by the car?
1) 485kms
2) 325kms
3) 450kms
4) 425kms
5) None of these
14. How many rotations will the hour-hand of a clock complete in 72 hours?
1) 3
2) 6
3) 9
4) 12
5) None of these
15. Students attending the flag hoisting function in a school are given 2 chocolates each. How many such chocolates should be ordered if 6354 students attended the function?
¼br /> 1) 12,608
2) 12,808
3) 12,408
4) 12,508
5) None of these
Qs. 16-20. Study the following information carefully and answer the questions given below:
A, B, C, D, E, F, and G are sitting around a circle facing at the centre. F is between C and A. B is second to the right of A.G is not an immediate neighbour of B. E is not an immediate neighbour of A.
16. Who is to the immediate left of E?
1) G
2) D
3) A
4) B
5) None of these
17. Who is between F and D?
1) B
2) G
3) E
4) C
5) None of these
18. Who is to the immediate right of A?
1) D
2) F
3) C
4) B
5) Data inadequate
19. Who is to the immediate right of G?
1) E
2) B
3) C
4) Data inadequate
5) None of these
20. Who is to the immediate left of C?
1) F
2) G
3) E
4) Data inadequate
5) None of these
21. th of th of a number is 363. What is the square root of that number?
1) 40
2) 88
3) 44
4) 80
5) None of these
22. A man walks at the speed of 4kms/hr and runs at the speed of 8 kms/hr. How much time will the man require to cover a distance of 24 kms, if he completes half of his journey walking (12kms) and half of his journey running?
1) 3 hours
2) 6 hours
3) 12 hours
4) 5 hours
5) None of these
23. Three friends divide an amount of Rs.45,000, such that one of them takes ¼ th of the total amount and the other two divide the rest of the amount equally amongst themselves. What is the ratio of amount taken by one of the friends to the total amount taken by the other two friends together?
1) 1:3
2) 1:2
3) 3:2
4) 2:3
5) None of these
24. A company pays a rent of Rs 25,000 per month for office space to its owner. But if the company pays the annual rent at the beginning of the year the owner gives a discount of 5% on the total annual rent? What is the annual amount the company pays to the owner after the discount?
25. In a temple, the devotees are made to stand in 5 rows before entering the temple and only 265 devotees can stand in each row. On a certain day there were 4 rows of devotees at the beginning of the day, 2 rows of devotees at mid-day and 5 rows of devotees at the end of the day. Each row had the full capacity. How many devotees visited the temple on that day?
1) 1060
2) 2830
3) 2925
4) 2815
5) 2915
Answers
1. (4)
2. (3)
3. (5)
4. (2)
5. (1)
6. (4)
7. (3)
8. (3)
9. (3)
10. (1)
11. (2)
12. (1)
13. (4)
14. (2)
15. (5)
16. (4)
17. (5)
18. (1)
19. (3)
20. (2)
21. (3)
22. (5)
23. (1)
24. (1)
25. (5)
Monday, March 24, 2008
wipro - Model Placement Paper Collection # 120906
1. In a certain code BROWN is written as CSPXO. How is PART written in that code?
1) OBQU
2) QBSU
3) OZQS
4) RBTU
5) None of these
2. If all those numbers from 1-40 each of which is exactly divisible by 4 and/or has 4 as a digit in it are removed, how many numbers will remain?
1) 27
2) 29
3) 28
4) 26
5) None of these
3. Four of the following five are alike in a certain way and so form a group. Which is the one that does not belong to that group?
1) 13
2) 37
3) 73
4) 53
5) 39
4. If it is possible to make only one meaningful word with the first, the second, the seventh and the eighth letters of the word TEMPORAL, which of the following will be the first letter of that word? If more than one such word can be made, give ‘Y’ as the answer and if no such word can be made, give ‘X’ as the answer.
1) T
2) L
3) E
4) Y
5) X
5. In a certain code DEAL is written as ‘3524′ and LIE is written as ‘475′. How is IDLE written in that code?
1) 7345
2) 3745
3) 7342
4) 7245
5) None of these
Qs. 6-10. What will come in place of the question mark (?) in the following questions.
6. 685.59 - ? = 607.88 – 351.46
1) 449.28
2) 419.17
3) 429.17
4) 439.28
5) None of these
7. 8305 * ( x * 840) =?
1) 193920
2) 199320
3) 199230
4) 192390
5) None of these
8. (82)2 = (61)2 + (62)2 + ?
1) 1
2) 2
3) 3
4) 4
5) None of these
9. 1884456 ÷ 52346 =
1) 1296
2) 1156
3) 1024
4) 1444
5) None of these
10. (4000 + ?) ÷ 23 = 211
1) 843
2) 753
3) 863
4) 743
5) None of these
11. Pointing to a boy, Meena said, “He is the son of my grandmother’s only child”. How is the boy related to Meena?
1) Brother
2) Uncle
3) Nephew
4) Cannot be determined
5) None of these
12. The positions of the first and the second digits in the number 421653 are interchanged. Similarly the positions of the third and the fourth digits are interchanged and so on. Which of the following will be the third digit from the right end after the rearrangement?
1) 6
2) 2
3) 1
4) 4
5) None of these
13. Ashok walked five metres towards East, took a right turn and walked 10 metres and again he took a right turn and walked 15 metres. Which direction is he facing now?
1) South
2) West
3) North
4) South-West
5) None of these
Qs. 14-18. What will come in place of the question mark (?) in the following questions?
14. 764521 – 642436 + 179380 = ?
1) 301465
2) 301468
3) 301488
4) 301456
5) None of these
15. of of of 56052 = ?
1) 356
2) 336
3) 376
4) 346
5) None of these
16. 3565 ÷ 23 + 4675 ÷ ? = 430
1) 19
2) 17
3) 21
4) 23
5) None of these
17. ?% of 8745 = 5159.55
1) 49
2) 54
3) 57
4) 47
5) None of these
18. 10 + 11 – 5 = ?
1) 16
2) 17
3) 14
4) 14
5) None of these
Qs. 19-25. Study the following arrangement carefully and answer the questions given below:
M 2 R D E K 5 7 B J I 4 N P 8 A W 9 V 1 U F 3 H 6
19. Which of the following is exactly in the middle between 7 and A?
1) P
2) N
3) 4
4) I
5) None of these
20. Which of the following is the fourth to the right of the tenth from the left and?
1) P
2) N
3) K
4) 4
5) None of these
21. Which of the following is the third to the left of the ninth from the right end?
1) N
2) K
3) 1
4) P
5) None of these
22. How many such numbers are there in the above arrangement, each of which is immediately preceded by a consonant and also immediately followed by a consonant?
1) None
2) One
3) Two
4) Three
5) More than three
23. Four of the following five are alike in a certain way based on their positions is the above arrangement and so form a group. Which is the one that does not belong to that group?
1) RDE
2) 57B
3) NP8
4) W9V
5) 3FU
24. How many such vowels are there in the above arrangement, each of which is immediately preceded by a number and immediately followed by a consonant?
1) None
2) One
3) Two
4) Three
5) More than three
25. How many such consonants are there in the above arrangement, each of which is immediately preceded by a consonant but not immediately followed by a consonant?
1) None
2) One
3) Two
4) Three
5) More than three
ANSWERS:
1. (2)
2. (3)
3. (5)
4. (4)
5. (1)
6. (3)
7. (3)
8. (4)
9. (1)
10. (5)
11. (1)
12. (3)
13. (2)
14. (1)
15. (4)
16. (2)
17. (5)
18. (5)
19. (3)
20. (1)
21. (4)
22. (4)
23. (5)
24. (3)
25. (3)
L&T - Sample Placement Paper (with Answers)
(1) if only Conclusion I follows.
(2) if only Conclusion II follows.
(3) if either Conclusion I or II follows.
(4) if neither Conclusion I nor II follows.
(5) if both Conclusion I and II follow.
Statements:
1. Some trucks are houses. Some houses are trains
Conclusions:
I. Some trains are trucks.
II. No train is truck.
Statements:
2. All flowers are trees. All trees are fruits.
Conclusions:
I. Some fruits are flowers.
II. All flowers are fruits.
Statements:
3. Some kites are threads. No thread is needle.
Conclusions:
I. Some kites are needles.
II. No needle is thread.
Statements:
4. All chairs are buildings. All tables are buildings.
Conclusions:
I. Some chairs are tables.
II. Some tables are chairs.
Statements:
5. Some books are pens. All pens are papers.
Conclusions:
I. Some papers are books.
II. All books are papers.
Statements:
6. The difference between 34th of 25th of a number and 35th of 18th of the same number is 9. What is the number?
1) 45
2) 35
3) 40
4) 30
5) None of these
7. What is the area of a circle with the circumference of 88cms?
1) 618sq cms
2) 516sq cms
3) 600sq cms
4) 615sq cms
5) None of these
8. A student scores 55% marks in 8 papers of 100 marks each. He scores 15% of his total marks in English. How much does he score in English?
1) 55
2) 66
3) 77
4) 44
5) None of these
9. What should come in place of the question-mark (?) in the following number series?
5690 5121 4552 3983 3414 2845?
1) 2276
2) 2516
3) 2746
4) 2356
5) None of these
10. Car 'X' covers a distance of 385 kms in 7 hours and car 'Y' covers a distance of 715 kms in 13 hrs. What is the difference in the speed of the two cars?
1) 2kms/hr
2) 1km/hr
3) 3kms/hr
4) 5kms/hr
5) None of these
11. The ratio of the present ages of Sunita and vinita is 4:5. Six years hence the ratio of their ages will be 14:17. What will be the ratio of their ages 12 years hence?
1) 15:19
2) 13:15
3) 16:19
4) 17:19
5) None of these
12. Find out the greatest possible number for which 30% of that number is less than 100?
1) 331
2) 335
3) 325
4) 333
5) 328
13. 'a' is greater than 'b' by 2 and 'b' is greater than 'c' by 10.
If a + b + c = 130, then (b +c) – a = ?
1) 38
2) 42
3) 44
4) 34
5) None of these
14. Mr Sharma takes loan of Rs 25,000 and repays an amount of Rs 31,000 at the end of 2 years. What is the rate of simple interest at which repays the loan?
1) 8 p.c.p.a.
2) 6 p.c.p.a.
3) 12 p.c.p.a.
4) 9 p.c.p.a.
5) None of these
15. If 11 521 is subtracted from 15 314 and the difference is multiplied by 504, what will be the number?
1) 2024
2) 2104
3) 2004
4) 2014
5) None of these
16. The product of two successive positive integers is 462. Which is the smaller integer?
1) 20
2) 22
3) 21
4) 23
5) None of these
17. Each child from a certain school can make 5 items of handicraft in a day. If 1125 handicraft items are to be displayed in an exhibition then in how many days can 25 children make these items?
1) 6 days
2) 9 days
3) 8 days
4) 7 days
5) None of these
18. The owner of a furniture shop charges his customers 15% more than the cost price. If a customer paid Rs 9,039 for a sofa set, then what is the cost price of the sofa set?
1) Rs 7,680
2) Rs 7,860
3) Rs 7,880
4) Rs 7,660
5) None of these
19. While withdrawing an amount of Rs 49,350 a customer by mistake collects Rs 48,150. The remaining amount is deposited back to his account by the bank, which shows the balance of Rs 25,376. What will be the customer's balance after depositing the remaining amount?
1) Rs 26,576
2) Rs 26,676
3) Rs 26,586
4) Rs 26,686
5) None of these
20. 20% of the total cost of a plot with an area of 395sqft is Rs 78,210. What is the rate of per sq ft of the plot?
1) Rs 1,020
2) Rs 999
3) Rs 1,000
4) Rs 995
5) None of these
Answers:
1. (3)
2. (5)
3. (2)
4. (4)
5. (1)
6. (3)
7. (5)
8. (2)
9. (1)
10. (5)
11. (3)
12. (4)
13. (4)
14. (3)
15. (3)
16. (3)
17. (2)
18. (2)
19. (1)
20. (5)
Searching duplicate Record
Very often we have to look for duplicate records in the database, Below is the query which can give you the result. SELECT COL1, COL2 , ...
-
Qs. 1-5. In each of the questions below are given two statements followed by two conclusions numbered I and II. You have to take the given s...
-
Qs.1-6. Find out the missing number. 1. 11 23 48 … 202 1) 100 2)...
-
Here is a readymade procedure for scanning a folder and applying some action on each subfolder or file procedure ScanFolder( src string ); v...