Reference no: EM13807532
1. Which statement best describes the following pseudocode?
if hoursWorked > 40 then
grossPay = 40 * rate + (hoursWorked - 40) * 1.5 * rate
else
grossPay = hoursWorked * rate
endif (Points : 4)
One condition/one action
One condition/two alternative actions
Multiple conditions/multiple actions
Multiple conditions/one action
Question 2. Which VBScript code produces the same result as the following?
if customerAge > 65 OR customerAge = 65 then
discount = 0.10
else
discount = 0.0
end if (Points : 4)
if customerAge >= 65 then
discount = 0.10
else
discount = 0.0
end if
if customerAge > 65 then
discount = 0.0
else
discount = 0.10
end if
if customerAge = 65 then
discount = 0.10
else
discount = 0.0
end if
if customerAge <= 65
discount = 0.0
else
discount = 0.10
end if
Question 3. Any one or more conditions in a chain of conditions in a Boolean expression must be true in order for the entire expression to be evaluated as true. This defines the _____ Boolean operator in VBScript.
XOR
Not
OR
AND
Question 4. In VBScript, the _____ Boolean operator can change a true expression to false and a false expression to true.
XOR
Not
OR
AND
Question 5. What Windows CLI command will display all current resources that your computer is making available to other network users?
Net share
Net use
Net view
Net display
Question 6. Which one of the following object definitions is used in a VBScript program to create, delete, copy, and move files and folders?
Set fso = CreateObject("Scripting.FileSystemObject")
Set fileServ = GetObject("WinNT://MyPC/LanManServer,FileService")
Set networkObj = WScript.CreateObject("WScript.Network")
set WshShell = WScript.CreateObject("WScript.Shell")
Focus on domestic enterprise activity
: What was once a focus on domestic enterprise activity, then international, has given way to global enterprise. What unique strategic challenges does functioning in the global environment present relative to achieving competitive advantage and over..
|
What are the main themes or areas of the literature review
: What is the main problem or topic that the article trying to address - Does the main problem or topic of the article seem to be important? Why or why not?
|
How using cell phones while driving is dangerous
: Write a research paper about How using cell phones while driving is dangerous?
|
Variety of internal and external workings
: When negotiating in an emerging market, it is critical to understand a variety of internal and external workings of the country in which you will be launching a product. For example, the negotiator would need to understand the emerging market's re..
|
What windows cli command will display
: What Windows CLI command will display all current resources that your computer is making available to other network users
|
Toxins in the body
: Activity - Toxins in the Body: List some of the toxins that persist in the human body, and the potential sources of those toxins in your environment. What are the substances that your body comes into contact with during a normal day? Make up a dialog..
|
The expansion of blue streak
: Arthur Benton started the Blue Streak Delivery Company five years ago. Blue Streak initially provided commercial delivery services for all packages within the city of Unionville (population 1 million).
|
Environmental proposal paper
: Environmental Proposal Paper
|
Presentation for senior management
: Determine your best course of action for bringing this project in on schedule and update your project plan to reflect your recommendation. Develop a 5-6 slide presentation for senior management outlining your proposed solution. You are seeking app..
|