Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you write me a python code GuessingBirthday base on binary number on the screenshoot below. I also attached how the computation should be done

Can you write me a python code "GuessingBirthday" base on binary number on the screenshoot below. I also attached how the computation should be done below.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Instructions - This activity involves a paper packet containing an assortment numbers from I to 31 on each page - The "magician" shows each of five pages, asks whether the secret birthday appears on that page, and receives "yes" or "no" response. - After the fifth card, the magician has gained enough information to announce the mystery date. vays of month in binary 1000012000103000114001005001016001107001118010009010011001010110101112011001301101140111015011111610000171000118100101910011201010021101012210110231011124110002511001261101027110112811100291110130111103111111 Sets according to the numbers with the same binary value for their column Sets according to the numbers with the same binary value for their column Sets according to the numbers with the same binary value for their column Set 3 1-00001 1710001 2511001 Psuedo code Ask the user whether his/her secret birthday appears on set 1 , and receives "yes" or "no" response Read the input. Ask the user whether his/her secret birthday appears on set 2, and receives "yes" or "no" response Read the input. Ask the user whether his/her secret birthday appears on set 3 , and receives "yes" or "no" response Read the input. Ask the user whether his/her secret birthday appears on set 4 , and receives "yes" or "no" response Read the input. Ask the user whether his/her secret birthday appears on set 5 , and receives "yes" or "no" response Read the input. Calculate the Birthday. Display the Birthday

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions