Python - Object-Oriented Programming - Assignment 7
Interactive Video
•
Information Technology (IT), Architecture, Business
•
University
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does addition represent in the context of a bank account?
Withdrawal
Balance Check
Deposit
Transfer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What attributes does a check object have?
Account number and holder name
Amount of money and bank account number
Holder name and balance
Transaction ID and date
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you try to withdraw more money than the balance in the bank account?
The transaction is completed with a negative balance
The transaction is completed with a zero balance
The transaction is completed with a positive balance
A value error is raised
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial balance of the bank account created in the demonstration?
$100
$20
$10
$50
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the __add__ method in the bank account class?
To initialize the account attributes
To define how to subtract money from the account
To define how to add money or a check to the account
To print the account details
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the __sub__ method in the bank account class?
To initialize the account attributes
To print the account details
To define how to subtract money from the account
To define how to add money to the account
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is checked before depositing a check into a bank account?
The check's holder name
The similarity between the check's account number and the bank account number
The check's amount
The check's date
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University