Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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")

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91377505
  • Price:- $20

Guranteed 24 Hours Delivery, In Price:- $20

Have any Question?


Related Questions in Computer Engineering

You want to be a millionaire when you retire in 35

You want to be a millionaire when you retire in 35 years. a. How much do you have to save each month if you can earn an annual return of 10.7 percent?  (Do not round intermediate calculations and round your answer to 2 d ...

Assignment week 5 user acceptance testinguser acceptance

Assignment: Week 5 User Acceptance Testing User acceptance testing, or UAT, is a round of testing in which the users who are expected to use the system after it goes live exercise the system. UAT differs from quality ass ...

Identify and evaluate at least three considerations that

Identify and evaluate at least three considerations that one must plan for when designing a database. Suggest at least two types of databases that would be useful for small businesses, two types for regional level organi ...

Question describe specifically how the organization will

Question: Describe specifically how the organization will formulate a business performance plan, as follows: • Conduct a current situation analysis. • Determine the planning horizon. • Conduct an environmental scan. • Id ...

Systems and networkscalculate the timeoutinterval for tcp

Systems and Networks Calculate the TimeOutInterval for TCP. Assume the observed SampleRTTs for the first three packets are 2 seconds, 5 seconds, and 8 seconds. The value of a=0.25 and the "safety margin" is 0.5 seconds. ...

How would the stock market soars and americans wealth

How would the stock market soars and Americans wealth expands significantly affect the econmony, by analyzing in the SRAS-AD diagram and determine the effects on real GDP and the General price level.

In a competitive market the market demand is qd 60- 6p and

In a competitive market, the market demand is Qd= 60- 6P and the market supply is the Qs= 4P the full economic price under a price ceiling of $3 is:?

Question is it ethical for a potential employer to use the

Question: Is it ethical for a potential employer to use the Internet this way? Is it legal? What if an angry ex-boyfriend or ex-girlfriend posted some things, pretending to be you? How might this affect your chances for ...

Problem belowwrite a program that uses a function that

Problem below: Write a program that uses a function that returns a number between 1 and 6. Use this function to simulate the roll of a die. Allow the user to specify the number of trials and then tabulate that number of ...

Discuss the importance of using an access control model in

Discuss the importance of using an access control model in determining how employees in an organization should gain access to resources.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As