[Computer Science, CS2203 - Databases 1]
“A student can attend six courses, each with a different instructor. Each instructor teaches at least 3 courses.” What is the type of relationship between students and instructors?
Select one:
a. one-to-one
b. one-to-many
c. many-to-many
d. None of the above
Correct Answer: c. many-to-many
Explanation:
There is a one-to-many relationship from a student to the instructor because a student can attend six courses and the different courses can be taught by the different instructors. So, a student can be taught by more than one instructor.
There is a one-to-many relationship from an instructor to a student because an instructor is teaching at least 3 courses. So, an instructor can teach more than one student
There is a one-to-many relationship from both sides. So, the type of relationship between students and instructors is many-to-many.
[Computer Science, CS2203 - Databases 1] “A student can attend six courses, each with a different...
A student can attend five classes, each with a different professor. Each professor has 30 students. The relationship of students to professors is a ________ relationship. Group of answer choices B) many-to-many D) strong A) one-to-one C) one-to-many
Query 1 (2 pts)Find all courses taught by Mozart. For each such course, output the title, semester, and year.Query 2 (2 pts)Find the names of all students who took both “Intro. to Computer Science” and “Game Design”.Query 3 (2 pts)Find the names of all instructors in the computer science department who never taught “Intro. to Computer Science”.Query 4 (2 pts)For each student, find the number of courses taken by this student. Output a table consisting of two columns: name of...
[Computer Science - CS2203 - Databases 1] Which of the following is true about a relation? Select one: a. A relation is a one-dimensional table b. All the values in any column must be of the same type. c. There is a single attribute in each relation d. The order of the tuples of a relation is determined by the primary key
[Computer Science - CS2203 - Databases 1] Which of the following is not a goal of normalization? Select one: a. Minimizing data redundancy b. Simplifying the enforcement of referential integrity c. Maximizing data storage space d. Maintaining data effectively
1. If a student can select one of 3 language courses, 3 of 5 mathematics courses, and 2 of 4 history courses, how many different schedules can be made?
A student has six different math books, four different history books, and seven different science books. In how many different ways can they be arranged on a shelf if books in the same category are kept next to one another? Show the calculations that lead to your answer.
At a college, the college offers courses and students register for courses. A student can register for one or more courses. In a course there can be one or more students. Assume you are doing this for the current semester and are not worried about past or future semesters 1. a. Identify the entities for this college. b. Identify the relationships between entities and the cardinalities of the relationship. c. Draw an ER diagram for the college. Think of some...
�Martial Arts R Us� (MARU) needs a database. MARU is a martial arts school with hundreds of students. It is necessary to keep track of all the different classes that are being offered, who is assigned to teach each class, and which students attend each class. Also, it is important to track the progress of each student as they advance. Create a complete Crow�s Foot ERD for these requirements: Students are given a student number when they join the school....
Application Exercise: A university instructor uses different teaching methods on three separate computer science classes. The instructor wants to evaluate the effectiveness of the methods by comparing the grades between the classes. The grades have been transformed and are in the table below. What can the instructor conclude with an a of 0.01? Method A Method B Method с 21 19 21 25 25 20 24 19 17 20 23 20 17 20 34 22 29 26 a) What is...
(1) There are 272 computer science students at a school. of these, 80 have taken a course in Java, 80 have taken a course in Linux, and 80 have taken a course in C. Further, 50 have taken courses in both Java and Linux, 50 have taken courses in both Linux and C, and 30 have taken courses in both Java and C. If 172 of these students have taken at least one course (Linux, Java, or C), how many...