Beruflich Dokumente
Kultur Dokumente
Max. mark : 20 Each correct answer carries 1 mark and incorrect deducts 0.25 mark. 1-6. A landlord owns a two-storey apartment complex. The complex has four adjacent ground floor apartments 111, 112, 113, 114, and four upstairs apartments 211, 212,213, 214 such that 211 is directly above 111, 212 is directly above 112,and so on. The landlord keeps one apartment empty where he stays when he visits town, and rents out six others. Nan lives in 114. Hal wont live in 214, and Kit wont live next to Liz on the same floor. Inga lives directly above Joe. Unit 112 is being renovated and cant be rented. 1. If Kit rents 213, then which apartment must Liz rent? A. 211 C. 214 B. 212 D. 113
2. If Hal rents 111 and Joe rents 113, then which of the following CANNOT happen? A. 211 is empty C. 214 is empty B. 212 is empty D. Inga lives in 213
3. Which two tenants live on the same floor? A. Inga and Liz C. Hal and Joe B. Liz and Kit D. Nan and Joe
4. Which of the following CANNOT be true if Hal lives next to Nan? A. Kit lives in 212 C. Liz lives in 214 B. Kit lives in 213 D. Liz lives in 212
5. If Inga insists on living next to Hal, then where must Hal live? A. 211 C. 213 B. 212 D. 214
6. If Liz lives in 213, and Nan moves to the apartment that was being renovated, then which must be true?
7. If the operation,^ is defined by the equation x ^ y = 2x + y,what is the value of a in 2^a=a^3 A.0 C.-1
B.1 D.4
8. There are 200 questions on a 3 hr examination. Among these questions are 50 mathematics problems. It is suggested that twice as much time be spent on each maths problem as for each other question. How many minutes should be spent on mathematics problems A.36 C.60 B.72 D.100
9. In june a baseball team that played 60 games had won 30% of its game played. After a phenomenal winning streak this team raised its average to 50% .How many games must the team have won in a row to attain this average? A. 12 C. 24 B. 20 D. 30
10. A company contracts to paint 3 houses. Mr.Brown can paint a house in 6 days while Mr.Black would take 8 days and Mr.Blue 12 days. After 8 days Mr.Brown goes on vacation and Mr. Black begins to work for a period of 6 days. How many days will it take Mr.Blue to complete the contract? A. 7 C. 11 B. 8 D. 12
12. A car travels a certain distance taking 7 hrs in forward journey, during the return journey increased speed 12km/hr takes the times 5 hrs. What is the distance travelled A. 210 kms C.20 kms B. 30 kms D. none of these
13. Pipe A can fill in 20 minutes and Pipe B in 30 mins and Pipe C can empty the same in 40 mins.If all of them work together, find the time taken to fill the tank A. 17 1/7 mins C.8 mins B. 20 mins D.none of these
14. What is the missing number in this series? 8 2 14 6 11 ? 14 6 18 12 A.7 C.10 B.9 C.12
15. From 5 different green balls, four different blue balls and three different red balls, how many combinations of balls can be chosen taking at least one green and one blue ball? A.3720 C.1520 B.2750 D.3460
16-20. Point out the errors, if any, in the following program: 16. main() { int x=10; if(x>2)then printf(\n %d,x); } 17. main() int i=4,z=12; if(i=5||z>50) printf(\n dean of students affairs); else printf(\n dosa); } 18. void main() { int const * p=5; printf("%d",++(*p)); }
20. main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }