AP CSA |U2 L3 Attributes by Mr. B

AP CSA |U2 L3 Attributes by Mr. B

12th Grade

30 Qs

quiz-placeholder

Similar activities

AP Java Exam

AP Java Exam

8th Grade - University

35 Qs

Object Oriented Programming

Object Oriented Programming

9th - 12th Grade

27 Qs

AQA OOP Programming

AQA OOP Programming

10th - 12th Grade

25 Qs

Programming 2 quiz 1

Programming 2 quiz 1

10th - 12th Grade

25 Qs

CS-الفصل الثاني

CS-الفصل الثاني

12th Grade

33 Qs

ICT 10 - JAVA

ICT 10 - JAVA

9th - 12th Grade

30 Qs

Java Bell Ringer Terms Quiz 2

Java Bell Ringer Terms Quiz 2

10th - 12th Grade

30 Qs

Sem 1 Final Review Computer Programming

Sem 1 Final Review Computer Programming

9th - 12th Grade

35 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?

Discover more resources for Computers