Explore Westonci.ca, the premier Q&A site that helps you find precise answers to your questions, no matter the topic. Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

A student wants to count the number of shows that meet both of the following criteria.
Is a talk show Is on Saturday or Sunday
For a given row in the spreadsheet, suppose genre contains the genre as a string and day contains the day as a string. Which of the following expressions will evaluate to true if the show should be counted and evaluates to false otherwise?
i. (genre = "talk") AND ((day = "Saturday") AND (day = "Sunday"))
ii. (genre = "talk") AND ((day = "Saturday") OR (day = "Sunday"))
iii. (genre = "talk") OR ((day = "Saturday") AND (day = "Sunday"))
iv. (genre = "talk") OR ((day = "Saturday") OR (day = "Sunday"))


Sagot :

Answer:

ii. (genre = "talk") AND ((day = "Saturday") OR (day = "Sunday"))

Explanation:

it feels like the right answer to choose, i may not be an expert but this is what i feel like the answer is.