Freshers Drive Test - 14/06/2022
Personal Details
Name *
email id *
Education *
Enter your
10th - year of Passing - Percentage
12th - year of Passing - Percentage
UG, College / University, Year of Passing, Percentage/CGPA
PG (If Any), College / University, Year of Passing, Percentage/CGPA
Mobile Number *
Start Time: *
#Start time should match with the mail
#Candidates interested in Developer trainee position Need not attempt QA questions and will be evaluated on Q1-15 (Duration 60 mins).
#Candidates interested in QA trainee position should attempt all section including Q 16 - 19 (+15 Mins)
#Not Submitting within the duration will make the test invalid and the candidate will be disqualified.
Aptitude Questions
1. The first term in a series of numbers is 3 and the 10th term is 21. Find the 15th and 22nd terms.
2. If sum of three numbers is 33 and sum of their squares is 491, then what are the three numbers?
3. The width of a rectangular hall is ½ of its length. If the area of the hall is 450 sq.m, what is the difference between its length and breadth?
4. The ages of X and Y are in the ratio 3:1. Fifteen years hence, the ratio will be 2:1. Their present ages are:
Directions for Questions 5 to 6: These Questions are based on the following table.
POULATION OF FOUR METRO CITIES AT THE BEGINNING OF THE YEAR 1990
5. If Bombay were to become the most populous city at the end of the year, what is the least number of people who must shift to Bombay during the year, given that, every year 1% of its population shifts to other cities ?
6. If the most populous city has 40% female population, and the least has 35% female population, then the difference between male population of these two cities is closest to
Technical : For all programming related questions 7-9, you can write programs in any of the following languages: C++ / PHP / JAVA / Python
7. Write a program to swap two values of given variables without using third variable
using XOR operator
not using XOR operator
Input values should be taken from the User. For Eg if user gave a=20,b=45 then output should be a=45 and b=20
8. Write a program using functions to get. From number,To number,Dividing number from user and display the divisible values
Input values should be taken from User.For Eg: From 5 to 15 divisible by 4 Ans(8,12)
9. Write a program to Count the number of each Vowel and total no. of vowels in a given String?
For Eg: Input is "Welcome User" the output has to be
e-3
o-1
u-1
total -5
Check both upper and lower case
10. What will be the output (7500 > '15,000') ? true : false;
11. What is the output of the following code
char symbol[3]={‘c’,‘a’,‘t’};
for (int index=0; index<3; index++)
cout << symbol [index];
12. Given two variables, num1 and num2, which of the following would mean that both num1 and num2 are positive integers?
SQL Questions
13. Given 2 tables created and populated as:
CREATE TABLE dbo.envelope(id int, user_id int);
CREATE TABLE dbo.docs(idnum int, pageseq int, doctext varchar(100));
INSERT INTO dbo.envelope VALUES
(1,1),
(2,2),
(3,3);
INSERT INTO dbo.docs(idnum,pageseq) VALUES
(1,5),
(2,6),
(null,0);
What will be the result of the following querry
UPDATE docs SET doctext=pageseq FROM docs INNER JOIN envelope ON envelope.id=docs.idnum
WHERE EXISTS (
SELECT 1 FROM dbo.docs
WHERE id=envelope.id
);
14. Given a table TBL with a field Number that has rows with the following values:
1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1
Write a query to add 5 where Number is 0 and add 6 where Number is 1.
15. How do you get the last id from a table without using max function?
QA/Testing Questions
16. Explain a defect life cycle step by step, in points
17. Which of the following indicates how important it is to fix the bug and when it should be fixed?
18. When should you stop testing?
19. A microwave oven has three temperature settings for different kinds of foods:
— Food type A are cooked at temperatures between 20 and 30 degrees Celsius;
— Food type B are cooked at temperatures between 40 and 60 degrees Celsius;
— Food type C are cooked at temperatures between 80 and 100 degrees Celsius.
Choose the option that contains only values that are in different equivalence partitions?