
Final computer scince Azi WTAMU
Authored by Michelle Solorzano
Other
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Unified Modeling Language
describes the classes and objects of an application
can be used to write the pseudo code for a class
can be used to write the code that defines a class
is a scripting language for working with objects
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A UML class diagram
describes the functions of one or more modules
shows the state of one of more classes
describes the attributes and methods of one or more classes
shows the relationship between the identity of an object and its state
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a variable named p that refers to a Product object, which of the following statements accesses the price attribute of the Product object?
Product.price
p.price
Product.price()
p.price()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After you identify the data attributes for an object, you can identify the methods that
store the data for the object
define the behavior of an object
access the object
can be deleted
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a data attribute contains two or more components, you should consider
combining it with other attributes
removing it from your list of attributes
subdividing it into multiple attributes
storing it in a separate class
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a three-tier architecture, the business tier stores the code that
controls the user interface
defines the business objects
accesses the file or database
handles all monetary transactions
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Refer to Code Example 18-1: Which code snippet adds the frame to the root window?
root = tk.Tk() root.title("Escape from the Maze") root.geometry("600x300")
frame = ttk.Frame(root, padding="200 100 200 100") frame.pack(fill=tk.BOTH, expand=True)
import tkinter as tk from tkinter import ttk
root.mainloop()
Access all questions and much more by creating a free account
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
Already have an account?