Given a number N, write a program to print a triangular pattern of N lines with numbers as shown below.
Input
The input will be a single line containing a positive integer (N).
Output
The output should be N rows with numbers.
For example: If the given number is 4 --
1
121
12321
1234321
If given number is 7 --
1
121
12321
1234321
123454321
12345654321
1234567654321
Note: In left hand side there will be no gap ,it should look like Right Triangle.
Question 2.8 [2, 3, 3]
Suppose that a telemarketer has a 12% chance of making a sale on any given call. If the
telemarketer makes average of 5 calls per hour, calculate:
a) The probability that the telemarketer will make exactly 2 sales during the shift.
b) The probability that the telemarketer will makes more than 4 sales during the shift.
c) What is the probability that the telemarketer makes more than 2 call during two hours?
Question 2.6 [3, 3, 3]
Suppose that the height of seven-year old children is a normal random variable with mean 1.1m and
standard deviation 0.1m.
a) What proportion of seven-year old children are shorter than 0.95m?
b) What is the probability that a seven-year old child is taller than 1m but shorter than 1.175m?
c) Suppose that a family restaurant has a children’s play-place. The facilities in the play-place
can only be used by children below a certain height. What should the cut-off height be to
ensure that 99% of seven-year olds have access to the play-place?
Suppose the mean number of days to germination of a variety of seeds is 22, with a standard deviation of 2.3 days. Find the probability that the mean germination time of a sample of 160 seeds will be within 0.5 days of the population mean.
Box of mass 20 kilograms is kept on a smooth horizontal surface. Object of mass 16 kilograms is kept on the box. The two objects are connected by a light in extensible string and the string goes over smooth Pulley. A force of 6 Newton is applied on the box, the acceleration of the box?
Identify the F1 generation from a colourblind father and a mother who is homozygous for colour vision.
Which one of the following is not a requirement for perfect competition to exist?
A.No individual seller must be able to influence the price.
B.No individual buyer must be able to influence the price.
C.The product must be standardised (homogeneous).
D.All sellers must have similar costs of production.
7 The following are the assumptions of the price leadership model except
A there are two firms, A and B
B The costs of the firms are different.
The number of buyers is large
D They produce a homogenous product
E none of the above.
8 Which one of the following is not a major determinant of the supply of labor?
The size of the population and age composition
B migrations of people from one area to another
C the proportion of the working population willing to work
D the price of labor (wage rate)
E none.
9 Markets will not allocate resources efficiently if we have
A monopoly on power
B oligopoly power
C externalities
D private commodities/goods
E interdependent between firms.
10 One of the following is a characteristic of an efficient property rights structure.
A Universality
B exclusivity
C enforceability
D transferability
E all.
4 Which of the following is not true about Bertrand’s duopoly model?
Each seller assumes his rival’s output to remain constant.
B it differs from Cournot’s model by its behavioral assumption.
Each seller assumes that their rival’s price to remain constant.
D a & c
E none of the above.
5 According to a kinked demand model, each seller will respond to its rival’s change by
A cut in the price of this commodity
B not follow the change in price.
C reacts to price cut but not price hikes.
D all a to c
6 One of the following is not a reason that brings oligopoly firms into collusion.
A to form an entry barrier for new firms.
B to reduce an oligopolistic risk
C to reduce competition between firms
D to reduce the price of their output.
E none.
Multiple choice
1 The short run equilibrium analysis under monopolistic competition is based on the following assumptions except
A There is no entry of new firms.
B the short run cost curves of each firm are similar
The products of each seller are differentiated
D The demand curve is elastic.
The factor of service is perfectly elastic in supply.
2 Which of the following doesn’t belong to the characteristics of an oligopoly market?
A interdependence of firms in decision making
B products are homogenous of differentiated.
C There is a barrier to entry
D a and b
E none of the above.
3 One of the following is an assumption of the Cournot model:
A There are two firms each with a mineral well.
B Each firm operates at zero marginal cost
Each firm faces a downward sloping demand curve
D Each seller acts on the assumption that his competitors will react to his decision.
E a and b