Please draw a flow-chart/ pseudo code on the task, 'You go to a shop, purchase some fruits and return back to home'
1(a) Write an algorithm/pseudocode for a movie rental company that wants to screen their customers from 18 years and above.
The system should be able to deny access to customers that appear below 18.
b. Draw a flowchart to illustrate the above program.
2. Write an algorithm to determine the average of any five(5) numbers and display the below after: the sum, the product and the average.
3(a) It is late at night, and you decided to get a glass of milk before bed. Try to a pseudocode describing the process of going to the kitchen and getting the milk.
b. Draw a flowchart to illustrate the above program.
Write down the R solutions of the following question.
Use the following data to construct a confidence interval for the true mean difference between scores of two independant groups. Use a 95% level of confidence. Group1: 65, 58, 78, 60, 68, 69, 66, 70, 53, 71, 63, 63
Group 2: 62, 53, 36, 34, 56, 50, 42, 57, 46, 68, 48, 42, 52, 53, 43
Write down the R solutions of the following questions.
A shoe company wants to compare two materials, A and B, for use on the soles of boys' shoes. In this example, each of 10 boys in a study wore a special pair of shoes with the sole of one shoe made from Material A and the sole on the other shoe made from Material B. The sole types were randomly assigned to account for systematic differences in wear between the left and right foot. After three months, the shoes are measured for wear. The results are: Material A = 13.2, 8.2, 10.9, 14.3, 10.7, 6.6, 9.5, 10.8, 8.8, 13.3 Material B = 14, 8.8, 11.2, 14.2, 11.8, 6.4, 9.8, 11.3, 9.3, 13.6
Test the hypothesis H0: µdifference = 0 versus H1: µdifference≠ 0 at 95% confidence level.
Write down the R solutions of the following questions.
Two types of medication for COVID-19 are being tested to determine if there is a difference in the percentage of adult patient reactions. 20 out of a random sample of 200 adults given Medication_A still had COVID-19 30 minutes after taking the medication. 12 out of another random sample of 200 adults given Medication_B still had COVID-19 30 minutes after taking the medication. Test the equality of proportions at a 1% level of significance.
Cite a situation in which you can apply the knowledge of the different OSI layers
What is the importance of knowing the basics of networking?
Convert 0011 00112 to decimal
Convert the following to the octal number system:
Convert 21,375(10) to Octal
Calculate the sum of the following. Convert the binary answer to decimal, then to hexadecimal and then to Octal number.
15(10 )+ 10(16) + 15(8)