IT 505 Milestone 1

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

505

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

8

Uploaded by emmemaria28

Report
Milestone One Emme Chadwick Southern New Hampshire University IT 505: Introduction to Core Technologies Dr. Robert Pratt 26 September 2023
1 Milestone One Generally, in programming languages, code is composed of five different types of components that determine how the code runs and what it is intended for. In spite of the fact that code may appear overly complicated and impossible to learn, there are a few foundational terms that can be learned to make navigating the programming world slightly easier. For example, understanding how a computer reacts to a different line of code or why operating systems need to be updated from time to time can further illustrate what IT personnel do on a day-to-day basis. These five core pillars of programming languages are seen throughout the many different languages that exist. Five Components First is “variables” which sound exactly how they behave. Mainly, they are values that can be changed, depending on what the code asks for and the conditions it requires of it. For example, in Group 1 screenshot, we can identify a variable as in the following line of code: var days = timeLeft/ msPerDay;
2 Essentially, the value that represents the variable would be the days in the countdown that can be changed when dividing the time left variable by the variable msPerDay. These values are highly dependent on one another as you can’t have your total countdown without knowing how many hours, seconds, etc are in one day. Additionally, you would be unable to calculate the time left if there was no date to look forward to in the future. Next, “control structures” are the specific order of things and are primarily based on “if/then/else” statements. For example, if a programmer were to write in a control structure, it would look like something similar to this; If (Condition), then: [Data A] Else: [Data B] [End if structure] Although, the current code for the operational systems upgrade does not have control structures implemented. Additionally, “data structures” holds the data for the code to retrieve it and organizes it depending on the programming language used. For example, Javascript (which has been used in the countdown code) utilizes basic data structures. This is particularly helpful if there is a large amount of data that needs to be indexed and organized in a proficient manner. In addition to this, “syntax” informs both the computer and the programmer what combination of words, punctuation, and symbols can be used in order to correctly run a line of code. As seen in screenshots Group 1 and Group 1.2 when the space between new and Date is taken away in this line of code:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
3 var today = new Date("September 26, 2023"); Group 1 Group 1.2 It prohibits the program from running effectively because proper syntax was not followed. The correct formatting needs to be precisely adhered to, otherwise the code will fail and it could end in overall frustration. Finally, “tools” is relatively self-explanatory in the sense that it represents the softwares and programs that are used to run a variety of programming languages. For example, the software W3Schools in particular was used to create the Javascript needed to illustrate the points in this report. With these different aspects of code in mind, one of the most integral parts of the Javascript written below are the lines in which the current date is entered and the date that the upgrade to the operational system is to be completed based on the assigned group. Changing these variables within the code itself allows an accurate time prediction and therefore, an accurate countdown to notify employees of their upcoming change.
4 Furthermore, it’s equally important to notice that when these two variables are changed, the other variables that are dependent on them (i.e var timeLeft = (UpgradeDay.getTime() - today.getTime());) change as well. This is largely due to the concepts discussed above such as syntax and variables. In summary, the countdown in regards to the operational systems update runs off of the programming language Javascript and accurately displays the information needed to be aware of the upcoming changes. Below are further examples of changes to the variables in Javascript to display the correct information for different groups and their expected upgrade date.
5 Original Group 1 Group 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
6 Group 3 Group 4 Group 5
7 References Jain, S. (2020, January 16). Control Structures in Programming Languages . GeeksforGeeks. Retrieved September 26, 2023, from https://www.geeksforgeeks.org/control-structures-in-programming-languages/ Jergenson, C., & van Rossum, G. (2022, August 15). What is syntax in a programming language? Educative.io. Retrieved September 26, 2023, from https://www.educative.io/blog/what-is-syntax-in-programming Veda. (2022, April 2). Top 10 Programming Languages for Data Structuring in 2022 . Analytics Insight. Retrieved September 26, 2023, from https://www.analyticsinsight.net/top-10-programming-languages-for-data-structuring-in- 2022/