For which of the following situations is a nested loop required? It is a Multiple Select Question (MSQ).
1.To find the pair of students who have the same birthdays from the “Scores” dataset
2.To find the pair of students who scored the same marks in Physics from the “Scores” dataset
3.To find the number of words which have highest letter count from the “Words” dataset
4.To find the number of bills from the same shop from the “Shopping Bills” dataset
The boxplot below shows Emma’s performance in her physics and chemistry exams. Answer the questions below.
Assume that Physics minimum is 50 and maximum is 90
and Chemistry Minimum is 30 and maximum is 85
State the median mark for each subject. Find the range of marks in each subject. Find the interquartile range for each subject.In which subject did Emma perform better? Explain your answer.
1.The council would like to know how many students in a certain class is qualified to vote this coming campus election. Only student (denoted by S) of BIT firs year students , and the age of each student in that class . Your flowchart should accept the value of age students who are qualified to vote. If the class size is 5 then , your flowchart should accept the age of 5 students (one at a time) if students above (20 & 21).
Note: The numbers are sample data only.
2. Write the equivalent pseudocode of the flowchart created in number 1.
Problem 4: Fibonacci Series always starts with 0 and 1, or in other words the first two terms of this series are 0 and 1. Next term in this series is found by adding two previous numbers. Following figure shows first 6 terms of the Fibonacci Series i.e. 0, 1, 1, 2, 3, 5, if we were to print only even numbers then the output will be 0, 2. Design the algorithm (pseudocode) for a program that prints even terms in Fibonacci series less than N. Where N is the number entered by the user. For example, If N is 75 then print 0, 2, 8, 34 (i.e. all even terms in Fibonacci series that are less than 20) If N is 20 then print 0, 2, 8 (i.e. all even terms in Fibonacci series that are less than 20) If N is 6 then print 0, 2 (i.e. all even terms in Fibonacci series that are less than 6)
How to code “ (5 times the number n) added to 16 “
Problem
This problem is related to the virtual learning environment application discussed in one theory session and a few practicals. In
this problem, you are tasked with creating and updating learner profiles, a particular type of user. As well, given a learner profile,
we would like to retrieve the learning materials in the form of topics. Note that the learning materials for a given course will differ
from one learner profile to another. For example, for a course "Distributed Systems and Applications", the learning materials for
a learner with a weak background in "Programming" compared o another learner profile with a stronger background in
programming.
Your task is to:
1. Provide a description in OpenAPI of the API that allows for communication between a client and a service for the
functionalities discussed above;
2. Implement a corresponding client and a service.
Currently, XYZ Company decided to have a computer program that will automate the
computation and display the salary (net income) of their employees every payday. To
compute the salary of an employee, the company requires the following input data
such as: rate per hour, number of hours per day, number of days per week, and
number of weeks per month. In addition, the company also requires the obligatory
deduction of each employee which allocated for SSS contribution, Philhealth
contribution, Tax contribution, and Pagibig contribution. For pagibig contribution,
the deduction is fixed to P100.00 and the rest of each deduction value are coming
from the data entry or inputs of the user. In order compute the salary of the employee,
the company provide a certain formula such as:
(Pseudocoding and Flowcharting)