Lowest and Highest score
The teacher gave out the scores of the science quiz conducted last week and asked the ones with the lowest and highest scores to group up. Print the names of the students with minimum and maximum scores, respectively.
Note: In case of a tie, choose the name which comes first in the (dictionary order).
Sample Input1
2
shakti 24
disha 26
Sample Output1
shakti disha
Sample Input2
3
ajay 23
bijay 24
sanjay 23
Sample Output2
ajay bijay
Smaller Scores
A group of people(P) are playing an online game. Their scores are stored in the order of their entry time in S. Each integer S[i] corresponds to the score of the person Pi.
For each person Pi you have to report the number of people who played after the person and scored less than the person.
Input
The first line contains a single integer N.
The second line contains N space-separated
Output
The output should contain N space-separated integers representing the number of people who played after the person and scored less than the person.
Explanation
Given S = 13 12 11 Score of P1 is 13. Score of P2 is 12. Score of P3 is 11.The number of people who played after P1 and scored less than 13 is 2(12, 11). The number of people who played after P2 and scored less than 12 is 1(11). The number of people who played after P3 and scored less than 11 is 0.The output is 2 1 0.
Sample Input 1
3
13 12 11
Sample Output 1
2 1 0
Sample Input 2
4
4 3 5 2
Sample Output 2
2 1 1 0
This type of research allows practitioners to gain a more accurate description of the situation.
Select one:
a. Ad hoc research
b. Casual research
c. Exploratory research
d. Descriptive research
Due to substatial increases in prices in country A, the al income level of the population in country A decreases. Show a diagram how decrease in the income level in country A will affect the demand for meat which is a normal good. Also indicate how the equilibrium quantity of meat will change in country A. The direction of any change should be indicated using arrows
A car is being driven along a road at 25 m s-1 when the driver suddenly notices that there is a fallen tree blocking the road 65 m ahead. The driver immediately applies the brakes giving the car a constant acceleration of -5 m s-2. How far in front of the tree does the car come to rest?
In travelling the 70 cm along a rifle barrel, a bullet uniformly accelerates from rest to a velocity of 210 m s-1. Find the acceleration involved and the time taken for which the bullet is in the barrel.
When an employer lists a job opening, they receive hundreds of applications. Eightfold is a new product that uses artificial intelligence (AI) to scan resumes and quickly and accurately identify the applicants who are the best fit for the job. An economist who studied the use of AI in hiring said, “You get the more nontraditional, equally qualified, equally high-performing people, but the employer doesn’t seem to have to compete for them as much.” What effect might the use of AI have on the slope of the Phillips curve and why?
A Wendy's manager performed a study to determine a probability distribution for the number of people, X, waiting in a line during lunch. The results were as follows. Find and interpret the probability that 10 or more people are waiting in line for lunch?
Every DNA sequence consists of four nucleotides: Adenine, Thymine, Cytosine, and Guanine,
referred to by the first letters of their chemical names (A, T, C, and G). I have provided an
entire DNA sequence in the file dnaSequence.txt.
You goal is to provide a report of the number of each nucleotide within the sequence, and the
percent each nucleotide makes up of the total. You should include your output file in the
submission in addition to our usual submission format (console output + code).
Example Output:
DNA sequence analysis:
29782 nucleotides in the sequence
Sequence breakdown:
Adenine: 8892 29.86%
Thymine: 9581 32.17%
Cytosine: 5462 18.34%
Guanine: 5847 19.63%
A car is being driven along a road at 25 m s-1 when the driver suddenly notices that there is a fallen tree blocking the road 65 m ahead. The driver immediately applies the brakes giving the car a constant acceleration of -5 m s-2. How far in front of the tree does the car come to rest? Ans: 2.5 m before.