Connect 4 Algorithm
Display 7x6 game board
Display "welcome to Connect four"
Display "please enter number of players up to 2"
Display "player 1 turn"
Display "player 2 turn"
input playerTwoMove / if only 1 player this will be AI
Dim clientName As String = "
Dim feetUTP As Double = 0
Dim subTotal As Double = 0
Dim taxCost As Double = 0
Dim totalCost As Double = 0
/Provide documentation on line 2 of what this program does
Display "welcome to the Network Systems Administration degree graduation credit calculator"
Declare Real creditsTaken
Declare Real creditsLeft
Declare String studentName
Set fiberCost = .87
Module getInfo ()
Display "What is the company name"
Display "how many feet of fiber will be installed?"
Module endDisplay ( company
Unit 5 research
A shell script is a text file that contains a sequence of commands for a UNIX bases OS. This is the OSs
command interpreter that enables you to communicate with the system.
Shell scripts allow you to program commands in chains and h
Select Case Selection
Case 1: display "you selected A"
Case 2: display "you selected 2"
Case 3: display "you selected 3"
Case 4: display "you selected 4"
Case default: display " Not good with numbers, eh?
Unit 6 research
List 5 advantages and 5 disadvantages of using case structures to program multiple alternative decisions
More straight forward
Easy to create logic flows
Easy to read
Easy to understand
Unit 5 home work
1. Explain what is meant by the term conditionally executed.
Means that a specific path in the program is only taken if specific conditions are met.
2. You need to test a condition and then execute one set of statements if the cond
Unit 4 Research
5 advantages of global variables
Only need to declare one time and are accessible across all modules
Great for constants
Can reduce time spent developing
Good for small one off programs
Can simplify code
5 disadvantages of global v
Unit 4 homework
1. How do modules help you to reuse code in a program?
If you are writing a program that uses the same process multiple times instead of rewriting the
code over and over again you write it one time in the module then just call on t
Unit 2 Homework
1. What does a professional programmer usually do first to gain an understanding of a problem? Works
directly with the customer
2. What is pseudocode? Fake code that uses no syntax and is used as a mock-up
3. Computer p
unit 3 research
What is reverse engineering?
Reverse engineering is looking at the code already written for a software program to see the
logic and structure behind it.
Advantages and disadvantages
Ability to rewrite old outdated softwa
Unit 2 Research assignment
What are the variable naming rules VB, Python and Java?
VB: you have to use a letter as the first character, name cannot be longer than 255 characters, name may
not use any of the following characters .!@&$# or spaces, va
Unit 3 Homework
5. What 2 things must you normally specify in a variable declaration?
Variable name & data type
6. What Value is stored in uninitialized variables?
Depends on the language. Some store them as 0 while others hold an unpr
Unit 1 homework
1. Why is the CPU the most important component in a computer?
Without it the computer would be unable to run software.
2. What number does a bit that is turned on represent?
What number does a bit that is turned off represent?
Unit 1 research assignment
Popular programing languages by decade created.
Ada- Created in the 1970s for applications used by the US Department of Defense. Was
named after Countess Ada Lovelace who was an influential and historical figure in