GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

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

Write the code segment that is used to insert a new Node, re…

Write the code segment that is used to insert a new Node, referenced by the reference variable newNode, at the beginning of a linear linked list which is not empty. (5 points)

Read Details

An ADT’s operations are also known as its _______.

An ADT’s operations are also known as its _______.

Read Details

What are the three high-level steps to delete a Node from a…

What are the three high-level steps to delete a Node from a linear linked list? (3 points) [Hint: Do not answer this question by writing Java code}

Read Details

Posts pagination

Newer posts 1 … 37,251 37,252 37,253 37,254 37,255 … 83,197 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top