Solve each of the following problems. Follow Polya's four stages of problem solving in your solution.
1. An egg vendor broke all the eggs that he was delivering to a local store. He could not remember how many eggs there were in all. However, he did remember that when he tried to pack them into packages of 2, 3, 4, 5, and 6 he had one left over each time. When he packed them into packages of 7, he had another left over. What is the smallest number of eggs he could have had in the shipment?
2. Edwin has 100 baseball cards. He wants to place the cards in three stacks so that the second stack has twice as many cards as the first, and the third stack has twice as many cards as the second. How many cards will be in each stack? How many will be left over?
Two cards are drawn at random from a set of 52 cards.What is the probability that the both cards are either kings or queens
Capital and Country
The goal of this coding exam is to quickly get you off the ground with HTML select element
Reference image:(final output)
https://assets.ccbp.in/frontend/content/dynamic-webapps/capital-and-country-op.gif
Test cases:
1.page should consist only one HTML span element with a non-empty text content
2.page should consist only one HTML paragraph element
3.page should consist of selected as HTML attribute for the HTML option element
4.JS code implementation should use addEventListenter with event as change
5.when the value of the HTML select element is changed ,then the text content in the HTML paragraph element should be the selected country name
6.page should consist only one main heading element
7.page should consist of HTML select element
8.page should consist of four HTML option elements with attribute as value.
pass the above all test cases....
5 case is not executed please help me
Write a C++ program that prints on the screen following diamond shape with given series of numbers. 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25.
'Bhartdarshan’ is an Internet-based travel agency wherein customers can see videos of the
cities they plan to visit. The number of hits daily is a normally distributed random variable
with a mean of 10,000 and a standard deviation of 2,400.
a. What is the probability of getting more than 12,000 hits?
Consider a flask that contain 3 liters of salt water. Suppose that water containing 25 grams
per liters of salt is pumped into the flask at the rate of 2 liters per hour, and the mixture,
being steadily stirred, is pumped out of the flask at the same rate. Find a differential
equation satisfied by the amount of salt f(t) in the flask at time t.
In a porter governor the mass of the central load is 18 kgand the mass of each ball is 2kg. the top arms 250 mm while the bottom arms are 300 mm long. The friction of the sleeve is 20 N. If the top arms make 45 deg with the axis of rotation in the equilibrium position, find the range of the speed of the governor in that position
C++ program that converts a decimal number to a binary, octal, and hexadecimal equivalents. First, the program will ask to fix a range for the lower and
upper limit in which the conversion is required. The lower limit should not be less than
0 and greater than the upper limit. For example, if you enter a negative number or
greater than the upper limit, then the program should print a message for the invalid
input and will ask you again to enter a decimal number within the range. If you
correctly specify the upper and lower limits, then the program will print a table of the
binary, octal and hexadecimal equivalents of the decimal numbers in the range of
lower limit through upper limit.
for while and do while loops must be used only once. anything else is not allowed to be used. functions can also be not used.
Example output:
Enter upper limit = 12
Enter lower limit = 30
Invalid.
Enter lower limit again = 10
Further table will be printed .
Provide a discussion in favour of fixed exchange rate regime and floating exchange rate regime
Assign your name to the variable name.
Assign your age (real or fake) to the variable age.
Assign a boolean value to the variable has_android_phone.
Create a dictionary person with keys "Name", "Age", "HasAndroidPhone" and values using the variables defined above.
Use a for loop to display the type of each value stored against each key in person.