Answer:
- Iterate over the Bellman-Ford algorithm n-1 time while tracking the parent vertex and store in an array.
- Do another iteration and if no relaxation of the edges occurs in the nth iteration then print of return "There are no negative cycle".
- Else, store the vertex of the relaxed edge at the nth iteration with a variable name.
- Then iterate over the vertexes starting from the store vertex until a cycle is found then print it out as the cycle of negative weight.
Explanation:
The Bellman-Ford algorithm can be used to detect a negative cycle in a graph. The program should iterate over the algorithm, in search of a relaxed edge. If any, the vertex of the specified edge is used as a starting point to get the target negative cycle.
Answer:
mdsched is used to check the memory of Windows.
Explanation:
The Windows Memory Diagnostic Tool is used to check the defect in the Memory RAM which is by default installed in the latest version.
mdsched is used to check the defected RAM which we need to repair otherwise our windows will be crashed, freeze and will start facing the BSOD (Blue Screen Of Death).
For using this tool, we need to search mdsched and select Restart now and check for problems and after restarting the system the tool will automatically start detecting the memory and fix the problem.
Answer:
Hi Rhemalake812! The question is asking for Entity Relationship Diagrams and Normalization for 2 systems, one for a College subject enrollment system and the other for a Movies scheduling system. Please find the diagrams attached and the explanation below.
Explanation:
An ERD shows the relationship between the Entities in the system. The first step is to identify the entities within the problem statement. For the college system, the Entities are College, Students, Subjects, Tests, and Coursework. When we draw the ERD based on the problem statement using these entities, we may come across relationships where data may be duplicated in the database tables (if there are many-to-many relationships). Therefore we normalize the data to remove the many-to-many relationships and have a design of one-to-many relationships or one-to-one relationships between the entities. It also helps to write out the relationships between entities in plain English, for example: "A college has many students enrolled in many subjects. Each subject has coursework that has many coursework items, and coursework items can have many tests."
The Entities in the Movie Megaplex system are Movie Megaplex, Location, Theatre, Schedule, Attendee, and Movies. For the Movies scheduling system, we can write in plain English like: "A movie megaplex can exist in many location, and a location has many theatres. A theatre has a schedule for showing many movies, and a movie can be shown in many theatres at a scheduled time to many attendees". Refer to the attachment ERDs to understand the relations with these statements as reference.
You can find any information or goofy videos that you want.