x##

¡Supera tus tareas y exámenes ahora con Quizwiz!

The Toplevel widget is a container, like a ________, but displays in its own window.

Frame

What types of programs are event-driven?

GUI programs

Which widget allows the user to select a value by moving a slider along a track?

GUI programs

In the following line of code, what is the name of the base class? class male(human):

Human

What is the first step that needs to be taken in order to apply a recursive approach?

Identify at least one case in which the problem can be solved without recursion.

In the following line of code, what is the name of the subclass? class Rose(flower):

Rose

What does the acronym UML stand for?

Unified Modeling Language

Which method is automatically executed when an instance of the class is created in memory?

__init__

What is the special name given to the method that returns a string containing the object's state?

__str__

What is referred to as the recursive case?

a way to solve the problem in all other circumstances using recursion

If the problem cannot be solved now, then a recursive function reduces it to a smaller but similar problem and ________.

calls itself to solve the smaller problem

In a GUI environment, most interactions are done through small windows known as ________ that display information and allow the user to perform actions.

dialog boxes

What is the combining of data and code in a single object known as?

encapsulation

How many graphical widgets does the tkinter module provide?

fifteen

What is another name for the accessor methods

getters

What concept involves a superclass and a subclass?

inheritance

________ allow(s) a new class to inherit the members of the class it extends.

inheritance

What attributes belong to a specific instance of the class?

instance

What is the relationship called in which one object is a specialized version of another object?

is a

Which method can you use to determine whether an object is an instance of a class?

isinstance

What are the procedures that an object performs called?

methods

Recursion is ________.

never required to solve a problem

The ________ accepts the user's commands.

operating system

A recursive function includes ________ which are not necessary in a loop structure.

overhead actions

What gives a program the ability to call the correct method depending on the type of object that is used to call it?

polymorphism

A(n) ________ is a set of real-world objects, parties, and major events related to the problem.

problem domain

When a method is called, what does Python make to reference the specific object on which the method is supposed to operate?

self parameter

What is another name for the mutator methods?

setters

A function is called from the main function for the first time. It then calls itself seven times. What is the depth of recursion?

seven

The process of calling a function requires ________.

several actions to be performed by the computer

In an inheritance relationship, what is a specialized class called?

subclass

In a UML diagram, what does the open arrowhead point to?

superclass

When there are several classes that have many common data attributes, it is better to write a(n) ________ to hold all the general data.

superclass

Base classes are also called ________.

superclasses

Which section in the UML holds the list of the class's methods?

third

In Python, what module is used to create a GUI program?

tkinter

With what part of the computer does the user interact?

user interface

What is the second step that needs to be taken in order to apply a recursive approach?

Determine a way to use recursion in order to solve the problem in all circumstances which cannot be solved without recursion

What is referred to as the base case?

at least one case in which the problem can be solved without recursion

What does a subclass inherit from a superclass?

attributes and methods


Conjuntos de estudio relacionados

Раскраска Табл. ум. на 1,2,3,4,5,6,7,8

View Set

Programming for Everybody - Python - Coursera (2nd Module)

View Set

CCNA Section 2 OSI Reference Model

View Set