Preview

Comp230 W2 Ilab

Satisfactory Essays
Open Document
Open Document
1120 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Comp230 W2 Ilab
Student Name | | Class | Comp230 | Date | 5/16/2013 | VBScript IPO VBox Lab Report ' VBScript: NameAge.vbs
' Written by:
' Date: 5/16/2013
' Class: Comp230
' Professor: Giao Dau
' =====================================
'Create name and age variables name = "" ageStr = ""
' Prompt User for Name and Age
WScript.StdOut.Write("Please Enter your Full Name ..............") name = WScript.StdIn.ReadLine()
WScript.StdOut.WriteLine() 'Skip 1 line
WScript.StdOut.Write("Please Enter you age .....................") ageStr = WScript.StdIn.ReadLine()
' Calculate Age+10 and assign to ageStr10 ageStr10 = CStr( CInt(ageStr)+10 )
' Display Name and Age Vales
WScript.StdOut.WriteBlankLines(2) 'Skip 2 lines
WScript.StdOut.WriteLine("Your Name is " & vbTab & vbTab & name)
WScript.StdOut.WriteLine("Your Age is " & vbTab & vbTab & ageStr)
WScript.StdOut.WriteLine(vbCrlf & "You Age in 10 years is ......" & ageStr10 & vbCrlf)
WScript.StdOut.WriteLine("End of Program")
' VBScript: NameAge.vbs
' Written by:
' Date: 5/16/2013
' Class: Comp230
' Professor: Giao Dau
' =====================================
'Create name and age variables name = "" ageStr = ""
' Prompt User for Name and Age
WScript.StdOut.Write("Please Enter your Full Name ..............") name = WScript.StdIn.ReadLine()
WScript.StdOut.WriteLine() 'Skip 1 line
WScript.StdOut.Write("Please Enter you age .....................") ageStr = WScript.StdIn.ReadLine()
' Calculate Age+10 and assign to ageStr10 ageStr10 = CStr( CInt(ageStr)+10 )
' Display Name and Age Vales
WScript.StdOut.WriteBlankLines(2) 'Skip 2 lines
WScript.StdOut.WriteLine("Your Name is " & vbTab & vbTab & name)
WScript.StdOut.WriteLine("Your Age is " & vbTab & vbTab & ageStr)
WScript.StdOut.WriteLine(vbCrlf & "You Age in 10 years is ......" & ageStr10 & vbCrlf)
WScript.StdOut.WriteLine("End of Program")
Copy your NameAge.vbs program from

You May Also Find These Documents Helpful

  • Satisfactory Essays

    ECT122 W1 ILab 3

    • 452 Words
    • 4 Pages

    It’s the common ground and is used in all measurements. Black lead is placed in this connection.…

    • 452 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Penetration testing should be done to test the network for vulnerabilities. There are several types of penetration testing. “An automated port based scan is generally one of the first steps in a traditional penetration test because it helps obtain a basic overview of what may be available on the target network or host. Port based scanners check to determine whether a port on a remote host is able to receive a connection. Generally, this will involve the protocols which utilize IP (such as TCP, UDP, ICMP, etc.), However, ports on other network protocols could be present as well dependent on the environment (for example, it’s quite common in large mainframe environments for SNA to be in use). Typically, a port can have one of two possible states: open – the port is able to receive data and closed – the port is not able to receive data. A service based vulnerability scanner is one which utilizes specific protocols to communicate with open ports on a remote host, to determine…

    • 550 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ………….. ……… ………… ……… …………. ……… ………….…

    • 868 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NETW 310 iLab week 2

    • 335 Words
    • 2 Pages

    To complete your Week 2 Lab Report, answer the ten questions concerning the procedure involved and the advantage of wiring standards.…

    • 335 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ECT122 w1 iLab 3

    • 410 Words
    • 3 Pages

    The COM connection is for the reference (ground) connection. The black lead is placed in this connection.…

    • 410 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    lasb 8 IS3220

    • 390 Words
    • 2 Pages

    1. Explain why a layered security strategy helps mitigate risk and threats both external and internal.…

    • 390 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The Kennedy Law Firm, PLLC, serves the north-central part of Tennessee and south-central part of Kentucky, with offices in Clarksville, Tennessee. The firm was established on Christian principles, focusing on helping individuals through their greatest times of need, in 1984. The firm handles a wide array of types of cases, including personal injury, criminal defense, bankruptcy, divorce, and custody matters in state, federal, and military courts. Kevin C. Kennedy is its founding member and managing partner, yet still practices and is still active in the firm’s operations. There are three office locations across the city; with a main office by the county courthouse, another office close to Fort Campbell’s gates, and the last location provides a location closer to individuals on the northeastern part of town.…

    • 791 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Sec 572 Week 4 Ilab

    • 944 Words
    • 4 Pages

    * Run a Flow Analysis to update the topology. Open the Visual CLI on the ISP router and ping all of the Servers and Host PCs including the Attack PC Use the IP addresses indicated on the network topology page. Select the commands you entered in the Virtual CLI using the mouse and click on the Copy button. Use <Ctrl>V to paste the commands and output results into your Lab Document.…

    • 944 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    PT1420 Unit 3 Labs

    • 270 Words
    • 2 Pages

    The Network Systems Administration degree is awarded after 90 credits and Nolan Owen has 70 left to take before graduation.…

    • 270 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    bloomberg cheatsheet

    • 13256 Words
    • 68 Pages
    • 13256 Words
    • 68 Pages
    Powerful Essays
  • Satisfactory Essays

    Sci 228 Ilab 5

    • 274 Words
    • 2 Pages

    Define BMI: You must define BMI, though not just with a general definition indicating its relationship to height and weight. Please also do not forget to define the actual term BMI!…

    • 274 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    It221 Final Project

    • 2390 Words
    • 10 Pages

    Currently Cyber Solutions has satellite locations in 15 major cities around the United States that provide onsite IT solutions for companies within their service area, but do not have an integrated database that updates…

    • 2390 Words
    • 10 Pages
    Powerful Essays
  • Better Essays

    Wk2 Assignment SOC 320

    • 1193 Words
    • 4 Pages

    Every individual in the United States deserves equal access to education but unfortunately this is not the case. “Despite major progress in some areas, many students, especially students of color, continue to lack the opportunity of a quality education” (U.S Department of Education, 2014). Many years ago the Brown v. Board of Education revealed the racial gap that existed in the early 1960’s and with Brown’s victory we can now have equal opportunity on a racial level. That was a big achievement for the education system as children of any color, culture, or ethnic group received the same quality of education as white children in America. In many poor communities educational opportunities are not as equal as in other sectors where well off Americans live. In this paper I will discuss whether every individual has the right to equal education, who is responsible for the provision of education, and I will suggest an improvement that I believe can help our educational system.…

    • 1193 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    CT236

    • 372 Words
    • 2 Pages

    1.1 Duty of Care means the requirement to provide as much care as reasonably possible to avoid service users from ant harm and to avoid injury to the individual.…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CU235P

    • 1045 Words
    • 5 Pages

    Health and social care organisations have what is called a duty of care towards the people they look after. That means that they must do everything they can to keep the people in their care safe from harm. It is not only the care establishment that needs to prioritise the safety, welfare and interests of the people using its services, but also the care workers of the establishment. My employer also has a duty of care for staff members, to ensure that working conditions are safe, and suitable to deliver the service.…

    • 1045 Words
    • 5 Pages
    Satisfactory Essays

Related Topics