0002 - W Reference Question

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Reference Document - Practice Questions

*Practice of all the enlisted questions will increase the possibility of the candidate clearing Wipro Technical
Test easily. This is just a practice pattern and a list of practice questions.

Reach out to the placement support team for any further support.

All the best!

Contents:
1. Python Coding
2. Python MCQs
3. Aptitude, Verbal Ability & Reasoning
4. Essay Writing

Exam Pattern:
Exam Duration:

Contents:
1. English
a. Meanings
b. Antonyms
c. Passage (10 Qs)
d. Identify the Mistakes in a sentence
2. Aptitude and Logical
a. Number series
b. Encode Decode
c. Letter series
d. Pick out the odd word
e. Blood Relationship
f. Missing Numbers
g. Speed and Distance
h. Ratios
i. Directions
3. Python MCQs (20) - 35 Minutes
4. Python Coding (2) - 40 Minutes
5. Essay Writing (400 Words) - 20 Minutes
1. Python Coding
1. Write a program to print maximum and minimum prime numbers in a given range?
2. To find the lucky number.
Input - 8, Output - 21
Write an algorithm to make a list like 1,1,2,3,5,8,13,21 so when input 8 is entered it
should give output 21.(NA)
3. Reverse a string and calculate unchanged positions to the original string?
4. Write a program to print the sum of odd elements in the array
5. Sum of all prime and non prime numbers in a given range
6. Write a program to reverse an integer
7. Given n, find the factorial and print the trailing zeros
8. Convert decimal number to binary number
9. Convert binary to decimal number
10. Write an algorithm to find the sum of prime numbers in the given number
11. Select even index elements in the list
12. Write a program for word frequency
13. Count of negative elements in the list (-7-9 3 4 5 -6 -8 2)
14. Given a string, find the count of elements that are not vowels.
15. Given internal energy, rate, and time. Print the integer that represents the total energy at
Nth second
16. Find the non-repeating numbers in a string
17. The reverse of a string program
18. Write a program to place even numbers first and next odd numbers program
19. Count of negative integers in the space-separated integers
20. Print the count of unique letters in sequence.
21. Write a program for the Armstrong number
22. Find the words which are repeated more than 1time and sort them in lexicographic order
if not found print NA
23. Write a program for palindrome
24. Find the area of the largest triangle rounded upto one decimal place
25. Find the largest triangle between the two triangles given the height1, base1, height2,
base2.here area of triangle=base*height/2
26. Find the duplicate value from the given data
27. Given a dictionary, access the values and keys in the dictionary
28. Write a program using class methods
29. Find the repeated word in the given string
30. Square the numbers in the given list
31. Given a list, add 1 if the given number in the list is even and add 2 if the given number is
odd in a given string
32. Write a program to count the characters that are not words, integers, spaces
33. Write a program about initial energy and rate and seconds
34. Print the word in a proper sentence without any duplicates
35. Rotation of k elements in given integer list
36. Given list of numbers, add each individual number units place and tens place and return
list
37. Find even and odd numbers, first even numbers and after odd numbers in a list
38. An ecommerce website wishes to find the lucky customer who will be eligible for full
value cashback. For this purpose, a number n is fed to the system. it will return another
number that is calculated by an algorithm. In an algorithm, a sequence is generated, in
which each number is the sum of the two preceding numbers. initially, the sequence will
have two 1's in it. the system will return the nth number from the generated sequence
which is treated as the order id. The lucky customer will be the one who has placed that
order. Write an algorithm to help the website find the lucky customer.
39. Print count of consonants in the given input string
Example:
Input: a, b, j, e, v, i, t
Output: 4
40. Find the numbers in the given list [12,24,30,36,42,48,53] in the range 30 - 50
41. A company is transmitting data to another server. The data is in the form of numbers. To
secure the data during transmission, they plan to obtain a security key that will be sent
along with the data. The security key is identified as the count of the unique repeating
digits in the data.
Example:
Input: 578378923
Output: 3
42. Print the special characters in a string
Input : abcvg123 1234s@#₹iop &789
Output : @#₹&
43. Find the value of a particular index by sorting the array I=[7 10 4 3 20 15] K=3
44. Write a program to print the unique value in the given string and does not repeat the
value in the string. The output should be integer
Example 1 : input = apple, output:3
Example 2: input = program, output:6
45. Given an integer and specific digit between (0-9) write a program to print the count of a
given specific digit in the given integer
Example
Input: 2343243233
Input: 3
Output: 5
46. Given a string that other than letters, numbers, and space if any characters are there
print the count of those characters.
Example
Input: aaa34@raj?where454/
Output: 3
47. An e-commerce application wants to give discounts to its customers. The discount is
calculated as the product of the sum of even numbers and the sum of odd numbers
present in the bill. Print the discount that a customer can get.
a. Input: 2345, Output: 48
Explanation: even_sum = 2+4 = 6.
Odd_sum = 3+5 = 8.
Product = 6*8 = 48.

48. Data stream - alphxxdida . After reverse - adidaxxhpla. So here X and A haven't changed
it's position?
Input - alphxxdida
Output-4.
49. 2. input D 3 and output is G.
Input H 23 and output is e?
50. Check how many perfect squares are in a given list
Input:
[22,9, 45, 82, 81, 21]
Output:2
51. Write a program
Input: 5,3,3; Output: 5,15,45
52. Write a program
Input: 1234; Output: 1*2*3*4 is 24
53. Get the maximum number out of the given integer
Example
INPUT=257895334; OUTPUT=9
54. Number of negative numbers in the list
Example
Input:
Numbers 7
Nums_list = [-3,7,-4,9,-8,6,3]
Output: 3
55. INPUT : 8
10 98 3 33 12 22 21 11
OUTPUT :
10 98 12 22 3 33 21 11
56. FIBONACCI SERIESINPUT : 8; OUTPUT: 21
2. Python MCQ’s:
1. What will be the output of the following Python code snippet?
k = [print(i) for i in my_string if i not in "aeiou"]
a) prints all the vowels in my_string
b) prints all the consonants in my_string
c) prints all characters in my_string that aren’t vowels
d) prints only on executing print(k)
(Reference - link)
2. How can we convert a NUMPY array into a list in PYTHON? (Reference - link)
3. Important data structure of Pandas is/are (Reference -link)
4. Which is the correct operator for power(xy)? (Reference - link)
5. For i in [1,2,3,4]. How many times will the loop run? (Reference - link)
6. Which of the following is not a valid namespace?
a) Global namespace
b) Public namespace
c) Built-in namespace
d) Local namespace
(Reference - link)

7. What is the time complexity of the above code used to reverse a string?
a) O(1)
b) O(n)
c) O(n2)
d) O(n3)
(Reference - link)
8. Char*buf3 = (char*)? This type of problem
9. Difference between xrange and range and which is faster in python??
10. Prime numbers between the range,
11. Count of negative elements in a given list
12. Given a string, count the divisible numbers in it by the given number
13. Swap two variable values
14. What is the lambda function
15. Function equal to random.randrange(3) (link)
16. What are storage types related to python
17. How to get 1000 lines of code from the data
3. Aptitude|| Verbal|| Reasoning

1. P walks 10km Southwards and then takes a right turn and walks 6km, then turns left and
walks 3km then turns left and walks 5km. In which direction is he now from the starting
point? (Reference - link )
2. Given the train speed and time taken to cross the platform and also given the time taken
to cross the pole.find the length of the platform.- Link
3. Grouping and selection questions
a. Example - On Goa beach, there are three small picnic tables. Tables 1 and 2 each
seat three people. Table 3 seats only one person, since two of its seats are
broken. Akash, Babu, Chitra, David, Eesha, Farooq, and Govind all sit at seats at
these picnic tables. Who sits with whom and at which table is determined by the
following constraints:
○ Chitra does not sit at the same table as Govind.
○ Eesha does not sit at the same table as David.
○ Farooq does not sit at the same table as Chitra.
○ Akash does not sit at the same table as Babu.
○ Govind does not sit at the same table as Farooq.

Which of the following is a list of people who could sit together at table 2?

4. Number series
5. Diagram pattern
6. Finding the volume of the hemisphere
7. Find the least number which when divided by 6,15 and 18 leave remainder of 5 in each
case.
8. (112 x 54) = ? (Reference - link)
9. What percentage of numbers from 1 to 70 have 1 or 9 in the unit's digit? (Reference -
link)
10. Calculate the area of the given 2 triangles and print the highest area
11. Given a number of distances. And given start and end distance find number of distances
between start and end (Reference - link)
12. A man worked at a job for 12 days and his wife completed the job for 15 days. How
many days completed both are work in the same job (Reference - link)
13. Introducing a boy, a girl said, "He is the son of the daughter of the father of my uncle."
How is the boy related to the girl? (Reference - link)
14. DELHI is coded as 34178 then MUMBAI is coded as ? (References - link)
15. Find the odd one out (Reference - link)
10 7 10 14
16. Meaning of SQUANDERED
17. Meaning of EMANATE
18. Meaning of NOVICE
19. 3 , 6 , 11 , 18 , 27 , ? , 51 . Find the number in the series (Reference - Link)
20. FAG, GAF, HAI, IAH, ____ (Reference - link)
21. There are not many men who are so famous that they are frequently referred to by their
short names only - (Correct the given sentence) link
22. The profit obtained by selling an article for Rs.56 is the same as the loss obtained by
selling it for Rs.42. What is the cost price of the article?
23. If the S.P. of Rs.24 results in a 20% discount on the list price, what S.P. would result in a
30% discount on the list price?
24. A can do a work in 12 hours, B can do it in 14 hours. They work alternately starting from
A. A earns rs.15/hr. How much does he earn from the whole job?
25. Bag contains coins of 1 rupee, 2 rupees, 5 rupees in the ratio 4:8:5. The total amount is
rs.90. The number of 5 rupee coins is?
26. A/b is a fraction where a is less than b if n is added to both the numerator and
denominator?
27. A started a business with Rs.2, 70, 000 and was joined by B three months afterwards.
how much money did B invest if the profit share of A at the end of the year was three-
fifths of the total profit?
28. An aeroplane flies along the sides of an equilateral triangle at speeds of 300 km/hr, 200
km/hr, 240 km/hr. the average speed of the plane while flying around the triangle is?
29. Three successive discounts of 6%, 10%,15% is equal to a single discount of? 28.09
30. The unit digit of 3 power 34 is?
31. The L.C.M. of two numbers is 35322. If the numbers are in ratio 1:3, then their HCF is?
32. What is the value of the square of 71/2, when it is expressed as a mixed fraction?
33. 8^-1 * x = -4^-1
34. Mathi purchased a walkman from her friend. She then sold it for what it had been.
Sold for Rs.105. The gain would have been 1/4 of the former loss. What is the cost
Price of the walkman?
35. The number 456*85 is completely divisible by 3. Find out the smallest whole digit number
in place of “*”Can it be ?
36. What, one wonders, is the lowest common denominator of Indian culture today? The
attractive Hema Malini? The songs of Vinidh Barati? The attractive Hema Malini? The
sons of Vinidh Barati?

Or the mouth-watering Masala Dosa? Delectable as these may be, each yields pride of
place to that false (?) symbol of a new era-the synthetic fibre. In less than twenty years
the nylon sari and the terylene shirt have swept the countryside, penetrated to the
farthest corners of the land and persuaded every common man, woman and child that
the key to success in the present-day world lies in artificial fibers: glass nylon, crepe
nylon, tery mixes, polyesters and what have you. More than the bicycles, the wristwatch
or the transistor radio, synthetic clothes have come to represent the first step away from
the village square. The village lass treasures the flashy nylon sari in her trousseau most
delay; the village youth gets a great kick out of his cheap Terrycot shirt and trousers, the
nearest he can approximate to the expensive synthetic sported by his wealthy city bred
contemporaries. And the Neo-rich craze for ‘phoren’ is nowhere more apparent than in
the price that people will pay for smuggled, stolen, begged borrowed second hand or
thrown away synthetics. Alas, even the uniformity of nylon.

Q.1. ‘The lowest common denominator’ of Indian culture today is –


(A) Hema Malini
(B) Songs of Vividh Barati
(C) Masala Dosa
(D) Synthetic fibre
Q.2.The synthetic fibre has –
(A) Always been popular in India
(B) Become popular during the last twenty years
(C) Never been popular in the last twenty years
(D) Been as popular as other kinds of fibre
Q.3. The latest symbol of modernity for rural people is –
(A) The bicycle
(B) The wristwatch
(C) The transistor
(D) The synthetic cloth
Q.4. The term ‘Neo-rich’ means –
(A) The aristocracy
(B) The industrialists
(C) The newly rich people
(D) The common people

Q.5. The tone of the passage is –

(A) Tragic (B) Ironic, (C) Sombre, (D) Satiric

( Reference - link )
4. Essay on a topic (link)

Essay Writing ( The essay should consist of 400 words ) (Reference


- link)

1. What are the qualities that are required for a person to be successful?
2. What are the qualities a person should have in order to get hired as an employee in a
company?
3. Write an essay on Effects of television and internet exposure on children
4. Writing an essay about planning a vaccination for Christmas with your 7 friends
5. When a company can justify terminating an employee. Which reasons should be taken
into account?
6. Currently, most of the people want to go abroad. What is your reason for going abroad
and why? If you were given the opportunity to travel abroad, would you go or stay in your
own country?
7. You're chosen as the head of the coordinating committee for the upcoming cultural fest,
which is going to be conducted in the next 2 months.
Write an essay on how well you managed the team and made the event successful

You might also like