Question:
1. You are building a LAN in a company that develops insurance management software.
What hardware requirements should be taken into consideration? (TB143, IT1220)
Answer:
Cables (Ethernet, Coax, Fiber), Servers, NIC(s), Workstations, Switches and Routers.
2. Describe how memory manager divides up and allocates memory? (TB143, IT103)
3. Identify all of the types of inputs commonly available on a modern computer. (TB143)
Topic 2: Programming
Question:
1. Explain the difference between passing a piece of data “by value” and passing a piece of data “by reference.”
When a piece of data is passed “by value” the piece of data remains the same. If the value is the number “5” it will always pass the value of 5. However if the piece of data is passed “by reference” the value stored in the variable passed by reference can change depending on what the program is trying to do. This is useful for programmers if they are creating a program to multiply a user input number by a specific number. Say the user inputs the number “10” that is passed by reference and we want to multiply this number by “5” that was passed by value the program will be able to make the calculation and return an answer to the multiplication that took place, in this case the answer would be “50”.
Answer:
2. Explain the “Scope” of a data statement
What are the implications of misidentifying a local and a global variable? (IT104)
3. What are the three key control structures in programming and what are they used for?
If, Then, and Else are three control structures used in Linux Programming. Control structures are used to control or alter the order of execution of commands within a shell script. The If, Then, and Else control structures are used to test a condition within a program. If what is being tested is false the program will follow one path, if true it will follow a different path.