Search Header Logo
recap databases and OOP v1

recap databases and OOP v1

Assessment

Presentation

Computers

12th Grade

Easy

Created by

Michael Sheil

Used 2+ times

FREE Resource

1 Slide • 16 Questions

1

Databases and OOP

2

Multiple Choice

Databases are split into separate...

1

Tables

2

Worksheets

3

Modules

3

Multiple Choice

In an ERD, each table translates into...

1

An Entity

2

A Relationship

3

A Database

4

An Attribute

4

Multiple Choice

If a unique value in one table can be linked to multiple values in another table, this is known as a _______ relationship.

1

'one-to-many'

2

'one-to-one'

3

divergent

4

convergent

5

Multiple Choice

What is a database?

1

An organised collection of data

2

A store of data consisting of one table

3

A store of related data stored in more than one table

4

Data stored on a computer

6

Multiple Choice

Normalisation eliminates data redundancy

1

True

2

False

7

Multiple Choice

Question image

Which of the following is the primary key in this database table?

1

BeachID

2

Beach Type

3

Lifeguard

8

Multiple Choice

A simple database consisting of only one entity

1

Relational Database

2

ERD

3

Flat-file database

4

Table

9

Multiple Choice

What is a foreign key?

1

The primary key in one table used to link to another table

2

Two fields combined together to make one key

3

A unique identifier

10

Multiple Choice

What is the template of an object called?

1

Stencil

2

Class

3

Object template

4

Blueprint

11

Multiple Choice

Constructors are used to:

1

Build a GUI

2

Free memory

3

Initialize a newly created object

4

Create a subclass

12

Multiple Choice

What is the difference between a class and an object?

1

A class is a blueprint to make an object

2

An object is a blueprint to make a class

3

A blueprint is an object to make a class

4

Blueprint class is an object make a

13

Multiple Choice

An object is an instance of a ...

1

parameter

2

method

3

class

4

application

14

Multiple Choice

The name given to a procedure or function residing within a class.

1

method

2

attribute

3

modifier

4

parameter

15

Multiple Choice

Constructors are called just once when ______.

1

an object is being created

2

a class is being terminated

3

class is being closed

4

an object is being destroyed

16

Multiple Choice

What is an object?

1

Everything

2

An instance of a class

3

A detail of a class

4

A class of details

17

Multiple Choice

What is the meaning of the word instantiation?

1

To create an object

2

To delete an object

3

To define what an object looks like

4

To inherit the characteristics of another class

Databases and OOP

Show answer

Auto Play

Slide 1 / 17

SLIDE