Preview

Week 4

Satisfactory Essays
Open Document
Open Document
2217 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Week 4
Student Name | | Class | 230 | Date | 2/2/13 | VBScript IP Array Report In the space provided below, copy and paste your VBScript Program Code. If it doesn’t fit, use the next page for the continuation of your sourcecode program
' VBScript: IP_Array_start.vbs
' Written by:
' Date: 02/2/13
' Class: COMP230
' Professor: Johnson
' ===================================
' Below is an initialize a 2-dimension
' array of IP Address. The 1st index
' +100 is the room# and the 2nd index
' +1 is the computer# in the room. dim ipAddress(5,3) ipAddress(0,0)="192.168.10.11" ipAddress(0,1)="192.168.10.12" ipAddress(0,2)="192.168.10.13" ipAddress(0,3)="192.168.10.14" ipAddress(1,0)="192.168.10.19" ipAddress(1,1)="192.168.10.20" ipAddress(1,2)="192.168.10.21" ipAddress(1,3)="192.168.10.22" ipAddress(2,0)="192.168.10.27" ipAddress(2,1)="192.168.10.28" ipAddress(2,2)="192.168.10.29" ipAddress(2,3)="192.168.10.30" ipAddress(3,0)="192.168.10.35" ipAddress(3,1)="192.168.10.36" ipAddress(3,2)="192.168.10.37" ipAddress(3,3)="192.168.10.38" ipAddress(4,0)="192.168.10.43" ipAddress(4,1)="192.168.10.44" ipAddress(4,2)="192.168.10.45" ipAddress(4,3)="192.168.10.46" ipAddress(5,0)="192.168.10.51" ipAddress(5,1)="192.168.10.52" ipAddress(5,2)="192.168.10.53" ipAddress(5,3)="192.168.10.54"

' Define Script Variable roomStr="" compStr="" ansStr="" room=0 computer=0 ans=0
Do
WScript.StdOut.Write("Please Enter the Room Number (100-105) ...... ") roomStr = Wscript.StdIn.Readline() room = CInt(roomStr) If room < 100 OR room > 105 Then WScript.StdOut.WriteLine(chr(7) & chr(7) & "Error, 100 to 105 Only!!!") WScript.echo End If
Loop While room < 100 OR room > 105
Do
WScript.StdOut.Write("Please Enter the Computer Number (1-4) ...... ") compStr = WScript.StdIn.Readline() computer = CInt(compStr) If computer < 1 OR computer > 4 Then

You May Also Find These Documents Helpful

  • Powerful Essays

    The NETSTAT utility is a command available on most platforms that enables a user to list the sockets in use on a system. The information returned by the command is only for the local host, and there is no provision for monitoring remote hosts using this utility.…

    • 670 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    Week 2

    • 3075 Words
    • 13 Pages

    PROCEDURE: The patient was placed in the supine position on the operating room table, where her right hand and…

    • 3075 Words
    • 13 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 7

    • 458 Words
    • 2 Pages

    Identify the three IP address classes, the default subnet mask used with each, and the number of hosts for each.…

    • 458 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Switch/Router Security Lab Exam Subnet the IP Address 192.168.3.5 to provide 12 networks with 12 hosts. a. Subnet Mask: 255.255.255.224 b. CIDR value: /27 c. What is the first usable IP on the 6th usable network: 192.168.16.193: ERROR d. What is the last usable IP on the 7th usable network: 192.168.16.225:…

    • 246 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    2.Write a program to (a) display a “?” (b) read two decimal digits whose sum less than 10 (c) display them and their sum on the next line. Page: 80…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Comp230 Wk 5 Lab

    • 411 Words
    • 2 Pages

    Copy your Mod1_PCTests.vbs program from NotePad++ and paste it into the space provided below. Any portion of the script that will not fit should be continued in the textbox on the next page.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Assignment

    • 1058 Words
    • 5 Pages

    1) Initialization: the variable is initialized 2) Test: the loop tests the variable by comparing it to the maximum value 3) Increment: to increase the value during each iteration the loop increments the counter variable by adding 1 to it.…

    • 1058 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week Five

    • 268 Words
    • 2 Pages

    f(x2-3)( F IS NOW WORKING ON THE RULE OF G) = 2(x2-3)+5 (THE RULE OF F IS APPLIED TO G) = 2x2-6+5 (SIMPIFIED) =2x2-1 (FINAL ANSWER)…

    • 268 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    week 2

    • 634 Words
    • 3 Pages

    Subsequent to reading the scenario, I discovered that there was a contract in place when BTT sent an email to Chau talking about the original terms of agreement. BTT sent Chou an e-mail where the topic line read “Strat Deal.” This email reiterated the main elements of the agreement. The elements included fees, the rights and responsibilities of both parties, and the length of time the project should be done.” This is when the contract became legal binding.…

    • 634 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    week 3

    • 311 Words
    • 2 Pages

    Write a paragraph (minimum five college-level sentences) below that summarizes what was accomplished in this lab, what you learned by performing it, how it relates to this week’s TCOs and other course material, and (just as important) how you feel it will benefit you in your academic and professional career. (8 points)…

    • 311 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week 3 Ilab

    • 367 Words
    • 2 Pages

    End of Program <<< Process finished. In the space provided below, copy and paste the RUN of your NetShareServer.vbs program: ' VBScript: NetShareClient.vbs ' Written by: Student Name ' Date: Today's Date ' Class: COMP230 ' Professor: Professor Name ' = ==…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Week 3

    • 306 Words
    • 2 Pages

    1. What is a physician that specializes in the diagnosis and treatment of male genitourinary conditions called? Urologist…

    • 306 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Week 4

    • 262 Words
    • 2 Pages

    Macro is designed for the do-it-yourselfer. The software program is ranked among the most useful tools of Microsoft programs. They took a task that would have been executed manually and made it automatic for many computer tasks. This can be from a simple task of creating spreadsheets or worksheets to a very complex task of exporting journal entries in an Excel program into an accounting package and the creating reports in Word. What makes Macros so great tis that in a lot of cases you don’t need to be an expert to set it up? You need to invest a little of time to learn the language they are written it…

    • 262 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    172.29.0.0/16 subnetted to 113 subnets and provide information for subnets #1, #10, #26, and #113.…

    • 180 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    week4

    • 325 Words
    • 2 Pages

    Amelia receives high marks in math. Amelia’s mother is surprised because she never did well in math.…

    • 325 Words
    • 2 Pages
    Satisfactory Essays

Related Topics