CAMPUS DRIVE Questions Day 1 and 2

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

MEPCO SCHLENK ENGINEERING COLLEGE (AUTONOMOUS), SIVAKASI

CAMPUS DRIVE 2024

ZOHO
ROUND 1 – (1hr 15mins for 20 aptitude questions and 45mins for 10 C apti. FILL IN THE BLANKS)

1. A trader has 3 bags of 10 coconuts each. He has to pay one coconut per bag as toll at the toll
gates. If he has to cross 30 toll gates, what is the maximum number of coconuts left with him
at the end of the journey?

2. A man while walking down the road collided with a woman who dropped the basket of eggs
she was carrying. The man wishes to pay for her loss. The woman doesn’t remember how
many eggs were there but she is sure that the number of eggs present when divided by
2,3,4,5 and 6 left a remainder of 1 and when she picked the eggs in groups of seven, she was
able to empty the basket. How many eggs were there initially?
Round 1:

1. Total number of handshakes is 120. How many persons were there?

2. A train overtakes 2 persons who are walking in the same direction in which the train is going
at the rate of 2kmph and 4kmph and passes them completely in 9 and 10 secs. What is the
length of the train?

3. Given upstream of boat = x kmph, downstream of boat = y kmph, speed of boat in still
water = ?

4. There are 3 sacks, each sack contains 30 coconut. There are 3 tolls for each toll the merchant
has to give a coconut from each sack. If the merchant acts clever, then how many coconuts
does he have at the end of 30 tolls?

5. It takes 11 parts to make a soap, out of which 1 part is waste. If there 251 parts how many
soaps can be made if the wastes can be reused.

6. A lady dropped a basket with full of eggs. She is not sure of the total count but she has some
clue to identify the broken eggs. Whenever a group of 1, 2, 3, 5 or 6 is taken 1 egg is left and
whenever a group of 7 eggs are taken there are no eggs left. Find the number of eggs.

7. If a man works for 1 year, he will get a salary of Rs. 2400 and one shirt. If he is working for 9
months, and he gets Rs. 1200, what is the cost of the shirt?

Followed by C questions mostly from “Test your C skills” by Yashwant Kanetkar.

Round 2:

1. Given an integer n, form a number triangle.


Example : if n = 5,
output:
0
505
45054
3450543
234505432
12345054321
2. Given a string with braces, check whether it is balanced or not.
Example:
[](){} - balanced
[]){(}) - not balanced

3. Given a 3 or 2 digit number, add it with its reverse and check if the result is palindrome. If
not, add the result with its result and continue this process for 5 times.

4. Given a line of sentence, reverse the sentence. (White spaces and special characters retain
their same place)
Example : John : oh God ! I cannot believe !
Evei : le bto ! N nacIdo Ghonho !

5. Generate a 10 digit random number such that


a) 1st digit is divisible by 1
b) 1st two digits are divisible by 2
c) 1st three digits are divisible by 3
.
.
.
j) 1st ten digits are divisible by 10
without repetation of digits.
Questions collected from EEE:
1. Write a program to Check whether the given string of braces and brackets is valid or not.
Eg : [({})] Valid string Eg:{([)} Not a valid string
2. Write a program to Get an integer as input as display an output as shown below.
Eg: Input: 3
Output: 0
303
23032
1230321
Input: 5
Output:0
505
45054
3450543
234505432
12345054321
3. Write a program to Generate a random 10 digit no? (No digits should repeat).
a. First digit should be divisible by 1
b. First 2 digits should be divisible by 2
c. First 3 digits should be divisible by 3
d. First 10 digits should be divisible by 10.
4. Write a program to reverse the given string and if a character is not alphanumeric then it
must remain same
Eg: Input: my house is on fire!!
Output: erif no si esuoh ym!!
5. Get a 3-digit or 2-digit no and find reverse the given no and add it with the same no. Check
whether it is a palindrome. If it is a palindrome, terminate the process or else take the sum
as the input and repeat the same process until a palindrome is obtained. And terminate the
program if the palindrome is not obtained in 5 steps.
Eg: Input:27
27+72=99
Output : It is a palindrome
6. Assume ‘n’ taxi’s available and distance between two consecutive point is 15km. A linear
path A B C D E F is available and time taken to travel between adjacent point is 1hr.
Initially all taxi’s are at point A. The customer gives pickup tie, pickup position , destination
position and tax company gives taxi number allocated , reaching time.
Cost : for 1st 5km : Rs. 500 and for subsequent kms : Rs. 10
Write a program to (a) find travel history of each taxi car (b) If more than one taxi are
available then one who earned less is allotted (c) If no taxi is available then print rejected.

VOONIK
ROUND 1 – (1hr 20 questions. FILL IN THE BLANKS)

1. There are six socks in a drawer. The socks are of two colors:black and white. If you draw two
socks randomly, the probability that you get white socks is 2/3. What is the probability of
getting black socks, when two socks are drawn at a time?

2. There are a total of 5005 applicants for a job opening. The applicants are made to sit in such
a way that there are at least 5 males between 2 females. What is the largest possible
number of female candidates?

3. If all permutation of the word ‘DEMAND’ is arranged such that the two Ds do not come
together, then when arranged alphabetically, what is the position of ‘DEMAND’?

ROUND 2 – PROGRAMMING (2.5 hrs for 4 programs and for 400 marks)

1. Prime or not (incomplete)

2. Check whether a given string can be rearranged to form a palindrome (incomplete)

Round 1: (there were around 20 questions)

1. If x%y = 9 and x/y = 96.12, y = ?

2. John has 6 socks. The probability of drawing white pairs twice is 2/3. What is the probability
that he draw black socks?

3. Of the 1/3 of the eggs hatched, 2/3 survived first year. If the number of eggs survived after
hatchng in a month is 120, then what is the total number of eggs hatched.

4. Five girls had a ticket to only one movie, 5 movies are running in 5 different theartres,
different clues are given. The problem is to find out which girl was watching which movie in
which theartre.

5. 5005 applicants were in waiting list. There were 5 men in between every 2 women. How
many males were present?
Round 2: Write code for following.

1. Find whether a given string can be made as a palindrome.

2. Find the prime numbers with bounds given.

3. List of speeds given and corresponding fuel consumption, find the distance.

4. Travelling salesman algorithm.

Round 3:

1. There is a gold bar, it can be cut only twice, with that gold bar you should pay wage for an
employee for 7 days. You shouldn't pay him in advance or delay his payment.

2. There is a 100 floor building, If you drop egg from a particular floor it breaks, it doesn't break
if you throw it from any floors below. You just have 2 eggs, what will be minimum number of
drops required to exactly tell the floor from which it starts breaking.

3. There are totally 30 balls some weights 20 gm, some 10gm, if their average is 18. If the
average reduces to 14, how many 20 gm balls has to be removed.

Questions collected from EEE:

1. Write a program to check whether the given number is palindrome or not.

2. Write a program to check whether the given no is prime or not

3. Write a program to check whether the given string can be converted to a palindrome or not.
Eg: input output
abb palindrome (bab)
ppo palindrome (pop)
abc not palindrome

4. Write a program to calculate the maximum distance that can be covered by a car having a
given fuel amount. A set of speeds and corresponding fuel consumption are given as input.
Eg: Input : 3
Speed : 250 220 240 (km/Hr)
Consumption: 5litres 4litres 3litres
Capacity : 50litres
Output : 4000 km

5. Write a program to visit maximum islands for a given set of islands.(shortest path to visit the
given no of island, if a node has 2 possible next nodes then choose node with least no.)

6. Write a program to display the given numbers in word format.


Eg. Input: 66 Output: sixty six

7. Write a program to store the words starting with vowels but not ending with vowel in a
separate string from a given string(paragraph).

8. Write a program to implement pattern for given integer array and Pattern based on
occurrence of a number in integer array

Eg: Input:
2 2 9 3 3 4 4 5 6 7 7
7 7 1 0
Output: 0 *
1 *
2 **
3 **
4 **
5 *
6 *
7 ****
8
9 *

9. Write a program to move “0” digits as front side of the number without using additional
array
Eg: Input: a[ ] = 1 0 2 0 3 0 0 0 5 6 7 0 2
Output: a[ ] = 0 0 0 0 0 0 1 2 3 5 6 7 2

10. Write a program to display no of guests in a party at a given time

11. Write a program to find biggest number in a given array

12. Write a program to find (x,y) coordinates for an rectangular object if it rotates clockwise
direction for every 1o rotation.

13. For ‘n’ number of petrol bunks with capacity in litres and distance between them as ‘x’ in
km, a lorry which has velocity as 1 km/litre starts from anyone of petrol bunk and has to
complete the circular path. Write a program for selecting any petrol bunk as starting point
for the completion of the path without any interruption.

14. Write a program to find 3 no’s whose sum is zero from an array of n no’s, keep the order of
complexity close to n2.

15. Write a program to get the number as a string input and print the number as an integer.

16. Write a program to check whether the given matrix is a magic square or not.

GoFRUGAL
ROUND 1 (1 hr 20 questions out of which 9 questions were fill in the blanks. NEGATIVE MARKING
for every wrong answer)

1. If the month has 31 days and if Day 1 is a Saturday and if all Sundays and every second
Saturday is a holiday, how many working days are there in that month?
2. There are 8 coins out of which one is slightly heavier. What Is the least possible number of
trials required to find out the heavier coin?
3. Kamala’s age is 1.25 times her age 8 years ago. Her son’s age is half her age. Find out
Kamala’s age.
4. How many four digit numbers have the number 2 in them?

ROUND 2 – Key Performance Skills Testing (1 hr 10 questions)

1. Statement of purpose covering your goals, talents and strengths.


2. Three things you like
3. Three things you hate
4. Steps involved in organizing a birthday party/picnic
5. Three improvements you wish you could have experienced in your college
6. Three things you wish to change about the education system in your college
7. Three things that have impressed you in your college.
8. Letter writing to an angry customer on behalf of the support team of the supplier.
9. Use case specification for building a mobile app for managing placement process/grade
maintenance/attendance maintenance.

ROUND 3 – For Students who have opted for Member Technical Staff position alone
(One hour was given to code 4 programs)

1. Validating IP address
2. A function definition to return loyalty points (an integer).
If purchaseAmt is greater than 100,loyalty point=1.
If purchaseAmt is greater than 500,loyalty point=5
If purchaseAmt is greater than 1000,loyalty point=7
If purchaseAmt is greater than 5000,loyalty point = 15
For eg, if purchaseAmt is 600, the loyalty point assigned should be 6.

Round 2: (for the member technical staff )

Write a program for the below scenarios:

1 Check whether the inputted IP address is valid or not. (125.6.0.1.5- Invalid)


Hint : number must be less than 255.

2. Loyalty point – Given a customer and his purchased amount, find his points.
Example: customer reference
A - B, X, Y, Z
B – C, P, Q, R
C – D, M, N, O
that is, customer A refers B, X, Y, Z and customer B refers C,P, Q, R and customer C refers D,
M, N, O. For every 1000 rupees, 2 points to the customer who purchases, 3 points to the
one who referred him and 1 point to the refferees in the next level.
Input : D 3000
ouput : D 6 C 9 B 3

3. Credits for the customer

for every 100 rupees – 2 points


for every 500 rupees – 3 points
for every 1000 rupees – 4 points
for every 5000 rupees – 5 points.

Calculate the credits obtained by the customer.


Example : Rs. 4990 -> credits = 27
Hint : 4 * 1000 + 500 * 1 + 100 * 4 + 90 => 16 + 3 + 8 = 27

Questions collected from EEE:

1. To give the loyalty points for each purchase of over Rs.1000, 3 points for customer,2 points
for first referral, 1 point for second referral (A refers B,X,Y B refers C,Z,M

C refers D,N,O) Eg:- INPUT:D 2000 OUTPUT:D 6 C 4 B 2

2. Write a program to check whether the given ip address is valid.(should have 3 dots and
number should not exceeds 255)

3. Write a program to check whether the given e-mail address is valid.

4. Write a program to calculate the loyalty points based on the following data

a. For each purchase >5000, 100 points


b. For each purchase >1000, 15 points
c. For each purchase >500, 5 points
d. For each purchase >100, 1 point

5. Write a program to prepare bill for super market(MRP inclusive of taxes& non inclusive of
taxes)

6. Write a program to print true if string contains 3 “.” numbers and 3 characters otherwise
print false.

SOLARTIS
ROUND 1 – (1hr for 35 questions .MIXED.FILL IN THE BLANKS MOSTLY)

1. The poor has it, the rich needs it and if you eat it you will die. What is it?
2. There are 9 balls out of which 8 weigh the same. One ball is slightly heavier than the others.
Can you find out which ball is the heaviest in just two trials? If so, explain.
3. A man is walking through an unfamiliar country. At the crossroads, he observes that the sign
post has fallen over. How will he find his way correctly? There are no people around to
whom he could ask, noGPRS, no mobile.
4. Statement 1:All magicians are educated.
Statement 2:Some Magicians are dumb.
Conclusion: Some educated are dumb.
Does the conclusion follow any of the statements?
5. What are the number of palindromes between 10 and 1,00,000?
6. The length of the rectangle is increased twice by 10% each.What is the percentage increase
in the area?
7. Find the odd one out: a)Coast b)Peninsula c)Island d)Oasis
8. Arrange the following in logical order: a)Paragraph b)Letters c)Book d)Words e)Chapter
f)Sentence
9. 27 cubes are arranged in a 3x3 fashion to form a larger cube. How many such small cubes
are covered by other cubes on all sides?
10. A woman introduced a man as ‘ he’s is the son of the brother of my mother’. How is the man
related to the woman?
11. A company declares leave only on Sundays and If April 17th of a month in a particular year is
a holiday, then is December 24th a holiday?
a)No, Dec 24 is not a holiday
b)Yes, Dec 24 is a holiday
c)Dec 24 is a holiday only if the year is a leap year.
d)Cannot be determined.
12. In a particular code, MEN was coded as MIN and WOMEN was coded as WUMIN. How will
be CHILD coded in that language?
a)CHOLD b)CHALD c)CHULD d)CHELD
ROUND 2 – GROUP DISCUSSION

We were asked to introduce ourselves first and the topic was given. Every one of us was supposed to
speak on the topic individually for at least two minutes. Finally there was a discussion/debate.
Topic: Is Money required to get more Money?

ROUND 3 –SOFTWARE ENGINEERING CONCEPTS (1hr for 5 questions)

1. Draw a flowchart to sort the given sequence of numbers.


2. Draw a flowchart to validate date of birth : DD MM YYYY
3. Write the steps involved in ‘Online ticket booking’ right from login to printing tickets when
the user pays by credit card. Also write the inputs and outputs involved in each step.
4. Draw a decision table covering the conditions and actions for the following:
John has lot of work to do on Saturday. However, what work he does is as follows:
If John wakes up late and if the weather is sunny, he will hang out the washing. However, if
he wakes up late, he will mow the grass.
If John wakes up early and if it is cloudy, if he has money in his account, he’ll go shopping.
5. A restaurant bill invoice was given and we were asked to identify the static and dynamic data
elements and to design table(s) suitably.
Round 1:

1. How many palindromes are present between 10 and 100000?

2. The average weight of team contains 4 persons p, q, r, s is 56. If q is replaced by a new man
whose wight is 4 more than s. Find the weight of s?

3. The team captain can eat the 2/3 rd of the cake and remaining was shared between the
team members. If the captain ate twice the share of one member, then find the number of
members present in the whole team?

4. Poor have it, rich needs it, if you eat it you will die. What is it?
5. Cubes are arranged in 3 x 3. Then how many cubes are surrounded on all sides.

6. A boatman goes 2km against the current of the stream in 1 hr and goes 1 km along with the
current in 10 mins. How long will it take to go 5 km in stationary water.

7. There are 9 balls, 8 balls are of equal weight whereas 8th ball is heavier than others. If there
is a balancing scale to weigh the balls, how many turns will you take to identify the heaviest
ball.

8. The left of the newspaper has the page no 14 and rightside of the newspaper has the page
no. 35. How many pages are there totally.

9. You are in unknown place, No GPRS, No mobile, signboard has fallen down, no person to
help. How will you find the route?

10. The selling price of 17 balls is 720. The loss is equal to the cost price of 5 balls. What is the
cost price of 1 ball?

11. MEN is coded as MIN, WOMEN is coded as WUMIN, CHILD is coded as what?

Round 2: Group Discussion

Round 3: (logical reasoning)

1. Flow chart for sorting numbers.


2. Flow chart to validate a date of format DD MM YYYY.
3. Inputs and outputs for various modules of online ticket booking system.
4. Condition action table drawing for given situation.
5. Determine the static and dynamic data elements from a given bill.

CITRISYS
1. A number can be added by one or doubled. What is the minimum number of steps needed
to get exactly 300?

2. Write a program to reverse a sentence as follows:


Input : This is a sample
Output : sihT si a elpmas

3. Write a program for given logic below


Step 1: find the unitdigit of the number Example 34246 is 6(unit digit)
Step 2: (3*2 + 4*2 + 2*2 + 4*2)/4 = 6
Step 3: check unit dight and above condition equals if TRUE print SUCCESS elseFAIL

4. Check and remove duplicate in Array


Given array ={1,2,3,4,1,2,3,5,1,2}
output={1,2,3,4,5}

You might also like