# Aptitude [ST Microelectronics Placement]: Sample Questions 32 - 34 of 40

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

## Question 32

Aptitude
Edit

### Write in Short

Where does a global and local static variable lie in a program?

### Explanation

• Both local and global static variables are kept in initialized data segments. There are two data segments: initialized data segment and uninitialized data segment. By default any data segment is initialized.
• This section gets copied from loaded image of the program. Here variables are initialized by a non zero number and in uninitialized (BSS) data segments variables are assigned with zero.

## Question 33

Aptitude
Edit

### Write in Short

In a triangle without changing the angle if we double the sides then what will be the new area?

### Explanation

• Area of an equilateral triangle = / 4 L2, where, L = side of a triangle

Aold = L2

• New length = 2L
• So, Anew = (2L) 2

= 4 [] L2

= 4

• So, we can say that by doubling the side of a triangle, area of new triangle will be four times the area of previous one.

## Question 34

Aptitude
Edit

### Write in Short

If a train covers 600m in 0.5 seconds, how long it will cover in 10 seconds?

### Explanation

So, Speed of the train = = 1200

Now, Distance covered by train in 10 seconds

Train will cover 12 km distance in 10 seconds with speed of 1200 m/s.

Developed by: