AP CSA |U2 L3 Attributes by Mr. B

AP CSA |U2 L3 Attributes by Mr. B

12th Grade

30 Qs

quiz-placeholder

Similar activities

CIW  Site Development Associate Review 1

CIW Site Development Associate Review 1

10th - 12th Grade

25 Qs

OOP

OOP

12th Grade

26 Qs

JAVASCRIPT

JAVASCRIPT

12th Grade

25 Qs

AP Computer Science Unit 2

AP Computer Science Unit 2

11th - 12th Grade

26 Qs

Access Modifiers

Access Modifiers

10th - 12th Grade

25 Qs

HTML/CSS/FORMS EOPA/2 Practice 4 of 4

HTML/CSS/FORMS EOPA/2 Practice 4 of 4

11th - 12th Grade

30 Qs

Graded IB Computer Science Units 1 and 2 Overview

Graded IB Computer Science Units 1 and 2 Overview

11th - 12th Grade

33 Qs

XML - 5AI

XML - 5AI

12th Grade

25 Qs

AP CSA |U2 L3 Attributes by Mr. B

AP CSA |U2 L3 Attributes by Mr. B

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Cyber Professor - Mr. B

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?