PT1420 Lab 1
1. What similarities do you see between the two programs?
Both prompted for input.
2. What differences do you see between the two programs?
The console is text based. The GUI is graphic based.
3. What input devices are used in t
PT1420 Lab 2
Purpose of Variable
Stores the cost of fiber
Stores the company name
Stores the number of feet to be installed
Stores the calculated cost of installed fiber
Display Welcome to th
NT1420 Week 3
1. What is reverse engineering?
In general, reverse engineering is the process of analyzing an object or systems operation to
determine its original design. This process has been used throughout history, and has even
Module main ( )
Declare String keepGoing = y
While keepGoing = y
/Declare local variable
Declare String clientName
Declare Real feetUTP
Declare Real subTotal
Declare Real taxCost
Declare Real totalCost
Week 9 Lab
Dim number As Integer = 0
number = addTen(number)
Console.WriteLine("The number with 10 added to it is :" & number)
Console.WriteLine("press any key to continue")
Payne, Richard Week 8
1. What are three examples that show that condition-controlled loop is better than count
controlled loop in programming?
Count-control loops are performed a specific number of times while While loops are
NT1420 Week 4
1a. List five advantages and five disadvantages of using global variables. Five advantages of
using global variables are:
a. It is accessible to all the modules in a program
b. You only have to declare it once outside the modu
1. Who was the creator of each of these languages? When was each of these languages created?
Was there a specific motivation behind the creation of these languages? If so, what was it?
In the 70s C programming was created b
Week 9 Assignment
Short Answer Review Question 1 on page 253
1. What is the difference between a module and a function?
A module is group of statements that exist within a program for the purpose of performing a
specific task and a function
PT1420 Week 5
1. What is a shell script?
Normally shells are interactive. It means shell accepts commands from you (via keyboard) and
execute them. But if you use command one by one (sequence of 'n' number of commands) then
you can store th