Search Header Logo

AP CSA |U2 L3 Attributes by Mr. B

Authored by Cyber Professor - Mr. B

Computers

12th Grade

Used 2+ times

AP CSA |U2 L3 Attributes by Mr. B
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 3 pts

Which of these relational operators are part of the JOIN operator? Select all that apply.

SELECT

PROJECT

PRODUCT

UNION

2.

MULTIPLE SELECT QUESTION

2 mins • 3 pts

Which of these are part of the rule of entity integrity? Select all that apply.

Primary keys must have unique tuples.

Primary keys cannot have null values.

Primary keys can only have one attribute.

Prime attributes must be the first attributes in a table.

3.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

What is Instance Variables

Variables defined in a class, but not in constructors

Variables of a class that are shared between it’s instances

The blueprint/definer of objects and contain functions, called methods available only to objects of that type

Encapsulates instance attributes

4.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Address is a good name for an Entity

True

False

5.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Instances must always be mandatory

True

False

6.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Consider a table 'students' with three attributes: 'student_id', 'last_name', and 'first_name'. Assume some students have the same last name, and some students have the same first name. How many candidate keys are there?

two

three

four

five

7.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

What is a subclass

Tests out code and can run with errors

Where the class gains attributes and methods of another

Argument defined as variables under a function

A type a class that is specified under a normal class, inheriting the features of the normal class

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers