Ask Computer Engineering Expert

Question 1. The NETSH command that will set the IP address of the interface name LocalNet to a DHCP-supplied IP address is _____.

netsh interface set ip address "NIC" source=dhcp

netsh interface ip address "LocalNet" source=dhcp

netsh interface ip set address "LocalNet" source=dhcp

netsh interface set ip address source=dhcp "NIC"

Question 2. Which of the following Windows commands will restart your computer in 5 minutes?

shutdown /r /t 50

shutdown /r /t 300

shutdown t 5 /r

shutdown /t 300 /r

Question 3. Which one of the following Windows NET commands options is NOT used to control services with the NET????? ServiceName?

STOP

START

CONTINUE

DELETE

Question 4. SPOOLER is the name of the service to do what with the WINDOWS NET command?

To control the DHCP server

To stop spooling the DNS service

To control the queue of print jobs

None of the above

Question 5. What is the best choice for a variable name representing an interest rate?

i

interest

ir

interestRate

Question 6. What is the problem with the following statement? lastName = "Jones

There is nothing wrong with this assignment.

lastName is ***** ***** descriptive variable name.

Jones should be in double quotes.

Value on the left must be a variable name.

Question 7. An English-like statement used to describe the logic of a program is known as _____.

desk checking

pseudocode

flowchart

code map

Question 8. What is the problem with the following statement? average = (60 + 75) /2

Parentheses are not allowed.

Data types don't match.

Average should be in quotes.

There is no problem with this statement.

Question 9. What is the problem with the following statement? 75 = percent

75 is not a reasonable percent value.

Data types don't match.

75 should be in quotes.

Value on the left must be a variable name.

Question 10. Which VBScript Boolean operator has the highest precedence?

And

OR

Not

XOR

Question 11. In VBScript, which relational operator is used to test for the "Greater Than" relationship?

>>

<

>=

>

Question 12. The VBScript Boolean operator AND is used to evaluate multiple conditions where true means _____.

all conditions must be false

all conditions must be true

any one or more conditions must be false

any one or more conditions must be true

Question 13. What VBScript decision-making statement would be for a single condition and two alternative code blocks to be executed?

If/Then

While

If/Then/Else

Do/Until

Question 14. What VBScript decision-making statement would be for a single condition and a single code block to be executed?

If/Then

While

If/Then/Else

Do/Until

Question 15. Which VBScript statement represents incrementing the loop counter variable called count?

count = 1

while (count <= 10)

count = count + 1

count++

Question 16. A loop that counts down operates by having the loop control variable _____.

initialized

checked

decremented

incremented

Question 17. Which of the following would NOT be a valid comparison to control a While loop?

count <> 10

count > true

count > 1

count * 3 > 100

Question 18. When a VBScript loop control variable is not altered during loop execution, a(n) _____ loop may result.

single pass

indeterminate

endless

default

Question 19. The statements that are repeated during loop execution are called the _____.

loop body or code block

decision statements

loop group

loop variables

Question 20. What name is ***** ***** to a function or subroutine that calculates overtime pay?

calcO()

calculate overtime()

cO()

calculateOvertime()

Question 21. Internal documentation for scripts include _____.

a data dictionary

program comments

a print chart

user manuals

Question 22. What WSH object is required for VBScript File I/O?

Scripting.FileSystemObject

FileSystemObject

Scripting.FileSystem

WScript.FileSystemObject

Question 23. In creating a VBScript Scripting.FileSystemObject, you must start the code line with _____.

Let fso = CreateObject

Set fso = CreateObject

Let fso = new Object

Set fso = new Object

Question 24. Which line will properly create the object for VBScript File I/O?

Set fso = Scripting.FileSystemObject

fso = CreateObject("Scripting.FileSystem")

Set fso = CreateObject("Scripting.FileSystem")

Set fso = CreateObject("WScript.FileSystemObject")

Question 25. What is the name for a field that uniquely identifies a record?

Primary key

Unique key

Foreign key

Table key

Question 26. What is another name used to refer to a record in a database?

Character

Column

Row

Table

Question 27. The _____ in a table is the column that makes each record different from all others.

unique record

primary key

sort key

magic field

Question 28. What is the most commonly used method to extract data from a database?

SQL

MML

C++

Java

1. Write the Windows CLI NET commands that will turn the Spooler service OFF and then ON.

2. Write the Windows CLI NET commands that will turn the WORKSTATION service OFF and then ON.

3. Write the VBScript code lines that perform the following tasks: define a variable name that is initialized to "John Doe" and a variable age that is initialized to 35. Display a message that uses the variables "Your name is***** and your age is 35."

4. Write the VBScript code that implements this logic. Given the numeric variable age, display the message "You are a Senior" if age is greater than or equal to 65, otherwise display the message "You are not a Senior".

5. Assuming that you are connected to a database table called Computers with the fields Computer, Hostname Room_Num, CPU_Type, Num_CPUs, Bit_Size, OS_Type, Memory, and HDD_Size, write the SQL Query String sqlStr such that the fields Computer, Hostname, and CPU_Type will be displayed for all records CPU_Type is 'AMD' and the Bit_Size is 64. The returned records should be sorted by Hostname.

6. Write a VBScript function called MaxNum that accepts two numbers and returns the largest of the two numbers.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91337001
  • Price:- $55

Guranteed 36 Hours Delivery, In Price:- $55

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 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