How many 10-bit strings contain 6 or more 1’s? Explain and show all the steps.
How many 9-bit strings (that is, bit strings of length 9) are there which:
(a) Start with the sub-string 101? Explain.
(b) Have weight 5 (i.e., contain exactly five 1’s) and start with the sub-string 101? Explain.
(c) Either start with 101 or end with 11 (or both)? Explain.
(d) Have weight 5 and either start with 101 or end with 11 (or both)?Explain
You break your piggy-bank to discover lots of pennies and nickels. You start arranging these in rows of 6 coins. Show all your steps with written explanation.
(a) You find yourself making rows containing an equal number of
pennies and nickels. For fun, you decide to lay out every possible
such row. How many coins will you need?
b) How many coins would you need to make all possible rows
of 6 coins (not necessarily with equal number of pennies and
nickels)?
(use two-dimensional array c++ not java) A company has four salespeople (1-4) who sell five different products (1-5).each salesperson passes in a slip for each different type of product sold. Each slip contains the following:
a) salesperson number
b) product number
c) total dollar value of that product sold that day
Thus, each salesperson passes in between 0 and 5 sales slips per day. Assume the information from the slips for last month is available. Write a program that will read all information for last month’s sales (one salesperson’s data at a time) and summarize the total sales by salesperson by product. All totals should be stored in the two-dimensional array sales. After processing all the information for last month, print the results in tabular format with each of the columns representing a salesperson and each of the rows representing a product. Cross total each row to get the total sales of each product for last month; each column to get the total sales by salesperson for last month.
Given the balanced equation: CH4 + 2 O2 → CO2 + 2H2O
If 3.6 moles of CH4 react in the above reaction, how many moles of oxygen gas, O2 reacted?
A ladder leen again a perfectly smooth vertical wall at angle of 30 to the horizontal.,
A load of 800N placed 3/4 of the way up, the ladder if the ladder rest at a rough horizontal surfaces which prellent shipping. Find the magnitude and direction of the reaction between the ladder and the ground.
The amount of sweetener used in a liter of milk tea is a normally distributed with a mean of 0.75 cup and a standard deviation of 0.6 cup.
a. Suppose 10 liters of milk tea are randomly selected, what is the probability that it will have at least a cup of sweetener?
b.Suppose 20 liters of milk tea are randomly selected, what is the probability that it will have less than half a cup of sweetener?
c.15 liters of milk tea is randomly selected, what is the probability that it will have 0.50 to 1.25 cups of sweetener?
Given that there are 3 apples, 1 pear and 2 oranges in a box and one would get 1 fruit in that box what are the possible value of a random variable A given that A are the number of apple.
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?
With aid of diagram describe how each of the following will affect the demand for personal computers: (a) a rise in incomes (assuming computers are a normal good); (b) a lower expected price for computers; (c) cheaper software; (d) computers become simpler to operate.