GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

A method in a subclass is said to ________ an inherited meth…

A method in a subclass is said to ________ an inherited method if it has the same method declarations as the inherited method.

Read Details

Given this Binary Search Tree:     Which node(s) can replac…

Given this Binary Search Tree:     Which node(s) can replace the root (75) if it is removed from the tree?

Read Details

What value is retrieved from the queue by the last peek() op…

What value is retrieved from the queue by the last peek() operation in the following list of Queue operations? (2 points) enqueue(“Edward”) enqueue(“Ben”) enqueue(“Mike”) enqueue(“Janet”) enqueue(“Alan”) peek() dequeue() peek() dequeue() peek() dequeue() dequeue() peek() Write your answer in the text box below.

Read Details

A superclass method can be accessed by a subclass, even thou…

A superclass method can be accessed by a subclass, even though it has been overridden, by using the ________ reference.

Read Details

What are the two basic kinds of relationships among Java cla…

What are the two basic kinds of relationships among Java classes?  Write your answer in the text box below. (2 points)

Read Details

Use of a _____ number in the mod (%) expression of a hash me…

Use of a _____ number in the mod (%) expression of a hash method ensure that data are distributed evenly throughout the hash table.

Read Details

With a hash method like: public int hash1(int key) {     ret…

With a hash method like: public int hash1(int key) {     return key % 13;}   Which is invoked in the statement: slot = hash1(789);   What is the value of the slot variable after hash1 is invoked with the argument 789?  

Read Details

Given the Binary Search Tree of names in Figure 11.5 in the…

Given the Binary Search Tree of names in Figure 11.5 in the textbook:     Write the preorder, inorder and postorder traversals of this tree in the text box below.  Remember, “visiting” a node means displaying the “name” data field within that node.  Be sure to clearly label the lists of names with “preorder”, “inorder” and “postorder” (6 points).

Read Details

The base case for a recursive definition of the factorial of…

The base case for a recursive definition of the factorial of n is ______.

Read Details

A program that uses an ADT is called a(n) ______.

A program that uses an ADT is called a(n) ______.

Read Details

Posts pagination

Newer posts 1 … 36,132 36,133 36,134 36,135 36,136 … 82,079 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top