Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Pseudo code notepad++

30/03/2021 Client: saad24vbs Deadline: 2 Day

VBScript IP File Lab
Objectives
In this lab, students will complete the following objectives.

· Create a VBScript program using NotePad++.

· Write a two-dimensional array of IP addresses to a text file.

· Read the IP Addresses text file into a script.

· Append new Room/PC/IP address data to the text file.

· Use the object Scripting.FileSystemObject.

Lab Diagram
During your session you will have access to the following lab configuration.

Connecting to your lab
For this lab, we will only need to connect to Vlab-PC1.

· Vlab-PC1

To start simply click on the named Workstation from the device list (located on the left hand side of the screen) and click the Power on from the in tools bar. In some cases the devices may power on automatically.

During the boot up process an activity indicator will be displayed in the name tab:

· Black - Powered Off

· Orange - Working on your request

· Green - Ready to access

If the remote console is not displayed automatically in the main window (or popup) click the Connect icon located in the tools bar to start your session.

If the remote console does not appear please try the following option:

· Switch between the HTML 5 and Java client versions in the tools bar.

In the event this does not resolve your connectivity problems please visit our Help / Support pages for additional resolution options.

Task 1: Create the IP_FileWrite.vbs Program
Note: All captures must be text only—DO NOT capture the NotePad++ application window or the command prompt window. Use copy and paste of text only.

1) Open NotePad++ and from the menu, select File/Open. Open the file IP_File_start.vbs in the C:\comp230 directory. If you do not see this file, you can download it and extract it from the eCollege Doc Sharing file IP_File_start.zip.

Modify the Programmer Header as needed and Save As the VBScript file as IP_FileWrite.vbs.

We are using the array of IP addresses that was used in Lab 4. The line dim ipAddress(5,3) declare 6x4 two-dimensional array. The 5 and 3 give the maximum index value. Since indices always start at 0, this is a 6x4 array.

The lines that follow initialize the array locations with IP addresses. The first index (0..5) represents the rooms 100 through 105. The second index (0..3) represent the four computers in each room.

The IP address of the third computer in room 104 can be found in the array element or component ipAddress(4,2). This value is “192.168.10.45”. Look at the array carefully to determine the meaning of the index values.

Use SAVE AS to save this file as IP_FileWrite.vbs.

2) Add the code indicated by the pseudocode shown below to write the Array to a text file. Actual code and identifiers for variables and methods within the pseudocode will be in bold font. Carefully read the comments directly below the pseudocode.

Pseudocode

Define the following constants that will be used in your program

CONST READ = 1, WRITE = 2, APPEND = 8, ASCII = 0

We are going to create a text file with the IP address data in it. Define the variable fileName and initialize it to

“c:\comp230\IP_Addresses.csv”

Define the variable ipAddrStr and initialize it to “”

Set fso to the “Scripting.FileSystemObject” using CreateObject

We now want to create the file.

Set ipFileObj = fso.CreateTextFile(filename,True,ASCII)

We will use nested FOR loops to read the data from the two-dimensional array and store it in the text file. Each line of the file will have the room number, computer number, and ip address. Each line of data is first stored in the string variable ipAddrStr, and that data is then written to the file.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Calculation Master
Coursework Help Online
Top Grade Tutor
Finance Professor
Accounting & Finance Master
Solution Provider
Writer Writer Name Offer Chat
Calculation Master

ONLINE

Calculation Master

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$77 Chat With Writer
Coursework Help Online

ONLINE

Coursework Help Online

I have read and understood all your initial requirements, and I am very professional in this task.

$33 Chat With Writer
Top Grade Tutor

ONLINE

Top Grade Tutor

I have read your project details. I can do this within your deadline.

$75 Chat With Writer
Finance Professor

ONLINE

Finance Professor

I have read and understood all your initial requirements, and I am very professional in this task.

$64 Chat With Writer
Accounting & Finance Master

ONLINE

Accounting & Finance Master

Give me a chance, i will do this with my best efforts

$94 Chat With Writer
Solution Provider

ONLINE

Solution Provider

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$105 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Crow's foot notation visio 2010 - Dichotomous key lesson plan - Juvenile Delinquency - Strategies for Academic Sucess - How early years settings meet children's rights to play - Which substance is the best conductor of electricity - Writing effective board papers - Kwik wire harness review - Difference between cbt and rebt - How big is 400 square miles - Strategic importance of cloud computing in business organizations research paper - 2/57 kinsale street reservoir - Analysis of a bird came down the walk - 85 area code country - Managing technology at genex fuels case study - Should i do my homework flowchart - Subject:  Strategic Decision Making /Subject: Initiating the Project - Presidential Agenda - Life's but a walking shadow a poor player - Dhl express organizational structure - Camping in bunyip state park - Aboriginal evangelical church balga - Reade park lawn tennis club - Ten competencies of social work - De la salle institute napa - Attention getters for speeches about sports - No child left behind thesis statement - How is 496 a perfect number - 1 2 3 let's go sound effect - Bankers algorithm program in c - Nathan henry john riley - Strategic plan part 1 new product or service - P4#1 - 3 Questions 4 Sentences each - The living room candidate answers - WEEK 8 HSA599 - United airlines guitar scandal - Hellenistic cosmopolitanism expressed itself in all of the following ways except - How to standardize an argument - Lies my teacher told me chapter 4 - Nur 513 introduction to advanced registered nursing - Managing organizational change a multiple perspectives approach 2nd edition - Fm19 send on leadership course - Writing for life paragraphs and essays 4th edition pdf - I need this assignment done which is due Friday... I need someone who is going to get the job done.... - Advantage air return air grille - Food cost percentage formula - Cisco meraki mdm datasheet - Mathematics - Database design language dbdl is a programming language - There is no unmarked woman by deborah tannen - Glasgow Coma Scale - Single celled organisms who pump out water are engaging in - Discussion Response- Environmental (2) - How many minutes is 2.3 hours - Do the analysis of PTU and Hyperthyroidism. - 6 2 volleyball rotation - A common tactic in a financial incentive political strategy is - University of leicester campus map - Statement of purpose for masters in digital marketing - Uxbridge middlesex ub8 3ph - Bunyip state forest camping - Mosfet gate and source shorted - New hire welcome package - Bohemian rhapsody hidden meaning - Please help me with my Operations Management reflective assignment - Final Project - Treasury stock is ________. - How to write a treatment plan - Basildon council collection of large items - Read vs readlines python - 6 levels of structural organization - Sunrise model by madeleine leininger - Is bio greek or latin - Hipaa security rule's broader objectives - Case study based assignment on supply chain model - O3/3 - Research paper - CET - Teresa granger is the manager of chicago cheese - Contagion film questions why did her husband not get infected - Bsb30112 certificate iii in business - OS dis 7 and paper - Sentence with every letter of the alphabet - 7-eleven case study analysis - Monitoring a reaction with thin layer chromatography lab report - Seinfeld pudding skin episode - Research proposal - Rococo ppt - Capital punishment reading passage answer - Wok with yan apron sayings - Siemens plc basics ppt - Adapted physical activity program - 4th grade word study worksheets - M and m's and skittles - My grandson is about as many days - Indian camp ernest hemingway pdf - SOC discussion - Chapter 28 the affluent society outline - How to reduce employee turnover rate in capsim - What were the causes of the metrolink accident