The speed of a car is decreased uniformly from 30 meters per second to 10 meters per second in 4 seconds. The magnitude of the car's acceleration in m/s^2 is
According to a report, 67.4% of murders are committed with a firearm. (a) If 200 murders are randomly selected, how many would we expect to be committed with a firearm? (b) Would it be unusual to observe 147 murders by firearm in a random sample of 200 murders? Why?
A barite composed of 100% BaSO4 is fused with carbon in the form of coke containing 6% ash (which is infusible). The composition of the fusion mass is
BaSO4 11.1%
BaS 72.8
C 13.9
Ash 2.2
_____
100%
Reaction:
BaSO4 + 4C → BaS + 4CO
Find the excess reactant, the percentage of the excess reactant, and the degree of completion of the reaction.
Vowels Survival
by CodeChum Admin
Make me a program that accepts two random strings. Then, count the number of vowels that are in each of the strings and put it on separate variables.
Finally, for the survival of the vowels, subtract the total count of vowels of the first string to the vowels of the second string then print out its difference.
Easy, right? Then go and code as if your life depends on it!
Input
Two lines containing a string on each.
C++·is·fuN CodeChum·is·AWEsome
Output
A line containing an integer.
6
Search and Rescue
by CodeChum Admin
Make a program that will accept an integer and loop for the same number of times as that of the inputted integer and input random integers and add it to the array/list one by one, per line. Afterwards, make your program accept another random integer.
Using that final integer, compare from your array/list if the final integer's value is also present in your current array/list. If so, print "Present"; otherwise, print "None".
Start coding now!
Input
The first line contains the size of the array. The next lines contain the integers. The last line contains an integer to be searched.
5 3 21 2 5 23 2
Output
A line containing a string.
Present
We Filipinos are quite known for the habit of leaving at least one of the many pieces of food on the plate as it can't be equally divided among all at most times. Just like when 3 people decide to eat a pizza of 10 slices, there will often be at least one slice left on the box. To accurately show just how many pieces of things are left when divided by a certain number, we code it using modulo.
Care to do it for me?
Input
1. First integer
2. Second integer
Output
The first line will contain a message prompt to input the first integer.
The second line will contain a message prompt to input the second integer.
The last line contains the remainder.
Enter·the·first·integer:·10
Enter·the·second·integer:·3
Remainder·=·1
We Filipinos are quite known for the habit of leaving at least one of the many pieces of food on the plate as it can't be equally divided among all at most times. Just like when 3 people decide to eat a pizza of 10 slices, there will often be at least one slice left on the box. To accurately show just how many pieces of things are left when divided by a certain number, we code it using modulo.
Care to do it for me?
Input
1. First integer
2. Second integer
Output
The first line will contain a message prompt to input the first integer.
The second line will contain a message prompt to input the second integer.
The last line contains the remainder.
Enter·the·first·integer:·10
Enter·the·second·integer:·3
Remainder·=·1
3. Leftovers
by CodeChum Admin
We Filipinos are quite known for the habit of leaving at least one of the many pieces of food on the plate as it can't be equally divided among all at most times. Just like when 3 people decide to eat a pizza of 10 slices, there will often be at least one slice left on the box. To accurately show just how many pieces of things are left when divided by a certain number, we code it using modulo.
Care to do it for me?
Input
1. First integer
2. Second integer
Output
The first line will contain a message prompt to input the first integer.
The second line will contain a message prompt to input the second integer.
The last line contains the remainder.
Enter·the·first·integer:·10
Enter·the·second·integer:·3
Remainder·=·1
A manufacturer of apple phone charges claims that only 4% of his production is defective. In a random sample of 120 items, the defect rate is 4.99%. At the 1% level of significance, test the manager's claim.
i. State the null and alternative hypotheses for the test. [2]
ii. Calculate the value of the test statistic for this test. [2]
iii. Determine the critical region(s) for this test. [2]
iv. State the conclusion of this test. Give a reason for your answer. [3]
The 1500 students weight are normally distributed with a mean of 50kg with the standard deviation of S-5 lbs?
A. How many students are less than 46kg
B. How many students are heavier than 113.5lbs