Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q1. Consider the following circuit. Find the final outputs for the four cases when the three inputs are 101,000, 111 and 010. Show all the
Q1. Consider the following circuit. Find the final outputs for the four cases when the three inputs are 101,000, 111 and 010. Show all the intermediate results, that is draw four copies of this circuit and show your results on each of the four copies separately. 02. Convert the following numbers from their current base to the target base specified for each of them. 1. (703261) from base 8 to base 10 2. (703261) from base 10 to base 8 3. (10110011101010) from base 5 to base 10 4. (10110011101010) from base 2 to base 10 5. (10101101) from base 10 to base 2 6. (10101101) from base 2 to base 10 03. Given 90 students in a class, write an algorithm to input five marks of each student: assignments, quizzes, mid-exam, final and project, finds the average of the five marks assuming all have the same weight. Then classify the student as A, B, C, D, or F based on whether average is over 90, between 80 and 89, between 70 and 79, between 60 and 69 or below 59, respectively. Draw the flowchart of the algorithm. Q4. Given the following table of data which shows sites visited by each tourist. Apply apriori algorithm to find the most frequently visited sites. A non-empty set of sites is considered as most visited if visited by at least 4 tourists. 51,52,54,56,510 T2 S2,S3,S4,S6,57,58 S1,S3,S4,S5,510 S1,S2,S,S5,59 T5 $1,56,57,59,510 T6 S2,S5,S7,38,39,510 T7 $1,55,58,59,510 T1 T3 T4 Q1. Consider the following circuit. Find the final outputs for the four cases when the three inputs are 101,000, 111 and 010. Show all the intermediate results, that is draw four copies of this circuit and show your results on each of the four copies separately. 02. Convert the following numbers from their current base to the target base specified for each of them. 1. (703261) from base 8 to base 10 2. (703261) from base 10 to base 8 3. (10110011101010) from base 5 to base 10 4. (10110011101010) from base 2 to base 10 5. (10101101) from base 10 to base 2 6. (10101101) from base 2 to base 10 03. Given 90 students in a class, write an algorithm to input five marks of each student: assignments, quizzes, mid-exam, final and project, finds the average of the five marks assuming all have the same weight. Then classify the student as A, B, C, D, or F based on whether average is over 90, between 80 and 89, between 70 and 79, between 60 and 69 or below 59, respectively. Draw the flowchart of the algorithm. Q4. Given the following table of data which shows sites visited by each tourist. Apply apriori algorithm to find the most frequently visited sites. A non-empty set of sites is considered as most visited if visited by at least 4 tourists. 51,52,54,56,510 T2 S2,S3,S4,S6,57,58 S1,S3,S4,S5,510 S1,S2,S,S5,59 T5 $1,56,57,59,510 T6 S2,S5,S7,38,39,510 T7 $1,55,58,59,510 T1 T3 T4
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started