Case-Based Critical Thinking Questions ​ Case 9-2 Robin main…

Case-Based Critical Thinking Questions ​ Case 9-2 Robin maintains a web page for the city’s metro transportation service. He would like the website to display the present day’s metro schedule. To do this, Robin writes code that includes an object to retrieve the day of the week and then loads the appropriate data into the page. ​ Identify an expression that Robin must use to define the current date on the web page.

Case-Based Critical Thinking Questions ​​ Case 9-2 Gregor, a…

Case-Based Critical Thinking Questions ​​ Case 9-2 Gregor, a software developer, is developing a calendar application. He has to use several if conditional statements to ensure that the calendar displays the exact number of days present in each month of each year. He creates a dayCount array to keep track of the number of days in each month. Gregor wants to ensure February contains 29 days only in the year 2020 as it is a leap year. Which of the following should Gregor use to set the value in the dayCount array?