# ECET370 Week 1 Quiz – Guaranteed 100% Score

Lab Price = \$10
Payment Methods

Problem Statement

ECET370 Week 1 Quiz
1. Question : (TCO 1) An ADT is _____.

a collection of data

an implementation based on arrays

a class

a mathematical abstraction

2. Question : (TCO 1) Which of these operations are present in most of the ADTs?

Push, pop, top

Inorder traversal, postorder traversal

Insert, remove, search

Insert in the back, delete from the front

3. Question : (TCO 1) _____ is an operation of lists.

Compare two items

Postorder traversal

Hash

4. Question : (TCO 1) In order to insert an item somewhere in the middle of a list that is implemented using arrays, _____.

we must use the new operator

we must first delete the item stored in the location where the new item will be inserted
we must first make room in the array for the new item

None of the above

5. Question : (TCO 1) The function add(int location, int item) of the array-based implementation of lists _____.

determines the number of items in the list

adds the item at the end of the list

replaces the item in the list at the position specified by location

adds the item to the list at the position specified by location

6. Question : (TCO 1) _____ is not a typical operation of the bag ADT.

Add an item to the bag

Compare two bags

Remove all occurrences of an item from the bag

Determine if the bag is empty

7. Question : (TCO 1) The function add(int location, int item) _____.

is not a valid operation of bags

adds the item at the end of the bag

replaces the item in the bag at the position specified by location

adds the item to the bag at the position specified by location

8. Question : (TCO 1) Which list operation does the operation method below define?

public void operation(int item)
{
if (numberOfItems == SIZE) System.out.println(“ERROR”);
else
{
listArray[numberOfItems] = item;
numberOfItems++;
}
}

Clear

Remove

Display

Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details

Lab Price = \$10