Question

In: Computer Science

1. Proveif ?∈?,then1+(−1)!(2?−1)is a multiple of four 2. If?={∅,{∅}}, which of the following statements is true:...

1. Proveif ?∈?,then1+(−1)!(2?−1)is a multiple of four

2. If?={∅,{∅}}, which of the following statements is true:

a.∅⊆?

b.{∅}⊆?

c.{∅}∈?

3. Provide a grammar for all bit strings that start with exactly one zero followed by even number of 1’s.

Solutions

Expert Solution

2) If?={∅,{∅}}

a) ∅⊆? --- True

Explanation : ∅ is the subset of every set .

b) {∅} ⊆ ? --- True

Explanation :

This statement means the set {∅} is a subset of the set containing element ∅ & set {∅}. The set {∅} contains only the element ∅ . Since  ∅ is also an element in {∅,{∅}} , the statement becomes true .

c) {∅}∈? --- True

Explanation :

3) Grammar for all bit strings that start with exactly one zero followed by even number of 1’s.

S ---> 0A

A ---> 1A1 | 11 | ε

For Question No. 1 either there is some writing mistake please comment below the right information .

Please give thumbs up if you are satisfied .


Related Solutions

1. Which of the following statements regarding GAAR is true? Multiple Choice The purpose of GAAR...
1. Which of the following statements regarding GAAR is true? Multiple Choice The purpose of GAAR is to catch tax evaders. When an avoidance transaction takes place, the anti-avoidance rule is automatically applied in all circumstances. Canada Revenue Agency states that "A transaction will not be an avoidance transaction if the taxpayer establishes that it is undertaken primarily for bona fide business, investment or family purposes." Individuals who organize their affairs in order to pay as little tax as possible...
1. Which of the following statements are true regarding muscle glycogen. There are multiple correct answers....
1. Which of the following statements are true regarding muscle glycogen. There are multiple correct answers. If exercise is not to be repeated within 12 hours, then glycogen restoration does not have to be immediately following exercise The most rapid repletion of glycogen following exercise occurs in the first few hours post exercise. Consuming some protein along with carbohydrate during immediate recovery from exercise is beneficial. Higher glycemic index foods enhance glycogen restoration following exercise It is best to always...
Chapter 12: The Endocrine System MULTIPLE CHOICE 1. Which of the following statements is not true...
Chapter 12: The Endocrine System MULTIPLE CHOICE 1. Which of the following statements is not true of the endocrine system? a. The organs of the endocrine system are widely dispersed in the body. b. All organs in the endocrine system are glands. c. Endocrine glands secrete their products into ducts leading to body cavities. d. Endocrine glands produce hormones. 2. Which of the following is not true of a nonsteroid hormone? a. It is carried through the blood to the...
Which of the following statements about utilization of a resource is TRUE? Multiple Choice  It is...
Which of the following statements about utilization of a resource is TRUE? Multiple Choice  It is at its maximum when the flow rate exceeds its capacity  It is at its maximum when the flow rate is equal to its capacity.  It is at its minimum when the flow rate exceeds its capacity. It is at its minimum when the flow rate is equal to its capacity 
Which of the following statements about recourse is (are) true? Multiple Choice The buyer of the...
Which of the following statements about recourse is (are) true? Multiple Choice The buyer of the mortgage can require the mortgage seller to repay the mortgage if the homeowner defaults. Most mortgage sales are with recourse. The homeowner can direct who the mortgage service provider is. The seller of the mortgage is responsible for the interest payments only. The mortgage seller must make all the monthly payments.
Which of the following statements is true regarding the application of the NPV principle to multiple...
Which of the following statements is true regarding the application of the NPV principle to multiple projects under capital rationing? The project with the highest NPV will be selected. The project with the lowest NPV will be selected. All positive NPV projects should be accepted as long as the sum of the upfront costs exceed the capital budget. All positive NPV projects may not be accepted.
Which of the following statements is not always true with respect to the four rules of...
Which of the following statements is not always true with respect to the four rules of portfolio theory options: Portfolio realized returns are the weighted average of the realized returns of the individual securities included in the portfolio. Portfolio weights must sum to one. None of the answers is correct Portfolio risk measured as the standard deviation is the weighted average of the standard deviations of the individual securities included in the portfolio. Portfolio risk measured by beta is the...
____ Which of the following statements is NOT true? The four subsystems of the budget execution...
____ Which of the following statements is NOT true? The four subsystems of the budget execution phase are tax administration, cash management, procurement, and risk management. Government investment planning is important mostly in times of rising revenues and revenue surpluses. It is not important in times of austerity. The primary differences between T-Bills, T-Notes, and T-bond are: lengths of their maturities; and the rates of return. The money market is a segment of the financial market in which financial instruments...
Which of the following statements is TRUE? Multiple Choice The goal of a corporate financial manager...
Which of the following statements is TRUE? Multiple Choice The goal of a corporate financial manager is to maximize the wealth of the firm’s lenders. A distinct feature of sole proprietorship is the separation of ownership and management. The goal of a corporate financial manager is to maximize the firm’s profit. Agency problem is the conflict of interest between a firm’s principal and its agent.
Which of the following statements is/are true? Multiple Choice A. A portfolio comprised soley of U.S....
Which of the following statements is/are true? Multiple Choice A. A portfolio comprised soley of U.S. Treasury bills will have a beta of 1. B. A portfolio that has just as much risk as the overall market will have a beta of 0. Both A and B are true Neither A or B are true. Under which of the following circumstances will the value of a stock go up? Multiple Choice Increase in the market rate of return Decrease in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT