AP CSA |U2 L3 Attributes by Mr. B

AP CSA |U2 L3 Attributes by Mr. B

12th Grade

30 Qs

quiz-placeholder

Similar activities

2ND QTR-QUIZ 6-Java Reference Types-12-9-2022

2ND QTR-QUIZ 6-Java Reference Types-12-9-2022

12th Grade

30 Qs

tl

tl

9th - 12th Grade

35 Qs

AP CS A Semester 1 Review

AP CS A Semester 1 Review

10th - 12th Grade

33 Qs

Python Quiz

Python Quiz

12th Grade

30 Qs

IP Addresses - Teacher Training

IP Addresses - Teacher Training

12th Grade

32 Qs

CS 1 Cycle 3 exam

CS 1 Cycle 3 exam

9th Grade - University

30 Qs

untitled

untitled

12th Grade - University

25 Qs

Networking Fundamental CBSE Class 12

Networking Fundamental CBSE Class 12

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?