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
  • Powerful Essays

    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…

    • 529 Words
    • 3 Pages
    Powerful 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
  • Good Essays

    Week 3

    • 659 Words
    • 3 Pages

    1. What are the current challenges facing United Way? What are key issues in the general and non-profit charitable giving industry environments that affect United Way’s operations?…

    • 659 Words
    • 3 Pages
    Good 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
  • Good Essays

    Week Four

    • 942 Words
    • 4 Pages

    Police corruption, misconduct, and brutality in the United States are all around from state to state, and going on for years. Abuses from public authority are worldwide police who are violating police departments regulations and rules. Corruptions by police are very illegal and are consequences of an officer authority may include selling drugs, extortion and fencing stolen goods. Police departments establishes codes of conduct, and investigate and remedial advice. Federal law specifically targets police misconduct applicable to local officers in officers working correctional (Howell Ron, 2002). Police misconduct and corruption is an international problem and historically factor development of police institutions, and a problem counterinsurgency. The U.S.- led North Atlantic Treaty organization police training program in Afghanistan have high police abuse and corruption by police corruption abuse and corruption and caused Afghans to seek assistance of Taliban against their government. The Blue-ribbon commissions have the most reliable and extensive knowledge about corruption by police many reports, created to sole purpose of conducting investigations of police corruptions. Commissions reduce police corruption by creating oversight over police with special focus on integrity, changing the organizations culture tolerating misbehavior less, and holding all commanders responsible for misbehavior of subordinates. Commission relay on contextual conditions that are not found in countries emerging conflict and facing threats to their security (Robert Perito,…

    • 942 Words
    • 4 Pages
    Good Essays

Related Topics