Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Get quick and reliable answers to your questions from a dedicated community of professionals on our platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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.