Answer:
I'm not sure for some of them.
1. c.
2. a.
3. b.
4. e.
5. d.
Answer:
if speed1 > 70 or speed2 > 70:
print("fast cars")
else:
print("ok")
Explanation:
This is some very simple logic that will satisfy the requirements, we need to compare each speed against our speed limit (70) and if either (or) have exceeded it (>) then we need to output (print) "fast cars", otherwise we output "ok".
The available options are:
A. localhost/Carla/hello.php
B. localhost/htdocs/hello.php
C. localhost/htdocs/Carla/hello.php
D. carla/hello.php5
Answer:
C. localhost/htdocs/Carla/hello.php
Explanation:
A path in computer programming can be defined as the name of a file or directory, which specifies a unique location in a file system.
Therefore, to get the correct path to enter to view this page in a browser, one needs to follow the directory tree hierarchy, which is expressed in a string of characters in which path components, separated by a delimiting character, represent each directory.
Hence, correct path to enter to view this page in a browser is "localhost/htdocs/Carla/hello.php"
Answer:
14 points
Explanation:
Touchdowns are worth 7 points
Since Brayden and Gavin scored 7 touchdowns, they will have 7 * 7 = 49 points
Since Cole and Freddy scored 9 touchdowns, they will have 9 * 7 = 63 points
Cole and Freddy have 63 - 49 = 14 more points than Brayden and Gavin.