{"id":154602,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/write-the-netsh-command-that-will-set-the-ip-address-of-the-interface-name-nic-to-192-168-100-10-255-255-255-0-with-a-default-gateway-of-192-168-100-1-and-a-metric-of-1-write-the-wi"},"modified":"2017-08-17T18:25:00","modified_gmt":"2017-08-17T18:25:00","slug":"write-the-netsh-command-that-will-set-the-ip-address-of-the-interface-name-nic-to-192-168-100-10-255-255-255-0-with-a-default-gateway-of-192-168-100-1-and-a-metric-of-1-write-the-wi","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/write-the-netsh-command-that-will-set-the-ip-address-of-the-interface-name-nic-to-192-168-100-10-255-255-255-0-with-a-default-gateway-of-192-168-100-1-and-a-metric-of-1-write-the-wi\/","title":{"rendered":"Write the NETSH command that will set the IP address of the interface name \u201cNIC\u201d to 192.168.100.10 255.255.255.0 with a default-gateway of 192.168.100.1 and a metric of 1. Write the Windows CLI command that will shutdown and restart your computer in 2 minutes with the message \u201cRestart in 2 Minutes!!\u201d Write the VBScript code lines that perform the following tasks: define a variable name that is initialized to \u201cJohn Doe\u201d and a variable age that is initialized to 35. Display a message that uses the variables \u201cYour name is John Doe and your age is 35.\u201d A movie theater manager says, \u201cProvide a discount to patrons who are under 15 years old and those who are over 55 years old; otherwise, charge the full price.\u201d Write the VBScript code that implements this logic. Assume the variables age and price and the constants DISCOUNT_PRICE and FULL_PRICE. 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, Room_Num, and OS_Type will be displayed for the records that indicate an OS_Type of \u2018Fedora 10\u2019 or \u2018Windows XP\u2019. The returned records should be sorted by OS_Type Write a VBScript function called MaxNum that accepts two numbers and returns the largest of the two numbers. Write the VBScript code that uses a Do\/Until or Do\/While Loop to display all of the integer values stored in the array numArray(100) Write the VBScript code that will copy the file C:DataCustData.txt to C:BackUpCustData.txt using a Scripting.FileSystemObject. (TCO 2) A variable name should always have _____. double quotes spaces only lowercase letters a descriptive identifier (TCO 4) In a VBScript _____ structure, the body of the loop will always execute at least once. For\/Next Loop Do\/Loop\/Until Do\/While\/Loop Do\/Until\/Loop 22. (TCO 6) In creating a VBScript Scripting.FileSystemObject, you must start the code line with _____. (Points : 5) Let fso = CreateObject Set fso = CreateObject Let fso = new Object Set fso = new Object Question 23.23. (TCO 6) What WSH object is required for VBScript File I\/O? (Points : 5) Scripting.FileSystemObject FileSystemObject Scripting.FileSystem WScript.FileSystemObject Question 24.24. (TCO 6) In order to move the file C:DataCustData.txt to C:BackUpCustData.txt in a VBScript program, use the following command ( fso is a Scripting.FileSystemObject) . (Points : 5) fso.MoveFile(\u201cC:DataCustData.txt\u201d,\u201dC:BackUpCustData.txt\u201d) fso.MoveFile(\u201dC:BackUpCustData.txt\u201d, \u201cC:DataCustData.txt\u201d) fso.FileMove(\u201cC:DataCustData.txt\u201d,\u201dC:BackUpCustData.txt\u201d) fso.FileMove(\u201dC:BackUpCustData.txt\u201d, \u201cC:DataCustData.txt\u201d) 26. (TCO 7) In an SQL Query statement used in a VBScript program, what Boolean operator can be used to test a set of conditions whereby any condition being true makes the entire expression true? (Points : 5) OR AND XOR NOT 28. (TCO 7) The questioning that causes extraction of data from a relational database is known as _____. (Points : 5) extraction sorting data refining querying"},"content":{"rendered":"<p>Write the NETSH command that will set the IP address of the interface name \u201cNIC\u201d to 192.168.100.10 255.255.255.0 with a default-gateway of 192.168.100.1 and a metric of 1.<\/p>\n<p>Write the Windows CLI command that will shutdown and restart your computer in 2 minutes with the message \u201cRestart in 2 Minutes!!\u201d<\/p>\n<p>Write the VBScript code lines that perform the following tasks: define a variable name that is initialized to \u201cJohn Doe\u201d and a variable age that is initialized to 35. Display a message that uses the variables \u201cYour name is John Doe and your age is 35.\u201d<\/p>\n<p>A movie theater manager says, \u201cProvide a discount to patrons who are under 15 years old and those who are over 55 years old; otherwise, charge the full price.\u201d Write the VBScript code that implements this logic. Assume the variables age and price and the constants DISCOUNT_PRICE and FULL_PRICE.<\/p>\n<p>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, Room_Num, and OS_Type will be displayed for the records that indicate an OS_Type of \u2018Fedora 10\u2019 or \u2018Windows XP\u2019. The returned records should be sorted by OS_Type<\/p>\n<p>Write a VBScript function called MaxNum that accepts two numbers and returns the largest of the two numbers.<\/p>\n<p>Write the VBScript code that uses a Do\/Until or Do\/While Loop to display all of the integer values stored in the array numArray(100)<\/p>\n<p>Write the VBScript code that will copy the file C:DataCustData.txt to C:BackUpCustData.txt using a Scripting.FileSystemObject.<\/p>\n<p>(TCO 2) A variable name should always have _____.<\/p>\n<p>double quotes spaces only lowercase letters a descriptive identifier<\/p>\n<p>(TCO 4) In a VBScript _____ structure, the body of the loop will always execute at least once.<\/p>\n<p>For\/Next Loop Do\/Loop\/Until Do\/While\/Loop Do\/Until\/Loop<\/p>\n<p>22. (TCO 6) In creating a VBScript Scripting.FileSystemObject, you must start the code line with _____. (Points : 5) Let fso = CreateObject Set fso = CreateObject Let fso = new Object Set fso = new Object<\/p>\n<p>Question 23.23. (TCO 6) What WSH object is required for VBScript File I\/O? (Points : 5) Scripting.FileSystemObject FileSystemObject Scripting.FileSystem WScript.FileSystemObject<\/p>\n<p>Question 24.24. (TCO 6) In order to move the file C:DataCustData.txt to C:BackUpCustData.txt in a VBScript program, use the following command ( fso is a Scripting.FileSystemObject) . (Points : 5) fso.MoveFile(\u201cC:DataCustData.txt\u201d,\u201dC:BackUpCustData.txt\u201d) fso.MoveFile(\u201dC:BackUpCustData.txt\u201d, \u201cC:DataCustData.txt\u201d) fso.FileMove(\u201cC:DataCustData.txt\u201d,\u201dC:BackUpCustData.txt\u201d) fso.FileMove(\u201dC:BackUpCustData.txt\u201d, \u201cC:DataCustData.txt\u201d)<\/p>\n<p>26. (TCO 7) In an SQL Query statement used in a VBScript program, what Boolean operator can be used to test a set of conditions whereby any condition being true makes the entire expression true? (Points : 5) OR AND XOR NOT<\/p>\n<p>28. (TCO 7) The questioning that causes extraction of data from a relational database is known as _____. (Points : 5) extraction sorting data refining querying<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Write the NETSH command that will set the IP address of the interface name \u201cNIC\u201d to 192.168.100.10 255.255.255.0 with a default-gateway of 192.168.100.1 and a metric of 1. Write the Windows CLI command that will shutdown and restart your computer <a href=\"https:\/\/www.benedictsol.com\/blogs\/write-the-netsh-command-that-will-set-the-ip-address-of-the-interface-name-nic-to-192-168-100-10-255-255-255-0-with-a-default-gateway-of-192-168-100-1-and-a-metric-of-1-write-the-wi\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-154602","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/154602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=154602"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/154602\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=154602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=154602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=154602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}