当前位置:首页 > IBM-IPAT测试整理部分(可参考) - 图文
c) MoveWindow d) WM_COPY e) None
30. Which function is the entry point for a DLL in MS Windows 3.1
a) Main b) Winmain c) Dllmain d) Libmain e) None
Ans. (b)
31. The standard source for standard input, standard output and standard error is
a) the terminal b) /dev/null
c) /usr/you/input, /usr/you/output/, /usr/you/error respectively d) None
Ans. (a)
32. What will be the result of the following program?
main()
{char p[]=\int x=0;
if(p==\{printf(\if(p[sizeof(p)-2]=='g') printf(\else
printf(\} else {
printf(\
if(p[sizeof(p)-2]=='g') printf(\
else
printf(\} }
a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2
e) syntax error during compilation
33. Which of the choices is true for the mentioned declaration ?
const char *p; and
char * const p;
a) You can't change the character in both
b) First : You can't change the characterr & Second : You can;t change the pointer
c) You can't change the pointer in both
d) First : You can't change the pointer & Second : You can't chanage the character e) None
34. The redirection operators > and >>
a) do the same function
b) differ : > overwrites, while >> appends
c) differ : > is used for input while >> is used for output
d) differ : > write to any file while >> write only to standard output e) None of these
Ans. (b)
35. The command grep first second third /usr/you/myfile
a) prints lines containing the words first, second or third from the file /usr/you/myfile
b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them
c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them
d) replaces the word first with the word second in the files third and /usr/you/myfile
e) None of the above
Ans. (b)
经验6:(未)
It consists of number series.In some institutes alphabetical series is given
instead of number series.Iam having number series so iam sending that.Please go through tha alphabetical tests also. 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-verbal 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
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
共分享92篇相关文档