Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the answers fast Question 1. (30 pts) Suppose you would like to design a pseudocode for teaching how to play X. What would

I need the answers fastimage text in transcribed

Question 1. (30 pts) Suppose you would like to design a pseudocode for teaching how to play X. What would be the primitives that you would need to describe a[n)X garne? In particular, describe the syntax and semantics of primitives that you would use for playing X X Football, if your student ID is even X Basketball, if your student ID is odd Question 2. (30 pts) For the following list of values: [O] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 5 7+c5 21 30+c3 40 46 51 60+04 101 104 108 3. How many comparisons does it take using binary search to find the following values or determine that the item is not in the list? (6, 31, 55, 108) b. What is the average. best-case and worst-case complexities of binary search algoritm in big theta notation? Give numerical examples for each case. Question 3. (40 pts) Expert Systems Construct a rule-based expert system for students, who are deciding whether to register for a coursc or not. The decision will be based on the following factors: . . whether the course is mandatory or elective, whether the student has failed the course before or not. how difficult the course is, umber of homework assignments in the course number of students who failed the course the year before. The system produces one of the following decisions: (register for the course, do not register, audit the course, take the course as pass/fail) Express the system as a decision tree with a minimum depth of 3. Show the decision path of your tree, when; 1. the course is mandatory, 2. the student has not failed the course before, 3. there are c1 HW assignments in the course, 4. and of students failed the course the year before

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

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions