# 3i Infotech Placement: Sample Questions 1136 - 1137 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

## Question 1136

Edit

### Write in Short

What is a modifier?

### Explanation

• A modifier, also called a modifying function is a member function that changes the value of at least one data member.
• In other words, an operation that modifiers the state of an object.
• Modifiers are also known as ‘mutators’ .

## Question 1137

### Question

MCQ▾

An old picture has dimensions 33 inches by 24 inches. What one length must be cut from each dimension so that the ratio of the shorter side to the longer side is ?

Choice (4)

a.

6 inches

b.

2 inches

c.

inches

d.

9 inches

a.

### Explanation

An old picture has dimension 33 inches by 24 inches.

We are asked to find the length that needs to be cut from each side of picture so that ratio of shorter side to longer side becomes .

If we will cut 2 inches from each side then sides will be inches and inches. So, Ratio

If we will cut 6 inches from each side then sides will be inches and inches. So, Ratio

If we will cut 9 inches from each side then sides will be inches and inches. So, Ratio

If we will cut 10.5 inches from each side then sides will be inches and inches. So, Ratio

So, if we are subtracting 6 inches from each side then we will get the ratio of shorter side to the longer side will be .

Developed by: