Free Essay

Module1

In:

Submitted By fakerman
Words 312
Pages 2
The for the idiot is dumb The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

The for the idiot is dumb

Similar Documents

Free Essay

Nt1110 Larry Meza Module1 Lab

...NT1110_Larry Meza_Module1_Lab mr. C Larry Meza NT1110_Larry Meza_Module1_Lab mr. C Larry Meza 2016 2016 NT1110_Larry Meza_Module1_Lab The purpose and function of an operating system: It manages the hardware and software resources of the system. In a desktop computer, these resources include such things as the processor, memory, disk space and more (On a cell phone, they include the keypad, the screen, the address book, the phone dialer, the battery and the network connection). It provides a stable, consistent way for applications to deal with the hardware without having to know all the details of the hardware. Difference between Windows, Linux, and Mac OS: Windows – Windows series of operating systems have the obvious benefit of market ubiquity. extremely familiar and therefore easy to use the vast majority of software, hardware, support and training available is designed with Windows compatibility primarily in mind bundled with new PCs NT1110_Larry Meza_Module1_Lab Windows is designed to run on PCs, whether bought new or built cheaply Mac OS: Mac OS X is known for its excellent, intuitive user interface there are far fewer viruses written for the system making it less vulnerable to attack the system is very stable whilst maintaining high levels of performance impressive range of professional applications available OS X is also proprietary software users are forced to purchase Apple hardware...

Words: 312 - Pages: 2

Free Essay

Pt1420 Lab 3

... and 7 4. Declare Real creditsTaken = 0 5. Declare Real creditsLeft = 0 6. Declare String studentName = “NO VALUE” 7. Declare Constant Real creditsNeeded = 90 8. //Ask for user input of studentName and creditsTaken on line 9 - 12. 9. Display “What is the student’s name?” 10. User input = studentName 11. Display “How many credits does the student have?” 12. User input = creditsTaken 13. //Calculate remaining credits on line 14 14. creditsLeft = creditsNeeded – creditsTaken 15. //Display student name and credits left on line 16 and 17 16. Display “The student’s name is “, studentName 17. Display “They require “, creditsLeft ,” in order to graduate the NSA program.” LAB 3.3 Module Module1 Sub Main() Const fiberCost As Double = 0.87 Dim companyName As String = "NO VALUE" Dim numFeet As Double = 0 Dim totalCost As Double = 0 Dim anotherEstimate As String = "n" Do Console.Write("Enter company name. ") companyName =...

Words: 458 - Pages: 2

Free Essay

Pt1420 7 1 Lab

...Display “2 to the power of”, number, “is” toPower Counter=counter+1 Number=number+1 While counter < 8 Lab7.4 Declare integer counter = 1 Declare integer toPower = 2 Declare integer number = 2 counter < 7 Display “2 to the power of”, number, “is”, toPower counter = counter + 1 False toPower = 2 ^ number True   Lab7.5 Module Module1 Sub Main() Dim keepGoing As Integer = 1 Dim Count As Integer = 5 pingMe() openWebsite() finalOutput() While Count > 0 Console.WriteLine("Count down ..." & Count) Count -= 1 End While Console.ReadLine() End Sub Sub pingMe() Shell("Ping.exe 127.0.0.1", , True) End Sub Sub openWebsite() Dim myTargetURL As String = "http://www.microsoft.com" System.Diagnostics.Process.Start(myTargetURL) End Sub Sub finalOutput() Console.WriteLine("Complete and explanation of what this program does.") Console.WriteLine("The Shell function and ping.exe check for a response from the web server") Console.WriteLine("Dim is how we declare a variable.") Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module Lab7.6 Module Module1 Sub Main() Dim Counter As Integer = 0 Dim toPower As Integer = 2 Dim Number As Integer = 2 While Counter < 7 toPower = 2 ^ Number Console.WriteLine("2 to the power of " & Number & " is " & toPower) Counter += 1 Number...

Words: 298 - Pages: 2

Free Essay

Pt1420 Lab 7

...displayBill (clientName, totalCost) End While End Module Lab 7.2 Lab 7.3 Module Main() Declare integer toPower = 2 Declare integer number = 2 Declare integer counter = 0 While Counter < 7 Set toPower = 2^Number Display 2 to the power of, “number,” is,”toPower,” Counter += 1 Number += 1 End While End Module Lab 7.4 Lab 7.5 Module Module1 Sub Main() Dim keepGoing As String = "yes" Do While keepGoing = "yes" pingMe() Console.Write("Enter yes if you want to run program again") keepGoing = Console.ReadLine() Loop Console.WriteLine("Press enter to continue. ..") Console.ReadLine() End Sub Sub pingMe() Dim counter As Integer = 5 Do While counter > 0 Console.WriteLine("Count down . ") counter = counter - 1 Loop Console.WriteLine("Now ping. ..") Shell("Ping.exe 127.0.0.1", , True) Console.Out.WriteLine(" ") End Sub End Module Lab 7.6 Module Module1 Sub Main() Dim keepGoing As String = "y" While keepGoing = "y" Call displayPower() Console.WriteLine("Would you like to ping again? If so type y.") keepGoing = Console.ReadLine() End While End Sub Sub displayPower() Dim counter As Integer = 1 Dim toPower As Integer = 0 Dim number As Integer...

Words: 262 - Pages: 2

Free Essay

Pt1420 Lab 10

...“xxx” Declare integer age = your age Write this information to a file called myRecords.txt. Next, read this information from the file and print it to the screen. Step 1: Create a new Visual Basic workspace and add the following code: Module Module1 Sub Main() Dim firstName As String = "XXXX" Dim lastName As String = "XXX" Dim age As Integer = #### Dim writer As System.IO.StreamWriter = System.IO.File.CreateText("myRecords.txt") writer.WriteLine(firstName & " " & lastName & " " & age) writer.Close() Dim reader As System.IO.StreamReader = System.IO.File.OpenText("myRecords.txt") Dim myInfo As String = reader.ReadLine() Console.WriteLine(myInfo) reader.Close() 'this causes a pause so you can see your program Console.Write("Press enter to continue...") Console.ReadLine() End Sub End Module Step 2: Change the values of the variables to your records. Step 3: Run the program so that it works, and view your .txt file. Copy and paste your Visual Basic code into a Word document. Copy and paste your text file contents into the same Word document. Module Module1 Sub Main() Dim firstName As String = "Brian" Dim lastName As String = "Melson" Dim age As...

Words: 347 - Pages: 2

Free Essay

Pt1420 Assignment9

...Assignment 9 1. A function is a module that sends a value back to the part that it was called. A module a part of a program that does a specific task. 2. Set result = half (number) Function Integer half(integer number) Declare integer num Input num number = num /2 return number End function 3. Set results = cube(4) 4. Module Module1 Sub Main() Dim testscore As Integer Dim total As Integer = 0 Dim Avg As Double Dim grade As String = "No Value" For index = 1 To 5 Console.Write("Enter test score of " & index & ": ") testscore = Console.ReadLine() While testscore < 0 Or testscore > 100 Console.WriteLine("Enter a valid testscore.") Console.Write("Enter test score of " & index & ": ") testscore = Console.ReadLine() End While total = total + testscore grade = determineGrade(testscore, grade) displaygrades(testscore, grade) Next Avg = calcAverage(total, Avg) displayAverage(Avg) Console.ReadLine() End Sub Function calcAverage(ByVal total As Integer, ByVal Avg As Double) Avg = total / 5 Return Avg End Function Function determineGrade(ByVal testscore, ByVal grade) If testscore < 60 Then grade = "F" ElseIf testscore <...

Words: 484 - Pages: 2

Premium Essay

Lab 3.1psuedocode

...documentation on line 2 of what this program does //This program calculates how man credits the student has left before graduation //Declare variables on lines 4,5,6, and 7 Declare Real creditsTaken = 0 Declare real creditsLeft = 0 Declare String studentsName = “” Constant Real creditsNeeded = 90 //Ask for input of studentName and creditsTaken on line 9 -12 Display “What is your name?” Input studentsName Display “how many credits have you taken?” Input creditsTaken //Calculate remaining credits on line 14 Set creditsLeft = creditsNeeded – creditsTaken //Display student name and credits on line 16 and 17 Display “for the student “ ,studentsName , :,: Display “youhave “ , creditsLeft , “ before you graduate!” 3.2 3.3 Module Module1 Sub Main() 'Local variables used in this program Const fiberCost As Double = 0.87 Dim companyName As String = "NO VALUE" Dim numFeet As Double = 0 Dim totalCost As Double = 0 Console.Write(" Enter your company name ") companyName = Console.ReadLine() Console.Write(" How many feet will be installed? ") numFeet = Console.ReadLine() totalCost = numFeet * fiberCost Console.WriteLine(" For the company " &...

Words: 386 - Pages: 2

Free Essay

Student

...program can change the value of a global variable. Algorithm Workbench 1. Sub timesTen( byref argument as integer, byref product as integer) Product = argument * 10 5. sub getNumber(byref number as integer) Console.wroteline(“enter your number”) Number = console.readline() 6. At the end it should display both x and y as a 0 7. at the end of this is should make the variables a set to 1 and b set you 3.4 and display 1 and 3.4 Programming exercises 1. Module Module1 Sub Main() Dim kilo As Decimal = 0 Dim miles As Decimal = 0 Console.WriteLine("Please neter how many kilometers to have traveled.") kilo = Console.ReadLine() mathStuff(kilo, miles) Console.WriteLine("You have traveled," & miles & " miles.") Console.ReadLine() End Sub Sub mathStuff(ByVal kilo As Decimal, ByRef miles As Decimal) miles = kilo * 0.6214 End Sub End Module 2. Module Module1 Sub Main() Dim item As Decimal = 0 Dim stateTax As Decimal = 0.04 Dim countyTax As Decimal = 0.02 Dim...

Words: 454 - Pages: 2

Free Essay

Unit 1 Lab

...1. The CPU is what actually runs the programs. 2. 1, 0 3. Digital data, and/or digital device 4. Key words, or reserved words 5. Nmeumonics 6. A compiler translates a high-level language program into a separate machine language program. An interpreter both translates and executes the instructions of a high-level program. 7. Operating system Popular Programming languages 1970s: Pascal: Niklaus Wirth. 1970, and was developed for use in education to teach programming. C: Dennis Ritchie. Developed between 69 and 73. It was designed to encourage cross-platform programming, and to be used by straight forward compliers. Smalltalk: Alan Kay, Dan Ingalls, Adele Goldberg. Developed between 69 and 72. It was designed primarily for educational use. Scheme: Guy L. Steele and Gerald Jay Sussman. Developed in 1975 for educational uses. SQL: Donald D. Chamberlin and Raymond F. Boyce. Appeared in 1974. Designed to manipulate and retrieve data. 1980s: C++: Bjarne Stroustrup. Appeared in 1983. Developed for systems programming. Ada: Jean Ichbiah. Developed in 1980 for the Department of Defense as a unified language for embedded and real-time systems. Eiffel: Bertrand Meyer. Appeared in 1986. Developed to eliminate bookkeeping instructions to make code more readable and easier to program. Objective-C: Brad Cox and Tom Love in1983. Perl: Larry Wall. Appeared in 1987. Developed as a general purpose Unix coding mechanism. 1990s: Python: Guido van Rossum, and...

Words: 457 - Pages: 2

Free Essay

Unit 4 Labs

...inputData (Real Ref feetUTP, String Ref clientName) 9. Display “What is your name? “ 10. Input clientName 11. Display “How many feet of UTP do you need? “ 12. Input feetUTP End Module //this module calculates subTotal, taxCost, and totalCost //you also need feetUTP passed in to calculate subTotal Module calcCosts (13. subTotal, taxCost, and totalCost) 14. subTotal = feetUTP * 0.21 15. taxCost = 0.06 * subTotal 16. totalCost = taxCost + subTotal End Module //this module displays clientName and totalCost Module displayBill (17. clientName, and totalCost) ` 18. Display “clientName” 19. Display “totalCost” Lab 4.2 - Flowcharts and Modules Lab 4.3 – Visual Basic and Modules Module Module1 Sub Main() Dim clientName As String = "NO VALUE" Dim feetUTP As Double = 0 Dim subTotal As Double = 0 Dim taxCost As Double = 0 Dim totalCost As Double = 0 inputData(clientName, feetUTP) calcCosts(feetUTP, subTotal, taxCost, totalCost) finalBill(clientName, totalCost) Console.Write("Press enter to continue...") Console.ReadLine() Console.Write("The client is: " & clientName) Console.WriteLine(" Total: $" & totalCost) Console.ReadLine() End Sub Sub inputData(ByRef clientName As...

Words: 491 - Pages: 2

Free Essay

Pt1420

...clientName 11. Display “Please enter the amount of UTP (in feet) needed:” 12. Input feetUTP End Module //this module calculates subTotal, taxCost, and totalCost //you also need feetUTP passed in to calculate subTotal Module calcCosts (13. Real feetUTP, Real Ref subTotal, Real Ref taxCost, Real Ref totalCost 14. Set subTotal = feetUTP * .21 15. Set taxCost = subtotal * 0.06 16. Set totalCost = subtotal + taxCost End Module //this module displays clientName and totalCost Module displayBill (17. String clientName, Real totalCost) 18. Display “The order for:”, clientName 19. Display “has a total cost of:”, totalCost End Module Unit 4 Modules Lab 4.2 Flowchart Unit 4 Modules Lab 4.3 – Visual Basic Module Module1 Sub Main () 'declare variables Dim clientName As String = "NO VALUE" Dim feetUTP As Double = 0 Dim subTotal As Double = 0 Dim taxCost As Double = 0 Dim totalCost As Double = 0 'call modules...

Words: 579 - Pages: 3

Premium Essay

Unit 7 Homework

...increment. 5. What three actions do count- controlled loops typically perform using the counter variable? While loop, do-while loop and for loop. Algorithm Questions 1,2,7 and 8 1. declare integer product declare integer number product =0 do while product < 100 display “enter number” input number product = number*10 2. do{ sum =0 print(“enter=a”) read a print(“enter=b”) read b sum = a*b print(“sum=”+sum) print(‘ do you wish to continue”) read Response } while (RESPONSE) 7. Declare integer x =1 Do { while x > 0 display “enter a number” input x } End while 8. Declare string sure Display “are you sure you want to quit?” While sure != "Y" AND sure != "y" End while Programming exercises 1,3, and 4 1. Module Module1 Sub Main() Dim day1, day2, day3, day4, day5 As Integer Dim done As String Dim total As Integer Do Console.WriteLine("how many bugs did you collect on monday") day1 = Console.ReadLine Console.WriteLine("how many bugs did you collect on tuesday") day2 = Console.ReadLine Console.WriteLine("how many bugs did you collect on...

Words: 483 - Pages: 2

Premium Essay

Pt 1420

...Step 1: This program is most easily solved using just a few variables. Identify potential problems with the following variables declared in the pseudocode. Assume that the college has the ability to offer half credits. (Reference: Variable Names, page 39-40). Variable Name | Problem(Yes or No) | If Yes, what’s wrong? | Declare Real creditsTaken | No | | Declare Int creditsLeft | Yes | Data type should be Real | Declare Real studentName | Yes | Data type should be String | Constant Real credits Needed = 90 | Yes | Should be no space in variable name | Step 2: What is wrong with the following calculation? (Reference: Variable Assignment and Calculations, page 43). Set creditsLeft = creditsTaken – creditsNeeded Terms should be switched Step 3: Write the exact output you would expect from the following line of code if the user of the program enters “Nolan Owens”. (Reference: Displaying Items, page 40 – 41). Display “The student’s name is “, studentName The student’s name is Nolan Owens Step 4: Write the exact output you would expect from the following line of code if the user of the program enters a name of Nolan Owens and they have taken 20 credits so far. (Reference: Displaying Items, page 40 – 41). Display “The Network Systems Administration degree is awarded after 90 credits and “, studentName, “has “, creditsLeft, “left to take before graduation.” The Network Systems Administration degree is awarded after 90 credits and Nolan Owens has 70 left...

Words: 603 - Pages: 3

Free Essay

Itm301 Module 1 Module 1 – Case

...ITM301 Module 1 Module 1 – Case Click Link Below To Buy: http://hwcampus.com/shop/acc201-module-1-case/ Data, Information, and Organizational Knowledge Assignment Overview Every company has, to a greater or lesser extent, an information subsystem -- that is, a means by which it gathers data, interprets it, and makes it available to employees through a distribution system. Whether we are talking about marketing information, cost projections, accounting results, or internal quality reports, every company depends on knowledge to support its planning, decision-making, and control. So how does knowledge fit into the picture? The emergence of the field called knowledge management has highlighted some key propositions in the last 10 years or so. All organizations are storehouses of knowledge that operate in information-rich environments made up of people and things both inside and outside the organization itself Organizations organize, interpret, and evaluate this information to solve organizational problems Knowledge is the primary mechanism for processing and utilizing information People's brains are the key knowledge resource of any organization Codified knowledge stored in books, audio, videotapes, and computer systems can be an important knowledge resource as well There are organizational processes and strategies for IT management and management in general. Therefore, processes and strategies in particular can significantly enhance the ability of organizations to...

Words: 1369 - Pages: 6

Premium Essay

Pt1420 Lab 8

...7: Constant Integer Max_VALUE = 200 Declare Integer counter For counter = 20 to Max_VALUE step 20 Display “The number is “, counter End For Step 9: Enter the number of students in class Display however many numbered students you enter Step 11: Loop five times, each asking you to enter a number Displaying the total at the end Step 12: Declare Integer counter Declare Integer totalAge = 0 Declare Real averageAge = 0 Declare Integer age Declare Integer number Display “How many ages do you want to enter: “ Input number For counter = 1 to number Display “Enter age “ Input age Set totalAge = totalAge + age End For averageAge = totalAge / number Display “The average age is “, averageAge Lab 8.2 Lab 8.3 Module Module1 Sub Main() Dim anotherDay As String = "yes" While anotherDay = "yes" Dim totalSpeed As Double = 0 Dim averageSpeed As Double = 0 enterSpeeds(totalSpeed) calcAverage(totalSpeed, averageSpeed) displayAverage(averageSpeed) Console.WriteLine("Enter yes if you want to calculate another day ") anotherDay = Console.ReadLine End While End Sub Sub enterSpeeds(ByRef totalSpeed As Double) Dim networkSpeed As Double = 0 Dim counter As Integer = 1 For counter = 1 To 8 Console.Write("Enter network...

Words: 324 - Pages: 2