Categories: Assignment Help

Criminal Law video Discussion and response use this link if video not displayed in your browser) then respond to the question below This week we learn tha

Criminal Law video Discussion and response use this link if video not displayed in your browser) then respond to the question below

This week we learn that not only our actions can be considered criminal, but we can also commit crime when we fail to act. This brings up our question for this week:

Don't use plagiarized sources. Get Your Custom Essay on
Criminal Law video Discussion and response use this link if video not displayed in your browser) then respond to the question below This week we learn tha
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT! Just from $10/Page
Order Essay

1. If someone witnesses a crime in progress, and fails to intervene and/or report that crime, should their failure to stop the crime, or even report the crime, be a crime in itself? Why or why not?
2. Should the man in this video be held criminally responsible for not taking any action? Why or why not?

Don’t forget to use material to support your response. COMPONENT TASKS
RESPONSIBILITY
Music class
Music Data-file creation
User Interface
I/O functions
BST1 and BST2
Stack
Hash-Table
Special function
MM
KR
KR
JM
MM
QP
KR
SUBTASKS FROM USER-INTERFACE
UI
Add new data
Delete data
Find and Display
List data in hash sequence
List data in key sequence 1 and 2
Print indented Tree
Write back to file
Undo delete
Efficiency
Special function
Quit
To be called from UI menu
STATUS
Done
Done
BST
FILE I/O
MM
MM
MM ( for find by Title )
Hash
QP
QP
QP ( for find by ID )
QP
Other
Use stack-push() from UI
MM
MM
JM
MM ( insert back to BSTs )
QP ( inserted back to hashT)
QP
JM
Use stack-pop() from UI
KR to implement
Write-back to file
STATUS
CIS 22C – Data Structures
Team Project Variations
Project Option #1: BST, Hash Table, and Self-Adjusting Linked Lists
1. Solve collisions using linked list resolution.
2. A self-adjusting list is like a regular list, except that all insertions are performed at the
front, and when an element is accessed by a search, it is moved to the front of the list,
without changing the relative order of the other items. The elements with highest access
probability are expected to be close to the front.
3. Save data to file in hash table sequence.
4. Efficiency:
a. Load Factor
b. Longest Linked List
c. Average number of nodes in linked lists
Project Option #2: BST, Hash Table – Quadratic Probe, and Stacks
1. The user can undo the delete in the reverse order of the delete sequence. When the user
selects “Save to file”, the undo stack is cleaned out (no undo possible unless more delete
occurs first). The head node will contain one more pointer: to the stack header, and one
more option needs to be added to the menu: “Undo delete”.
2. Collision resolution method: open addressing – quadratic probe.
3. Save data to file in hash table sequence.
4. Efficiency:
a. Load Factor
b. Number of Collisions
c. Longest Collision Path
Project Option #3: BST, Hash Table – Bucket Hashing, and Queues
1. One approach to handling collisions is to hash to buckets. A bucket is a structure that
accommodates multiple data occurrences (Bucket Hashing) In this case, the head node,
listHead, will contain one more field: bucket size (the number of records stored in a
“bucket”) and arySize represents the number of buckets. If you have to insert into a full
bucket, print a message (insert not possible at this time). Set bucket size to 3.
2. Save data to file using the breadth-first traversal of the BST (queue)
3. Efficiency:
a. Load Factor
b. Longest bucket
c. Number of Collisions
Project Option #4: BST, Hash Table, and Linked Lists
1.
2.
3.
4.
Solve collisions using linked list resolution.
The linked list data must be sorted.
Save data to file in hash table sequence.
Efficiency:
a. Load Factor
b. Longest Linked List
c. Average number of nodes in linked lists 8
Project Option #5: BST, Hash Table – Variation of Linear Probe, and
Stacks
1. The user can undo the delete in the reverse order of the delete sequence. When the user
selects “Save to file”, the undo stack is cleaned out (no undo possible unless more delete
occurs first). The head node will contain one more pointer: to the stack header, and one
more option needs to be added to the menu: “Undo delete”.
2. Collision resolution method: open addressing – variation of linear probe: when
inserting, add 1 subtract 2, add 3, subtract 4, until we locate an empty element.
3. Save data to file in hash table sequence.
4. Efficiency:
a. Load Factor
b. Number of Collisions
c. Longest Collision Path 9
Project Option #6: BST, Hash Table – Pseudorandom, and Stacks
1. The user can undo the delete in the reverse order of the delete sequence. When the user
selects “Save to file”, the undo stack is cleaned out (no undo possible unless more delete
occurs first). The head node will contain one more pointer: to the stack header, and one
more option needs to be added to the menu: “Undo delete”.
2. Collision resolution method: open addressing – pseudorandom.
3. Save data to file in hash table sequence.
4. Efficiency:
a. Load Factor
b. Number of Collisions
c. Longest Collision Path
Project Option #7: BST, Hash Table – Key Offset, and Stacks
1. The user can undo the delete in the reverse order of the delete sequence.
When the user selects “Save to file”, the undo stack is cleaned out (no undo
possible unless more delete occurs first). The head node will contain one
more pointer: to the stack header, and one more option needs to be added to
the menu: “Undo delete”.
2. Collision resolution method: open addressing – key offset.
3. Save data to file in hash table sequence.
4. Efficiency:
a. Load Factor
b. Number of Collisions
c. Longest Collision Path

Purchase answer to see full
attachment

superadmin

Share
Published by
superadmin

Recent Posts

Patterns of Knowing | Nursing Theory

Nursing Theory  Read Ch. 7  (Hood) Click the following link to view the Clayton State University…

2 days ago

communication MA | Solution Aider

part one For this assignment you are to to watch: Shattered Glass Write a two…

4 years ago

Standard Project – WebServers | Solution Aider

Standard Project - WebServers. Instruction attached. Need all requirements, you do not have to make…

4 years ago

Discussion post 2 | Solution Aider

Read classmates post and respond with 100 words:The International Categorization of Diseases, Tenth Revision, Clinical…

4 years ago

case sttudy | Solution Aider

Most Americans have at least 1 issue that is most important to them. Economic issues…

4 years ago

Methodologies Report | Solution Aider

For this assignment, you are the court intake processor at a federal court where you…

4 years ago