Reference no: EM13778034
Exercises 1
Determine whether the condition is true or false. Assume a = 2 and b = 3.
3 * a = 2 * b
(5 - a) * b < 7
b <= 3
(a * a < b) Or Not (a * a < a)
Exercises 2
Write a program to determine how much to tip the server in a restaurant. The tip should be 15% of the check, with a minimum of $1.
A bagel shop charges 75 cents per bagel for orders of less than a half-dozen bagels and 60 cents per bagel for orders of a half-dozen or more. Write a program that requests the number of bagels ordered and displays the total cost. (Test the program for orders of four bagels and a dozen bagels.)
Exercise 3
For the responses shown in the parentheses, determine the output displayed in the text box when the button is clicked on.
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim age, price As Double
age = CDbl (InputBox ("What is your age?") )
Select Case age
Case Is < 6
price = 0
Case 6 To 17
price = 3.75
Case Is >= 17
price = 5
End Select
txtOutput.Text = "The price is " & FormatCurrency (price)
End Sub
(8.5, 17)
Exercises 4
Determine the effect of setting the property to the value shown.
GroupBox1.Text = "Income"
CheckBox1.Checked = True
CheckBox1.Checked = False
CheckBox1.Text = "&Vanilla"
RadioButton1.Checked = False
txtOutput.Text = 1stBox.Text
RadioButton1.Text = "Clear & All"
RadioButton1.Checked = True
Strategies for self-development
: What positive and negative emotions have you experienced during your field experience? Why is self-awareness important in your self-development? What strategies for self-development would you incorporate to enhance your ability to be a effective h..
|
Analyze the culture for women and ethnic minorities
: Analyze the culture for women and ethnic minorities in policing and how they can achieve equality in law enforcement and Describe the internal and external mechanisms that control police discretion
|
Influence the results of the levels-of-processing experiment
: In your report, write a brief introduction of the experiment explaining the levels-of-processing framework. Next, in the Methods section, describe the process that you followed to complete the experiment. Make sure to include enough information so..
|
Write a program that requests the number of bagels ordered
: Write a program that requests the number of bagels ordered and displays the total cost. Test the program for orders of four bagels and a dozen bagels.
|
What can happen when an organization violates osha standard
: What can happen when an organization violates an OSHA standard? Provide examples of three OSHA standards and how they are observed in the workplace
|
Identify a specific segment of criminal justice
: In your initial post, identify a specific segment of criminal justice (e.g., law enforcement, courts, corrections) and an entry level role within that type of agency
|
Critical and creative thinking presentation
: Consider possible reasons your audience might reject your ideas. Address anticipated audience objections to your proposal. Devise strategies for persuading your audience to accept your proposal and incorporate that persuasion in your presentation o..
|
.what is the mole fraction of solute in a 3.66 m aqueous
: 4.What is the mole fraction of solute in a 3.66 m aqueous solution? 5.You need to dissolve CaCl2 in water to make a mixture that is 38.0% calcium chloride by mass. If the total mass of the mixture is 832.9 g, what masses of CaCl2 and water should be ..
|