Answer:
If a museum charges different prices based on the day of the week and age of the visitor. The pricing rules are shown below.
- On Tuesday and Thursday children 10 and under get in free ($ 0).
- For all other days and ages the cost is ten dollars ($ 10).
The code in python is;
if (day == 'Tuesday' or day == 'Thursday') and age <= 10:
price = 0
else:
price = 10
Explanation:
The logic of the algorithm suggests that that the conditional if-statement assigns zero to the price variable if the day variable is either Tuesday or Thursday and the child's age is 10 or below but assigns 10 to the price variable if the condition is not met.
Answer:
the one on the bottom left
Explanation:
10+20=30
The other 20 does not matter. electricity takes one path, always the path with less resistance but here there both the same.
Answer: B) Web robot
Explanation:
Web robot or spider is the search engine program which automatically visit the new web site and update the information. Basically, it is the internet bot that helps in store the information from the search engine to the index.
Spider searches the web site and read the information in their given page for creating the entries from search engine.
Web robot is also known as web crawler, this type of programs are use by different search engine that automatically download and update the web content on web sites.
Answer:
Depends on how many PowerPoint files you want to store and how long they are. I'd recommend at least a 256GB hard drive to store your OS and software and then leave space for PowerPoints.