You have 50 minutes to complete the quiz. Please refrain from switching tabs, as it may result in negative scoring or invalidation of your quiz.
Thank you for taking the quiz. You will shortly receive the results.
TechForce Services Placement Drive 2025
Campus training and placement
Please fill in the following details
1 / 50
1. What will be the next term in the following series? A B B D C F D H E J
2 / 50
2. The marked price of a AC was Rs.22500. After allowing two successive discounts, it was sold for Rs.17595. If the second discount was 8%, then what was the first discount?
3 / 50
3. Markup languages tell the web browser
4 / 50
4. Choose the set in which the statements are logically related.
A.P is a hero
B. Some heroes have fans
C. Some villans have fans
D.P may have fans.
E.P is not a villain.
F. Some villains have no fan clubs.
5 / 50
5. x=x+1 is equivalent to
6 / 50
6. A box contains 16 Coins of which 4 Coin are counterfeit with tails on both sides. and The rest are fair Coins. One coin is selected at random from the bag and tossed. The probability of getting a tail is:
7 / 50
7. The pages of a book are numbered 1 through n. When the page numbers of a book were added, one of the page numbers were mistakenly added twice, resulting in an incorrect sum of 2014.
Find the page number which was added twice.
8 / 50
8. A 5 litre jug contains 4 litres of a salt water solution that is 15 percent salt. If 1.5 litres of the solution spills out of the jug, and the jug is then filled to capacity with water, approximately. what percent of the resulting solution in the jug is salt?
9 / 50
9. Find the number of ways in which a number 288 can be expressed as a product of two factors :
10 / 50
10. A grocer has a sale of Rs. 6435, Rs. 6927, Rs. 6855, Rs. 7230 and Rs. 6562 for 5 consecutive months. How much sale must he have in the sixth month so that he gets an average sale of Rs. 6500?
11 / 50
11. consider the size of the data types as below, Int - 4 bytes, char - 1 bytes, pointer - 4 bytes
What will be the output of following code snippet?
#include
#define add(x,y) x+y
int main()
{
int a,b,c,d;
a=10; b=20; c=4;
d=c * add(a,b);
printf("%d",d);
}
12 / 50
12. Use the information given below: A manufacturer produces widgets and sends them to the market in lots of 1000 units, The manufacturing process sometimes produces defective units, Assume 'p' denotes the proportion of defectives in a lot. If a defective widget is found before it is sent to the market, it could be corrected a cost. On the other hand, the manufacturer has to pay a penalty if a defective unit is received by a customer. The manufacturer was considering which of the three alternative methods of inspection procedures he should choose. The graph below shows the cost curve for each of the alternatives as a function of proportion (p) in a lot. INSPECTION COST CURVES
If p is <0.2 the best alternative is
13 / 50
13. A customer buys some apples and mangoes from the market at a rate such that a mango is two times costlier than an apple and he sells them such that a mango is thrice the price of an apple. By selling the apple at twice its cost price, he makes 150% profit. Find the proportion of mangoes to the apples
14 / 50
14. Which of the following statements contains an error?
15 / 50
15. A train travels 150 km at a speed of 50 km/hr and then travels another 200 km at a speed of 60 km/hr. What is the average speed of the train?
16 / 50
16. Which of the following line of code is suitable to start a thread ?
class X implements Runnable { public static void main(String args[]) { /* Missing code? */ } public void run() {} }
17 / 50
17. An advertising executive must schedule the advertising during a particular television show. Seven different consecutive time slots are available for advertisements during a commercial break, and are numbered one through seven in the order that they will be aired. Seven different advertisements - B, C, D, F, H, J, and K - must be aired during the show. Only one advertisement can occupy each time slot. The assignment of the advertisements to the slots is subject to the following restrictions: B and D must occupy consecutive time slots. B must be aired during an earlier time slot than K. D must be aired during a later time slot than H. If H does not occupy the fourth time slot, then F must occupy the fourth time slot. K and J cannot occupy consecutively numbered time slots.
Which of the following could be a possible list of the advertisements in the order that they are aired?
18 / 50
18. Which of the following are correct syntaxes to send an array as a parameter to function:
19 / 50
19. ‘A@B’ means ‘A is neither smaller than nor equal to B’. ‘A#B’ means ‘A is not greater than B’. ‘A$B’ means ‘A is neither greater than nor equal to B’. ‘A*B’ means ‘A is neither greater than nor smaller than B. ‘A©B’ means ‘A is not smaller than B’. Assuming the above statements to be true, you have to decide which of the conclusions is /are definitely true and then mark your answer accordingly.
Statements: H©R, R@W, W*F, J$F Conclusions: I. H@F II. J$W III. R@J
20 / 50
20. What is the range of byte data type in Java?
21 / 50
21. Eight people P, Q, R, S, T, U, V and W live on separate floors of an 8-floor building. Ground floor is numbered-1, first floor is numbered-2 and so on until the topmost floor is numbered 8. P lives on floor numbered five. Only two people live between P and Q. Q lives above P. V lives immediately above S. T lives immediately above R. Only one person lives between T and W. T lives above W. U lives on an odd numbered floor.
Who lives on the floor immediately above P?
22 / 50
22. i) x @ y # z means x is multiplied by the sum of y and z. ii) x © y % z means y is divided by z and the resultant is added to square of x. iii) x $ y * z means z is subtracted from the product of x and y. iv) x . y e z means z is subtracted from y and the resultant is added to x.
13 @ 4 # 3 = p p $ 5 * 55 = ?
23 / 50
23. In how many different ways can the letters of the word 'PARTY' be arranged?
24 / 50
24. Inheritance means
25 / 50
25. Find out the output
int main(void)
char p;
char buf[10] = {5, 10, 15, 20, 25, 30, 35, 40, 45, 50};
p = (buf + 1)[5];
printf("%d", p);
return 0;
26 / 50
26. A bus started from bus stand at 8.00am, and after 30 minutes staying at destination, it returned back to the bus stand. The destination is 27 miles from the bus stand. The speed of the bus is 18mph. In return journey bus travels with 50% fast speed. At what time it returns to the bus stand?
27 / 50
27. The sum of the ages of A and B is 56. A is twice as old as B was when A was as old as B is now. What are their ages?
28 / 50
28. After line 8 runs. how many objects are eligible for garbage collection?
public class X { public static void main(String [] args) { X x = new X(); X x2 = m1(x); /* Line 6 */ X x4 = new X(); x2 = x4; /* Line 8 */ doComplexStuff(); } static X m1(X mx) { mx = new X(); return mx; } }
29 / 50
29. Cost price of two bikes is same. One is sold at a profit of 30% and other for Rs.6300 more than the first. If the net profit is 40%. Find the cost price of each bikes.
30 / 50
30. consider the size of the data types as below, Int - 4 bytes, char - 1 bytes, pointer – 4 bytes
What will be the output of following code snippet? #include int main() { char a[8]="Juspay"; char b[8]="Welcome"; b=a; printf("%s",b); }
31 / 50
31. What will be the ratio of simple interest earned by a certain amount at the same rate of interest for 6 years and that for 9 years?
32 / 50
32. Consider the size of the data types as below, Int - 4 bytes, char - 1 bytes, pointer – 4 bytes
What is the output of the following program?
int *func2(int x, int y);
int (*func3)(int m, int n);
int *func2(int x, int y)
int *z;
z=x+y;
return(z);
int a,b,*c;
a=10;
b=20;
func3=&func2;
c=(*func3)(a,b);
printf("%d",*c);
33 / 50
33. consider the size of the data types as below, Int - 4 bytes, char - 1 bytes, pointer – 4 bytes
What is the output of following code snippet? #include #define BIT2 0x04 #define BIT3 0x08 #define BIT5 0x20 int main() { char x,y,z,w; x=13; y=x | BIT5; z=y & (~BIT2); w=z ^ BIT3; printf("%d",w); }
34 / 50
34. Anusha walks 5 km towards north. Then she takes a right and walks 8 km. Then she walks 5 km towards south and finally walks 12 km towards west. How far and in which direction is she from the starting point
35 / 50
35. Cost of 68 pens and 96 pencils is Rs. 788/-. What is the cost of 17 pens and 24 pencils?
36 / 50
36. In a certain water body, 50 fish were caught, tagged and released into the same water body.
A few days later, 50 fish were caught again, of which two were found to have been tagged on previous occasion.
If the percent of tagged fish in the second catch approximates the percent of tagged fish in the water body,
what is the approximate number fish in the water body?
37 / 50
37. A thirsty Kingfisher is sitting on a car moving at a speed of 60 kmph. It sees a water tanker at a distance of 400 m coming with the speed of 40 kmph from the opposite direction. It flies at an average speed of 10 kmph and sits on a water tanker but cannot drink the water. Again immediately it flies back to the car and again to the water tanker and so on. What is the total distance travelled by the Kingfisher before the car and the tanker collides.
38 / 50
38. What kind of computer memory is both static and non volatile
39 / 50
39. Mr. Praveen sells 20 kg of rice at Rs. 400. A customer asks 28% discount and he agrees to it but instead of 1 kg he gives 16% less rice. What is the effective discount that the customer gets?
40 / 50
40. Which data type value is returned by all transcendental math functions?
int
41 / 50
41. Choose the word closest in meaning to replace the word given in bold Portend : It appears to many that the US :War on terrorism” portends trouble in the gulf.
42 / 50
42. Select * from employee
What type of statement is this?
43 / 50
43. Twice as many people were invited to this year's party as were invited to last year's party. 42 people came to this year's party. 12 of them left the party early. 8 people were not able to attend the party. How many people were invited to last year's party?
44 / 50
44. Six bells commence tolling together and toll at intervals of 2, 4, 6, 8 10 and 12 seconds respectively. In 20 minutes, how many times do they toll together ?
45 / 50
45. If in a certain language ABEYANCIES is coded as SIENCYABEA then how will ABJECTIONS be coded ?
46 / 50
46. What will be the compound interest on a sum of Rs. 7200/- at 5 p.c.p.a. in 2 years?
47 / 50
47. Four friends in the sixth grade were sharing a pizza. They decided that the oldest friend would get the extra piece. Chandler Bing is two months older than Ross Geller, who is three months younger than Joey Tribbiani. Gunther is one month older than Ross Geller. Who should get the extra piece of pizza?
48 / 50
48. class Sample { public static void main(String args[]) { double a = 25.64; int b = 25; a = a % 10; b = b % 10; System.out.println(a + " " + b); }
49 / 50
49. Two men start at the same time to walk towards each other from X and Y, which is 72 km apart. The first man walks at a rate of 4 kmph from X. The second man walks 2 km in the first hour, 2.5 km in the second hour, 3 km in the third hour and so on. The men will meet:
50 / 50
50. Sharon, Kumar and Prakash enter into a partnership in the ratio 1:5:1. After 4 months, Sharon increases his share by 50%. If the total profit at the end of one year be Rs. 154,000, then B’s share in the profit is ?