Search Header Logo
App Dev Proj Week 2 Lesson 2

App Dev Proj Week 2 Lesson 2

Assessment

Presentation

Computers

12th Grade

Hard

Created by

Bobby Liu

Used 4+ times

FREE Resource

12 Slides • 5 Questions

1

​Welcome to Lesson 4!

​Classes, Objects & Methods

​Exceptions

2

​What are we going through today?

  • Attendance

  • Recap on Last Week Lesson

  • More Object-Oriented Concepts

  • ​Introduction to Exception Handling

3

Recap Time!​

4

Multiple Select

What is a class?

1

A class is contained within an attribute

2

Class is a blueprint in which objects are created

3

Class has class and data attributes

4

There are many ways to define a class

5

​What is a class?

  • ​A class is a blueprint in which objects are created

  • ​A class can have data attributes and methods

  • ​A class can only be defined in one way

  • ​A class doesn't allocate memory when created

6

Multiple Select

What is an object?

1

Object can be created as many times as per requirement

2

Object doesn't allocate memory when created

3

There are many ways to create objects in python

4

Object is an instance of a class

7

​What is an object?

  • ​An object is an instance of a class

  • ​Object can be created as many times as per requirement

  • ​Object allocates memory when created

  • ​There are many ways to create objects in python

8

Multiple Choice

What type of parameter can be passed into a method?

1

Objects

2

Variables

3

Methods

4

All of the above

9

Multiple Choice

What is the method that changes the value in a hidden attribute?

1

Accessor Method

2

Mutator Method

3

Protector Method

10

​Mutator Method

  • ​Also known as setter method

  • ​Allows external class to access and change the values in a hidden attribute

11

Multiple Choice

What is the method that allows a hidden attribute to be accessed?

1

Accessor Method

2

Mutator Method

3

Protector Method

12

​Accessor Method

  • ​Also known as getter method

  • ​Allows external class to access the hidden attribute within another class

13

​A little bit more on...

​classes, attributes, objects and methods

14

​Abstraction

15

​Exceptions

16

​Next Week

  • Working on Identifying objects for your project

  • Introduction to persistence​

17

Thank you class!​

​See ya next week!

​Welcome to Lesson 4!

​Classes, Objects & Methods

​Exceptions

Show answer

Auto Play

Slide 1 / 17

SLIDE