UML Diagrams
Inheritance
ArrayLists
CS 210 Review
Universities
100

What does UML stand for?

What is Unified Modeling Language?

100

Jave does not allow multiple inheritance but does allow this.

What is implement multiple interfaces?

100

True or False: ArrayList can automatically grow dynamically in size. 

True

100

This loop will execute the code block once, before checking if the condition is true.

Do / While Loop

100

Where was the original location of the UW?

What is 4th Avenue and University Street, Downtown Seattle?

200

Dashed line, white array.

Indicates an interface.

200

The parent class that is being extended.

What is the superclass?

200

True or False:  Arraylists allow null and duplicate values. 

What is true?

200

for (int i = 1; i > 0; i++)

infinite loop

200

The Fall 2024 for-credit Bellevue College enrollment is:
a) Under 10,000
b) 10,001 - 20,000
c) Over 20,000

b) 12,316

300

A white diamond.

Symbolizes aggregation: "is part of" 


300

To write a new version of a method in a subclass that replaces the superclass's version

What is override?

300
Arraylists preserve what of the elements?

What is the order of elements?

300

What IDE stands for.

Integrated Development Environment

300

What is the oldest university in California and alma mater of Gov Newson?

What is Santa Clara University? (1851)

400

True or false:  UML diagrams may be produced before and / or after coding.

True

400

Subclasses can call overridden methods with this keyword.

What is super?

400

The ArrayList class implements which interface?

The List interface.

400

When an object of a class is created, the class is said to be this ...

What is instantiated?

400

Tarik Skubal, 2024 MLB All-Star and Cy Young Award winner played baseball for which university?

What is Seattle University?

500

What symbol indicates a field is protected access level?

What is # ?

500

Keyword that asks if a variable refers to an object of a given type.

What is instanceof?

500

ArrayLists are part of which package in Java?

What is the java.util package?

500

These series of characters are actually objects of a class.

What are strings?

500

What year was UW - Bothell founded?

1989

600

Methods which are underlined are what?

What are static methods?

600

Ability for the same code to be used with different types of objects and behave differently with each.

What is polymorphism?

600

ArrayList elements can be accessed using ... 

What are indices?

600

This expression can be used in place of a series of "if" statements.

What is a switch statement?

600

What year was the University of Washington founded?

1861

700

Verbs

What are potential methods or responsibilities of a class?

700

A programming paradigm that organizes code around objects—self-contained units of data with associated behaviors (methods)—rather than functions and logic.

What is Object Oriented Programming?

700

This method is used to return a shallow copy of an ArrayList in Java.

What is clone() ?

700

Trying to access an index that is negative or greater than or equal to the size of the array will generate which exception?

What is ArrayIndexOutOfBoundsException?

700

The Bellevue College main campus consists of how many acres of land?

100 acres

800

Dotted line between classes.

Illustrates a temporary dependency between classes.

800

Once we write a constructor (that requires parameters) in the superclass, we must ...

What is write constructors in the subclass?

800

Retains only the elements in this list that are contained in the specified collection.

What is retainAll(Collection<?> c) ?

800

These types of classes cannot be instantiated.

What is an abstract class?

800

Bellevue Bulldogs were previously known by this mascot team name.

The Helmsmen


900

A black diamond.

Indicates composition relationship. (Is entirely made of)

900

A way to form new classes based on existing classes, taking on their attributes/behavior.

What is inheritance?

900

Time complexity of inserting an element in ArrayList.

What is O(1)  (constant time complexity)

900

What is the name of the parameter which is an array of strings to hold command line arguments?

What is args?
900

Seattle U Redhawks were previously known by this mascot team name.

The Chieftain

1000

Solid line, what arrow.

Symbolizes an abstract class.

1000

Refers to the current object within a non-static context.

What is the this keyword?

1000

Time complexity of removing an element from ArrayList.

What is O(N) - linear time complexity, which means an algorithm's execution time grows in direct proportion to the size of the input data. The n represents the number of input elements. 

1000

Instantiates a class by allocating memory for a new object.

What is the new operator?

1000

This university played against Kentucky in the 1958 men's basketball national championship game.

Seattle University

M
e
n
u