Question

In: Computer Science

Jerry plans on registering for five classes this semester: English Composition, Physics, Physics Lab, Java, and...

Jerry plans on registering for five classes this semester: English Composition, Physics, Physics Lab, Java, and Music Appreciation. However, he is not sure if these classes are being offered this semester or if there will be timing conflicts. Also, two of the classes, Physics and Physics Lab, must be taken together during the same semester. Therefore, if he can register for only one of them, he will not take either class. If, for any reason, he cannot register for a class, he will identify and register for a different class to take its place and that fits his time schedule. Use a decision table that shows all rules to represent this logic.

Solutions

Expert Solution

Hello, Please find the below both collapsed decision table and Decision tree.

Kindly let me know if further step by step analysis is required.

Here r1,r2,r3 represents different rules.

Collapsed Decision Table r1 r2 r3 r4 r5 r6 r7
All 5 planned classes are offered this semester? t t t f t f t
Timings of all planned classes are not conflicted? t t f - f - t
Physics and Physics lab are together in this semester? t f - - - - f
Does other classes fit in timetable? - t t t f f f
Actions
Jerry attend all planned given 5 subjects? T F F F F F F
Jerry attend 5 subjects containing other than planned? F T T T F F F
Decision Table r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16
All 5 planned classes are offered this semester? t f t f t f t f t f t f t f t f
Timings of all planned classes are not conflicted? t t f f t t f f t t f f t t f f
Physics and Physics lab are together in this semester? t t t t f f f f t t t t f f f f
Does other classes fit in timetable? t t t t t t t t f f f f f f f f
Actions
Jerry attend all planned given 5 subjects? T F F F F F F F T F F F F F F F
Jerry attend 5 subjects containing other than planned? F T T T T T T T F F F F F F F F

Related Solutions

It is estimated that 30% of university students are taking five or more classes this semester...
It is estimated that 30% of university students are taking five or more classes this semester (let us call them full-load students). Among the full-load students, 20% are working part-time. On the other hand, among the non-full-load students, 60% are working part-time. a) When a university student is randomly selected, what is the probability that one is a full-load student and working part-time? [2] Define event A as: university students taking five or more classes (or being full-load students). Define...
1. Suppose that you only have 2 classes this semester: intermediate microeconomics and nuclear physics. Your...
1. Suppose that you only have 2 classes this semester: intermediate microeconomics and nuclear physics. Your grade in each class is positively related to the number of hours you spend studying for that class each week. Your grade in the economics class is given by GE = 2 + 0.2E - 0.005E2 where GE is your grade on a 4-point scale and E is the number of hours you study for the economics class. Your grade in the physics class...
In Java In this lab we will creating two linked list classes: one that is a...
In Java In this lab we will creating two linked list classes: one that is a singly linked list, and another that is a doubly linked list ( This will be good practice for your next homework assignment where you will build your own string class using arrays and linked list ) . These LinkedList classes should both be generic classes. and should contain the following methods: Print Add - Adds element to the end of the linked list. IsEmpty...
Lab 3 Java Classes and Memory Management Multi-file Project In this lab you will gain experience...
Lab 3 Java Classes and Memory Management Multi-file Project In this lab you will gain experience using classes and arrays of classes. Use the following as the beginning of a student abstract data type. public class Student { private String fName ; private String lName ; private double[] grades; } This class should be in the package com.csc241. Write a program that prompts a user for a total number of students and dynamically allocates memory for just that number of...
in java Write a Java Program that displays a menu with five different options: 1. Lab...
in java Write a Java Program that displays a menu with five different options: 1. Lab Test Average Calculator 2. Dice Roll 3. Circle Area Calculator 4. Compute Distance 5. Quit The program will display a menu with each of the options above, and then ask the user to enter their choice. There is also a fifth option to quit, in which case, the program will simply display a goodbye message. Based on the user’s choice, one of the options...
0. Introduction. In this lab assignment, you will extend some simple Java classes that represent plane...
0. Introduction. In this lab assignment, you will extend some simple Java classes that represent plane figures from elementary geometry. The object of this assignment is not to do anything useful, but rather to demonstrate how methods can be inherited by extending classes. 1. Theory. A polygon is a closed plane figure with three or more sides, all of which are line segments. The perimeter of a polygon is the sum of the lengths of its sides. A rectangle is...
In this assignment, students should create five Java classes called Point, Circle, Square, Rectangle, and TestAll,...
In this assignment, students should create five Java classes called Point, Circle, Square, Rectangle, and TestAll, as well as a Java interface called FigureGeometry. The TestAll class should implement the main method which tests all of the other files created in the assignment. After the assignment has been completed, all six files should be submitted for grading into the Dropbox for Assignment 3, which can be found in the Dropbox menu on the course website. Students should note that only...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT