0% found this document useful (0 votes)
5 views10 pages

Fresher Recruitment Questions

The document outlines various scenarios and questions related to functional testing, object-oriented programming concepts, programming exercises, and aptitude assessments. It includes specific tasks such as writing test cases for different scenarios, programming challenges, and logical reasoning questions. Additionally, it describes a banking scenario assessment focusing on loan data processing and validation requirements for residential and commercial loans.

Uploaded by

arpita227
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views10 pages

Fresher Recruitment Questions

The document outlines various scenarios and questions related to functional testing, object-oriented programming concepts, programming exercises, and aptitude assessments. It includes specific tasks such as writing test cases for different scenarios, programming challenges, and logical reasoning questions. Additionally, it describes a banking scenario assessment focusing on loan data processing and validation requirements for residential and commercial loans.

Uploaded by

arpita227
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Contents

Functional Scenario based...........................................................................................................................2


OOPs concepts............................................................................................................................................3
Programming...............................................................................................................................................4
Aptitude.......................................................................................................................................................5
Quantitative.............................................................................................................................................5
Logical......................................................................................................................................................6
Banking Scenario Assessment.....................................................................................................................9
Functional Scenario based

1) Write as many test cases as you can for this scenario – If you are a new customer and you want
to open a credit card account then there are three conditions first you will get a 15% discount on
all your purchases today, second if you are an existing customer and you hold a loyalty card, you
get a 10% discount and third if you have a coupon, you can get 20% off today (but it can’t be
used with the ‘new customer’ discount). Discount amounts are added, if applicable.

2) A lift travels a floor in 1 second in an office building of 30 floors. The office has 100 employees.

Q.1. How many lifts should be installed in the office to ensure that no employee has to wait for more
than 20 seconds?

Q.2. For the above-mentioned answer, write 5 best case, 5 worst case and 2 general scenarios for
testing the lift.

3) The state electricity board needs to figure out the approximate number of streetlights in the
state to calculate the power required.

Q.1. How would you determine the number of streetlights in the state?

Q.2. Given the number of streetlights in the state is 1 crore, write 5 best case, 5 worst case and 2
general scenarios for testing all the streetlights in the state.

4) What are the possible test cases of a Login Page?

5) What are the possible test cases of a Computer Keyboard?

6) What are the possible test cases for testing and E-Commerce website like Amazon?
OOPs concepts
1) What is the difference between value type and reference type?

2) What is the difference between abstraction and encapsulation?


Programming
3) Write a program to print the first 10 prime numbers.

4) Write a program to print each word in reverse order in a string.

Example:

Input: I am an Engineer.

Output: I ma na .reenignE

5) Write a program to take in the name, type of employee, years of experience as input and print
the ID, name and salary as output. The type of employee will be either “Contractor” or
“Permanent”. The salary should be calculated as follows:

Years of Experience Permanent Employee Salary Contractor Employee Salary


0-2 30000 25000
2-4 60000 50000
4+ 80000 70000

Example:

Input: Output:

Anakin Skywalker ID: 1


5 Name: Anakin Skywalker
Permanent Salary: 80000

John Williams ID: 2


2 Name: John Williams
Contractor Salary: 50000

Will Swan ID: 3


1 Name: Will Swan
Contractor Salary: 25000

6) Write a program to print the 12th number in the Fibonacci series.


Aptitude
Quantitative
1) The ratio of the product to sum of 2 digits of a 2 digit number is 12 : 5. If one digits exceeds the
other by 2, then find the number of highest value which can be formed using the two digits.

2) X alone takes 5 days and Y alone takes 7 days to finish a job. How many days will X and Y take to
finish the job working on alternate days starting with X?

3) The sum of 3 numbers is 0 and the product of those numbers is -90. Find the sum of cubes of
these 3 numbers.

4) The speed of the boat in still water is 8 km/h and the speed of the river is 2 km/h. Boat takes a
total of 10 h to go to a place and come back. What is the total distance covered in the whole
process?

5) What is the diagonal of a square (in cm) having its area equal to that of a rhombus having its
diagonals as 12 cm and 14 cm?

6) For any point, in the first quadrant, on the line 4x + 9y = 36, what is the maximum value of x6 *
y6?

7) An investor is faced with a dilemma about where to invest his savings of 10 lakhs. Scheme A
gives 10% interest compounded annually for 2 years and simple interest of 20% for the next 3
years. If the amount has increased less than 60%, additional 10% is also added to it. Scheme B
gives a simple interest of 10% for 2 years and compound interest of 20% for 3 years
compounded annually. If the amount has increased less than 50%, additional 15% is added to it.
If the investor goes with the right choice, how much does he earn over his initial investment?

8) A can do a piece of work in 22 days while B alone can complete the whole work in 26 days. They
work together for 5 days then A left the work and remaining work can done by B alone. In how
many days will finish the whole work?
Logical

1) Today's workforce has a new set of social values. Ten years ago, a manager who was offered a
promotion in a distant city would not have questioned the move. Today, a manager in that same
situation might choose family happiness instead of career advancement.

This paragraph best supports the statement that

A. most managers are not loyal to the corporations for which they work.
B. businesses today do not understand their employees needs.
C. employees social values have changed over the past ten years.
D. career advancement is not important to today's business managers.
E. companies should require their employees to accept promotions.

2) Look at this series: 14, 28, 20, 40, 32, 64, ... What number should come next?
A. 52
B. 56
C. 96
D. 128

3) Consider the statement and the following assumptions and decide which of the assumptions is
implicit in the statement.

Statement: The Government has decided to levy 2 percent on the tax amount payable for funding
drought relief programmes.

Assumptions:

The Government does not have sufficient money to fund drought relief programmes.

The amount collected by way of surcharge may be adequate to fund these drought relief programmes.

A. Only assumption I is implicit


B. Only assumption II is implicit
C. Either I or II is implicit
D. Neither I nor II is implicit
E. Both I and II are implicit

4) In the following question, two statements numbered I and II are given. There may be cause and
effect relationship between the two statements. These two statements may be the effect of the
same cause or independent causes. These statements may be independent causes without
having any relationship. Read both the statements in each question and mark your answer.
I. The employees of the biggest bank in the country have given an indefinite strike call starting from third
of the next month.

II. The employees of the Central Government have withdrawn their week long demonstrations.

A. Statement I is the cause and statement II is its effect


B. Statement II is the cause and statement I is its effect
C. Both the statements I and II are independent causes
D. Both the statements I and II are effects of independent causes
E. Both the statements I and II are effects of some common cause

5) The question given below consists of a statement, followed by two arguments numbered I and
II. You have to decide which of the arguments is a 'strong' argument and which is a 'weak'
argument.

Statement: Are nuclear families better than joint families?

Arguments:

I. No. Joint families ensure security and also reduce the burden of work.

II. Yes. Nuclear families ensure greater freedom.

A. Only argument I is strong


B. Only argument II is strong
C. Either I or II is strong
D. Neither I nor II is strong
E. Both I and II are strong

6) Rita, an accomplished pastry chef who is well known for her artistic and exquisite wedding
cakes, opened a bakery one year ago and is surprised that business has been so slow. A
consultant she hired to conduct market research has reported that the local population doesn't
think of her shop as one they would visit on a daily basis but rather a place they'd visit if they
were celebrating a special occasion. Which of the following strategies should Rita employ to
increase her daily business?
A. making coupons available that entitle the coupon holder to receive a 25% discount on wedding,
anniversary, or birthday cakes
B. exhibiting at the next Bridal Expo and having pieces of one of her wedding cakes available for
tasting
C. placing a series of ads in the local newspaper that advertise the wide array of breads
D. moving the bakery to the other side of town
7) In the question below are given two statements followed by two conclusions numbered I and II.
You have to take the given two statements to be true even if they seem to be at variance from
commonly known facts. Read the conclusion and then decide which of the given conclusions
logically follows from the two given statements, disregarding commonly known facts.

Statements: Some kings are queens. All queens are beautiful.

Conclusions:

I. All kings are beautiful.

II. All queens are kings.

A. Only conclusion I follows


B. Only conclusion II follows
C. Either I or II follows
D. Neither I nor II follows
E. Both I and II follow
Banking Scenario Assessment

Background

Currently, the system maintains loan level data. There are two types of loans: Residential loans and
Commercial loans. A loan data file is loaded on a monthly basis. The first month’s load will insert loan
records. The subsequent monthly loads will update loan data for existing loans.

Coverage - a one character field that indicates if a loan is Residential or Commercial. Possible
values are R (for “Residential”) or C (for “Commercial”).

There are two loan level fields on the loan data file that may have conflicting data:

Payment History - this is a 12 character field that represents the status of the payments for the last
twelve months. The rightmost character represents the current payment status. Valid values for each of
the 12 characters are:
U = Unknown
C = Payment is current
P = Payment is Past Due
B = In Bankruptcy or Foreclosure

A Payment History String might look like this: UUUCCCCCCPPB

Legal Status - this is a coded field that identifies if the loan is In bankruptcy, in foreclosure, in
bankruptcy AND foreclosure or not in either. Valid values are:
B=In Bankrupcy
F=In Forclosure only
9=In Bankrputcy and Foreclosure
N=Not in Bankruptcy or Foreclosure

Data Load Process

There are three steps to the data load process:

1. Import – during this step, data from a data file is imported into a staging table in the
database.
2. Validate - during this step, the data is validated. This may involve comparing multiple data
fields from the loaded file against each other or comparing data on the loaded file against
data that is already in the database. There are three validation result possibilities:
a. Errors
b. Warnings
c. No Errors or Warnings
3. Load – during this step, records that have completed the validation step and have
validation Errors, will be not be loaded into the database. Records that have validation
Warnings do get loaded.

Requirements
The following rules highlight what validation Errors or Warnings should if the loan is Residential:

 If Payment History is populated, it must have 12 characters; otherwise a validation Error should
be issued.

 If Payment History is populated, it must consist of valid characters; otherwise validation Error
should be issues.

 If Legal Status is populated, it must consist of valid values; otherwise a validation Error should be
listed.

 If both fields are populated, they must be consistent (hint: the rightmost character of the
Payment History value should not indicate bankruptcy or foreclosure if the Legal Status does
not, and vice versa). If they are not consistent, issue a validation Warning.

For the purpose of these tests:

As of Date = 9/30/2010 will represent a first month’s loan file – valid loans will be inserted.

As of Date = 10/31/2010 will represent a subsequent month’s loan file – valid loans will be updated.

Assignment
Prepare an acceptance test plan based on the business requirements above. The test plan should be
“executable” – each test case within the plan should be descriptive enough for a business analyst/tester
to be able to manually “execute” the test case against an arbitrary version of the product and assess the
version’s ability to satisfy the requirement addressed by the test case.

The test plan should include all recommended test cases.

The test cases within the test plan should be ordered in terms of business priority so that “smoke” tests
can be executed against the top list of test cases. The test cases should represent data that would be run
through the Data Load process to make sure the data meets the aforementioned business requirements.
Include appropriate validation messages.

You might also like