Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

true or false and short answers 1. True or False (Please circle either True or False for your choice) I pt each 1. A data

image text in transcribed

image text in transcribed

true or false and short answers

1. True or False (Please circle either True or False for your choice) I pt each 1. A data type is only characterized by a set of values and a set of operations TRUE FALSE 2. An ADT is another name for a data structure TRUE FALSE 3. A data structure is an implementation of an ADT. TRUE FALSE 4. The properties of an ADT are its operations on each instance and the behanvios of an ADT are its data representing the intenal state of esch object. TRUE FALSE 5. Encapsulation means that objects separate dats fromt operations TRUE FALSE 6. When we do not know how a method is implemented, we are uasing a form of infomtion TRUE FALSE hiding called data abstraction. 7. An spplication can use the operations of an ADT without knowing how the ADT is implemented. TRUE FALSE 8. Abstraction is a process thar asks you to focus on the how instead of the what TRUB FALSE 9. Data abstraction meuns there is no data representation in the ADT TRUE FALSE 10. In a linked ist, the order of the clements is determinesd by tho order in which the nodes we created to siore the elements TRUE FALSE 11. In a linked list, memory allocated for the nodes is sequential. TRUE FALSE 12. A singly linked list can be traversed in either direction TRUE FALSE 13. In a linked list, the nodes are always inserted either in the beginning or at the end because linked list is not a raridom access data structure. TRUE FALSE 14. The reference variable pointing to the first node of a linked list should be used to traverse the list. Il. Short Answers. 12 pts. each 1.List is considered an abstract data type. How is an abstract data type diferent from a data TRUE FALSE structure? 2 Deseribe the difference between how Java's Array List and Liakedl.ist implement List 3. What is the advantage of using a circuler linked liar? 4. Which of the nodes in a singly linked list require special handling? s. Extending what interface makes it possible to use the for-cach loop to process a collection 6 Is Java's LinkedList class implemented using singly-linked lists or doubly-linked tists? ell why you think your answer is correct 7. What types of things can AmyList nor hold? How do we doal with this issue

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

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions

Question

2. Identify conflict triggers in yourself and others

Answered: 1 week ago