1. Anagrams!
by CodeChum Admin
Two strings are called anagrams, if they contain the same characters, but the order of the characters may be different.
Given a string consisting of lowercase letters and question marks, s1, and another string consisting of lowercase letters, s2, determine whether these two strings could become anagrams by replacing each ? character in s1 with a letter.
Input
1. First string
Constraints
Contains only lowercase letters and/or question marks
2. Second string
Constraints
Contains only lowercase letters
Output
The first line will contain a message prompt to input the first string.
The second line will contain a message prompt to input the second string.
The last line contains the message "anagram" if the strings could become anagrams by replacing all the ? characters of s1 with letters and "false" otherwise.
A top graduate business school is interested in the starting salaries of their MBA graduates. A survey consisting of all the graduates from previous year was done and the results displayed in the table below:
n Mean Median Std. Dev. Std. Error MBA’s 175 11,500 8,700 *** 144
(a) Determine the value of ‘***’?
(b) Explain what is meant by Sampling Distribution of the Mean in the context of MBA graduates’ starting salaries?
(c) What type of distribution will the Sampling Distribution of the Mean for MBA graduates’ starting salaries follow? Give reasons for your answer.
(d) What are the available point estimator and estimate of the population mean starting salary?
(e) Which of these estimators in ‘Part (c)’ above is unbiased? Give reasons for your answer?
In a competitive market, supply and demand decrease simultaneously. The effect on equilibrium quantity is?
Briefly explain, what are valence forces?
Explain how overloading a unary operator is almost similar to overloading a binary operator with necessary examples and include main() function to demonstrate. Mention the differences between these two in terms of number of operands they deal with.
What is the heat change (KJ) when 2.31 moles of chlorine reacts with methane?
Super 6 is one such game. In the game a player selects 6 numbers from 1 – 28. If you match all 6 numbers, you win the Jackpot. If you match 5 out of the 6 numbers, you win $500. If you match 4 out of the 6 numbers, you win $25. There is a separate chamber where you must select 1 of 15 letters from A – O. If you match the correct letter, you win a free ticket.
a) How many possible combinations are there for matching all 6 numbers?
b) What is the probability that if you purchase one ticket that you will win the Jackpot?
c) What is the probability that if you purchase the lottery that you will win exactly $500?
d) What is the probability that if you purchase the lottery that you will win exactly $25?
A manufacturer can produce radios at a cost of $10 apiece an estimated that if they are sold for x dollars, consumers will buy approximately80-x radios each month. Express the manufacturer’s monthly profit as a function of the price x, graph this function, and determine the price at which the manufacture’s profit will be greatest.
Provide us with Two examples or experiences you encountered whereby a form of address,greeting and or gesture was misunderstood or used wrongly which created an uncomfortable situation
The past few years have challenged the traditional organizations to think differently. In
Intellicore Solutions, where previously no efforts were made by managers for career
growth of their workforce, things are about to take a turn for the positive. The leaders
now realize the importance of retaining their best talent and have therefore hired HR
managers to help create career and succession plans.
a. You have to guide the new HR manager to be successful in his career planning initiative.
How will you explain the process to him?
b. The first step to an effective succession planning is ensuring that the objectives are
correctly established. Describe the goals of succession planning that the HR manager
should bear in mind.