Search Header Logo
CS 2.2 Classes and Objects Wayground Notes

CS 2.2 Classes and Objects Wayground Notes

Assessment

Presentation

•

Computers

•

11th Grade

•

Practice Problem

•

Easy

Created by

Grace Kemp

Used 3+ times

FREE Resource

29 Slides • 10 Questions

1

media

2

media

3

media

4

Draw

Draw a picture of a house.

5

media

6

media

7

Open Ended

What information might we include if we were to create a blueprint for what all houses should have?

8

media

9

media

10

media

11

media

12

media

13

media

14

media

15

media

16

media

17

Multiple Select

Which statements about classes and objects in Java are correct?

1

A class is a blueprint for creating objects

2

An object is an instance of a class

3

Objects can exist without classes

4

A class defines the structure and behavior of its objects

18

media

19

media

20

media

21

Open Ended

If you were to represent your own neighborhood as a collection of classes, what classes would your neighborhood consist of?

22

media

23

Open Ended

What else could you represent in a Java program as a class?

24

media

25

media

26

media

27

media

28

media

29

media

30

Open Ended

What is the difference between an object's attributes and behaviors?

31

media

32

media

33

media

34

Multiple Choice

Which of the following best describes object-oriented programming?

1

An approach to creating and using models of physical or imagined objects

2

A way to write code without using objects

3

A method for creating only physical objects

4

A programming style that does not use models

35

Fill in the Blank

Fill in the blank: In object-oriented programming, a ___ is a blueprint for creating objects.

36

Multiple Choice

Which of the following best describes an object in programming?

1

A variable that stores a single value

2

A function that performs a calculation

3

An instance of a class with its own data and behavior

4

A type of loop used for repetition

37

media

38

media

39

Categorize

Options (8)

Fur

Tail

Breed

Age

GoForWalk

Eat

Play

Sleep

If we were to create a class called Dogs, what would be some attributes and behaviors for the class?

Attributes
Behaviors
media

Show answer

Auto Play

Slide 1 / 39

SLIDE