Quiz 5 part 2

Quiz 5 part 2

University

19 Qs

quiz-placeholder

Similar activities

Ch 9 & Ch 10

Ch 9 & Ch 10

University - Professional Development

20 Qs

Programming Paradigms

Programming Paradigms

University

14 Qs

Introduction to Portfolios

Introduction to Portfolios

12th Grade - University

20 Qs

Quiz MGMD233

Quiz MGMD233

University

15 Qs

React Initial Review

React Initial Review

University

19 Qs

Python Coding Contest

Python Coding Contest

University

20 Qs

EPPM2073 - Chapter 11

EPPM2073 - Chapter 11

University

15 Qs

Test # 1_EDUC175 Principles of Teaching

Test # 1_EDUC175 Principles of Teaching

University

15 Qs

Quiz 5 part 2

Quiz 5 part 2

Assessment

Quiz

Education

University

Easy

Created by

Tan Pham

Used 9+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Accessor methods are also known as

setters

getters

attributes

instances

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of programming contains class definitions?

top-down

procedural

modular

object-oriented

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Object-oriented programming allows us to hide the object's data attributes from code that is outside the object.

T

F

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When an object is passed as an argument, ________ is passed into the parameter variable.

a reference to the object's state

a copy of the object

a reference to the object

Objects cannot be passed as arguments.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a UML diagram the first section holds the list of the class's methods.

T

F

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All instances of a class share the same values of the data attributes in the class.

T

F

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is automatically called when you pass an object as an argument to the print function?

__state__

__str__

__obj__

__init__

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?