Circle Console App

[code language=”csharp”] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Circle { class Program { static void Main(string[] args) { Double Radius = 0; // Radius of a Circle Double Diameter = 0; // Calculated Diameter Double Circumference = 0; // Calculated Circumference string Continue = "yes"; // Continue? while (Continue != […]

Hubs and Switches – Study Outline

Chapter 2 22 – Comparing Unicast, Broadcast, and Multicast 23 – Unicast traffic: Transmitted from one computer to one other computer. 23 – Packets, Frames, PDU’s – Notes from class 24 – Broadcast traffic – Transmitted from one computer to every computer. 25 – Multicast traffic – Transmitted from one computer to many other computers. […]

In Class Exercise: Pseudo – Flowchart

1) Draw a Flow Chart Using the following PseudoCode – draw a flow chart that illustrates the code: start open the dictionary while word not on page if word > last word on page turn the page forward else turn the page backward endif endwhile stop 2) Identify what is wrong with the following flowchart […]

Good Programming Design Notes

Naming Variables and Constants Give variables meaningful names Follow naming conventions Variables must be one word – no spaces Variables must start with a letter Use a different convention for constants – for example all capital letters. More on Modularization Main program can also be referred to as mainline logic Generally consists of: Housekeeping Tasks […]