Which of the following are used to create objects? Group of answer choices abstract…
- User
Which of the following are used to create objects?
Group of answer choices
abstract objects
concrete classes
abstract classes
concrete objects
- Assistant
In programming, objects are instances of classes. The terms you've provided pertain to object-oriented programming, and they relate to how objects are created and how classes are defined. Here's how they are used to create objects or relate to object creation:
-
Concrete Classes: These are classes that provide a complete implementation and can be instantiated to create objects. They are not abstract and do not require any further specification to be used. Therefore, concrete classes are indeed used to create objects.
-
- User
Which of the following types of attributes is not proper in an analysis class?
Group of answer choices
integers
doubles
date
compound
strings
- Assistant
In the context of an analysis class, which is part of the analysis model in object-oriented design, attributes should be conceptual and focus on the characteristics of the concept being modeled rather than their implementation details.
Here's a look at the answer choices given:
-
Integers: A common data type used to represent whole numbers. These can be proper attribute types in an analysis class if they conceptually represent some characteristic, such as a quantity or count.
-
- User
Which of the following would not be an appropriate class name?
Group of answer choices
doctor
student
customer
patient
John
- Assistant
In object-oriented programming, class names are typically nouns that represent a concept or entity within the domain of the application. They are usually written in PascalCase (also known as UpperCamelCase) and should be relatively abstract representations rather than specific instances. Each of the first four answer choices represents a general concept that could be appropriate for a class:
- Doctor: Represents a profession; could be a class in a healthcare application.
- Student: Represents an individual in an educational context; could be a class in an educational application.
- Customer: Represents a purchaser or consumer; could be a class in a business application.
- Patient: Represents an individual receiving medical care; could be another class in a healthcare application.
On the other hand:
- John: Represents a specific individual's name, and thus it is not typically an appropriate class name. Classes should not be named after individual instances but should represent a broad category or type of objects.
- User
One way to identify objects for the class diagram is to scan the use case descriptions for ___________________.
Group of answer choices
relationships
object lists
verbs
nouns
patterns
- Assistant
One common technique used to identify potential classes when creating class diagrams is to scan the use case descriptions for nouns.
- Nouns often correspond to objects within the system, which can be represented as classes in a class diagram. They typically represent entities such as people (e.g., "Customer," "Employee"), things (e.g., "Order," "Product"), places (e.g., "Store," "Warehouse"), or concepts (e.g., "Account," "Reservation") that are relevant to the system being designed.
So the correct completion for the sentence would be:
"One way to identify objects for the class diagram is to scan the use case descriptions for nouns."
- User
The default visibility of an operation in a class diagram is public.
Group of answer choices
True
False
- Assistant
The statement is:
"True"
In UML (Unified Modeling Language) class diagrams, if no visibility indicator is specified for an operation (method) or attribute (field), it is by convention considered to be public. Public visibility means the operation or attribute can be accessed by other classes.
The common visibility indicators in UML are:
+for public visibility-for private visibility#for protected visibility~for package-private (default) visibility in some languages like Java
If no visibility symbol is present, it is assumed that the member is public, which supports the correctness of the statement provided. However, it's always best practice to specify visibility explicitly to avoid any confusion and to ensure that diagrams can be understood unambiguously by all readers.
- User
A server can be a(n) _____.
Group of answer choices
mainframe, minicomputer, or microcomputer
low-end personal computer
microcomputer
mainframe
minicomputer
- Assistant
A server can be a(n) _____.
- mainframe, minicomputer, or microcomputer
In computing, the term "server" refers to a computer or computer program that manages access to a centralized resource or service in a network. Servers can operate on various types of hardware and can range from high-end mainframes to mid-range minicomputers, to standard microcomputers, which include desktop PCs and even low-power single-board computers.
Regardless of their size or power, the main characteristic that defines a server is its role in providing services to other computers, known as clients, rather than the hardware it runs on. Therefore, a server can indeed be a mainframe, minicomputer, or microcomputer, depending on the needs of the network and the services being provided.
- User
What is one primary problem with server-based computing architectures?
Group of answer choices
As more users place heavier demands on the server, it is expensive to increase server capacity.
Client terminals are no longer made by hardware vendors.
Servers cannot be manufactured quickly by vendors.
It is difficult to maintain security in the server-based environment.
Servers are no longer made by hardware vendors.
- Assistant
As more users place heavier demands on the server, it is expensive to increase server capacity.
Server-based computing architectures can lead to issues with scalability and cost. As demand increases, the server needs to provide more processing power, memory, and storage to accommodate additional users and services. Upgrading or expanding server capacity can be an expensive proposition, especially if the demand grows rapidly or unpredictably. This scalability challenge is one of the primary problems with server-based computing architectures.
The other options listed are not accurate:
- Client terminals are, in fact, still produced by hardware vendors; they are simply more likely to be general-purpose PCs rather than specialized thin client terminals.
- Servers are also still manufactured by vendors, and there is a large industry dedicated to producing various types of server hardware.
- While maintaining security in a server-based environment does present challenges, it is not the primary problem identified with the architecture itself. Security is an ongoing concern in all computing architectures.
- Servers' manufacture speed by vendors is not typically considered a primary concern when discussing the shortcomings of server-based architectures.
- User
The computing architecture in which the server performs practically all of the work is known as _____.
Group of answer choices
server-based architecture
client-based architecture
client connection based architecture
middleware architecture
client-server architecture
- Assistant
The computing architecture in which the server performs practically all of the work is known as server-based architecture.
In a server-based architecture, the server is responsible for handling the processing, storage, and overall management of applications and data, while the client typically acts as a thin client or dumb terminal, mainly responsible for presenting the user interface and relaying user input back to the server. This contrasts with other architectures where the processing load is more evenly distributed between the server and the client.
- User
Which of the following is NOT one of the four basic functions of a computer application?
Group of answer choices
data access logic
presentation logic
application logic
networking logic
data storage
- Assistant
Among the options provided, "networking logic" is NOT typically considered one of the four basic functions of a computer application in the traditional sense. These basic functions usually include:
- Data Storage: Persisting data for retrieval and manipulation. Data is usually stored in databases or files.
- Data Access Logic: The functionality that handles the retrieval and manipulation of data from data storage.
- Application Logic: Sometimes called business logic, this consists of the algorithms and processing rules that handle the data and perform the core functions of the application.
- Presentation Logic: The user interface and the logic that controls what the user sees and how the user interacts with the application.
Networking logic could be a part of a broader set of responsibilities of an application, particularly how the application connects and communicates over a network, but it is not traditionally listed as one of the core basic functions of a computer application. Networking logic might be considered under the umbrella of application logic, especially in distributed systems.
- User
Which one in the following is one of the set of obstacles that cloud computing must overcome before it becomes the primary approach to provision the physical architecture layer.
Group of answer choices
the cost of the cloud
the safety of the cloud
the security in the cloud
the level of availability of the cloud
the usability of the cloud
- Assistant
One of the primary obstacles that cloud computing must overcome before it becomes the widespread choice for provisioning the physical architecture layer is "the security in the cloud."
Security concerns are paramount for organizations considering adopting cloud services. These include worries about data breaches, data loss, account hijacking, insecure APIs, insider threats, and the challenges of managing security in a shared, multi-tenant environment. The security of sensitive data and the compliance with various regulations and standards are critical considerations that can influence whether an organization opts for cloud computing solutions.
Although factors like cost, safety, availability, and usability are also important, security is often highlighted as one of the main challenges that need to be addressed to increase the adoption of cloud computing.