ST Microelectronics Papers: Sample Questions 9 - 11 of 40

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 9

» Aptitude

MCQ▾

Question

Which conversion is not possible?

Choices

Choice (4) Response

a.

Char to float

b.

Int to float

c.

Float to int

d.

All a. , b. and c. are correct

Answer

d.

Explanation

  • All types of conversions are possible through implicit or explicit way of conversion.
  • Any float value of variable can be demoted to integer value. Like,
  • int a = 3.5;
  • will store a = 3 only. Here, float value 3.5 gets demoted to integer 3
  • Same way, any integer value can be promoted to float value. Like,
  • float a = 15;
  • will store a = 15.0000. Here, integer value gets promoted to float 15.0000
  • Same way, any character can be promoted to integer and integer can be promoted to float. Like,
  • floati = ‘A’;
  • will store ASCII value of character ‘A’ in variable i (i. e. 65) and this integer value gets promoted to 65.0000 float value.
  • So, we can say that all conversions are possible.

Question number: 10

» Aptitude

Short Answer Question▾

Write in Short

At 20 % discount, a cycle is sold at a selling price of 2500 Rs. What is the actual price?

Explanation

  • Here, selling a cycle at 20 % discount, it costs Rs. 2500
  • So we can say 80 % of cost price is Rs. 2500
  • Actual price = 100 % of cost price
  • So, 80 % costs Rs. 2500

100 % costs Rs. (? )

=

= 3125

  • So, actual price of cycle is Rs. 3125.

Question number: 11

» Aptitude

Short Answer Question▾

Write in Short

Two lemons cost 10 cents. Then one and a half dozen cost

Explanation

1 dozen = 12 pieces

So one and half dozen = 12 + 6 = 18 pieces, i. e There are 18 pieces of lemon.

Cost of 2 lemons = 10 cents

Cost of 18 lemons = (? )

=

=

=90

So, Cost of one and half dozen will be 90 cents.