D. two or more
this should be right
You review a design written by somebody else for an application and you find these: - an interface Shape with a method draw() - a class Circle that implements Shape - a class Rectangle that implements Shape - a class CompoundShape that: o implements interface Shape o aggregates 0 or more Shape objects, o has an extra method called add(Shape sh) o for implementing method draw() calls the draw() method for all aggregated Shape objects. You assume that a CompoundShape object is made of multiple shapes. What design pattern is at work in this application? Explain your answer.
This is the Composite pattern, one of the "Gang-of-Four" design patterns (check out their book!).
How would a specific date, such as April 27, 2015, be represented as an absolute date?
To solve for the absolute data, the base or beginning date will need to be set. Once the beginning data has been established we can see how many days there were between the beginning and end dates.
The base or beginning date must be chosen in order to solve for the absolute data. The number of days between the start and finish dates can be determined once the beginning data has been provided.
What is the database?A database is an ordered collection of data that is stored and retrieved electronically in computing. Small databases can be kept on a file system, whereas large databases are kept on computer clusters or in the cloud. A database is a structured collection of b. They enable electronic data storage and manipulation. Databases simplify data administration.
It is the total number of days starting on April 27, 2015, regardless of the base date you choose. Thus, if the base date is set to January 1, 1900, for instance, the absolute date for April 27, 2015, would be 42,119.
Therefore, To solve for the absolute data, the base or starting date must be selected.
Learn more about the database here:
https://brainly.com/question/6447559
#SPJ5
A computer that supports 10/100/1000 Ethernet allows for 10, 100, or 1000 ________ per second.
A Computer that supports 10/100/1000 Ethernet allows for 10,100,or 1000 gigabyte per second.
A computer that supports 10/100/1000 Ethernet can transmit 10, 100, or 1000 megabits per second, which reflects the possible data transfer rates over the network. These speeds are facilitated by the cable's capacity to handle connections and the speed of electronic clock frequencies inside computer circuits.
A computer that supports 10/100/1000 Ethernet allows for 10, 100, or 1000 megabits per second (Mbps). This refers to the data transfer rates that the Ethernet connection can handle. With Ethernet connections, frequency and bandwidth play crucial roles in the efficiency and speed of data transmission. Ethernet cables can handle connections at frequencies up to 1 GHz, which is influenced by factors such as crosstalk and environmental wave radiation.
Modern Ethernet cables have advanced significantly compared to older technology, supporting higher data rates such as those mentioned. The speed at which these computers operate is tied to the synchronized electronic clock frequencies that can reach up to a gigahertz. These high frequencies facilitate the quick ticking that coordinates tasks within the computer's circuits.
Overall, these Ethernet speeds contribute to the bandwidth and connectivity of a computer or network device, which is essential for accessing and participating in various network functionalities as governed by networking models such as the OSI and TCP/IP Models.
A. draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter an hourly pay rate and hours worked. the program outputs the user's gross pay.
b. modify the program that computes gross pay to allow the user to enter the withholding tax rate. the program outputs the net pay after taxes have been withheld iframes not supported
Flowcharts and pseudocodes are used as prototypes of a complete program.
Program AThe pseudocode that represents the logic of the program is as follows:
StartInput hourlyRateInput hoursWorkedgross = hourlyRate * hoursWorkedDisplay grossEndProgram BThe modified pseudocode that represents the logic of the program is as follows:
StartInput hourlyRateInput hoursWorkedInput taxgross = hourlyRate * hoursWorkedDisplay grossnet = gross * (100 - tax/100)EndRead more about flowcharts and pseudocodes at:
https://brainly.com/question/24735155
When is Hytale coming out?
P.S it might be Mine-craft 2.0
:)
No release date has been announced and there's only speculation. My best guess would be maybe Spring or Summer of this year
You receive a check on which the numerical dollar amount does not match the dollar amount written in words.
The headings that appear on the Ribbon, such as File, Home, and Insert, are called:
shortcuts
groups
menus
tabs
Final answer:
The headings on the Ribbon such as File, Home, and Insert are called tabs.
Explanation:
The headings that appear on the Ribbon, such as File, Home, and Insert, are called tabs. The Ribbon interface in Microsoft Office programs uses a system of tabs to organize commands in a way that helps users quickly find what they need. Within each tab, commands are further organized into groups. For instance, the Home tab is divided into several groups like Clipboard, Font, and Paragraph, which contain related functionality. The Insert tab includes groups for adding various objects to your document, like Tables, Illustrations, and Links.
A pincode consists of N integers between 1 and 9. In a valid pincode, no integer is allowed to repeat consecutively. Ex: The sequence 1, 2,1, 3 is valid because even though 1 occurs twice, it is not consecutive. However, the sequence 1, 2, 2, 1 is invalid because 2 occurs twice, consecutively. Utilize a for loop and branch statements to write a function called pinCodeCheck to detect and eliminate all the consecutive repetitions in the row array pinCode. The function outputs should be two row arrays. The row array repPos contains the positions pinCode where the consecutive repeats occurs, and the row array pinCodeFix is a valid pincode with all the consecutive repeats removed in pinCode. Hint: The empty array operator [] is will be helpful to use.
Answer:
function [ repPos, pinCodeFix ] = pinCodeCheck( pinCode )
pinCodeFixTemp = pinCode;
repPosTemp = [];
for i = 1:length(pinCode)
if((i > 1)) & (pinCode(i) == pinCode(i - 1))
repPosTemp([i]) = i;
else
repPosTemp([i]) = 0;
end
end
for i = 1:length(pinCode)
if(repPosTemp(i) > 0)
pinCodeFixTemp(i) = 0;
end
end
repPosTemp = nonzeros(repPosTemp);
pinCodeFixTemp = nonzeros(pinCodeFixTemp);
repPos = repPosTemp';
pinCodeFix = pinCodeFixTemp';
end
Explanation:
Let me start off by saying this isn't the most efficient way to do this, but it will work.
Temporary variables are created to hold the values of the return arrays.
pinCodeFixTemp = pinCode;
repPosTemp = [];
A for loop iterates through the length of the pinCode array
for i = 1:length(pinCode)
The if statement checks first to see if the index is greater than 1 to prevent the array from going out of scope and causing an error, then it also checks if the value in the pinCode array is equal to the value before it, if so, the index is stored in the temporary repPos.
if((i > 1)) & (pinCode(i) == pinCode(i - 1))
repPosTemp([i]) = i;
Otherwise, the index will be zero.
else
repPosTemp([i]) = 0;
Then another for loop is created to check the values of the temporary repPos to see if there are any repeating values, if so, those indexes will be set to zero.
for i = 1:length(pinCode)
if(repPosTemp(i) > 0)
pinCodeFixTemp(i) = 0;
Last, the zeros are removed from both temporary arrays by using the nonzeros function. This causes the row array to become a column array and the final answer is the temporary values transposed.
repPosTemp = nonzeros(repPosTemp);
pinCodeFixTemp = nonzeros(pinCodeFixTemp);
repPos = repPosTemp';
pinCodeFix = pinCodeFixTemp';
Use a for loop and branch statements to write the function pinCodeCheck, which detects and eliminates consecutive repetitions in a row array pinCode. The function returns two arrays: repPos, containing positions of repeats, and pinCodeFix, the corrected pincode. Example code is provided to illustrate the solution.
PinCodeCheck Function for Detecting and Eliminating Consecutive Repetitions :
Initialize an empty list repPos to store the positions of consecutive repetitions.Initialize an empty list pinCodeFix to store the valid corrected pincode.Iterate over the list pinCode and compare each element with the next one using a for loop.If a consecutive repetition is found, store its position in repPos and skip adding the repeated element to pinCodeFix.Continue the iteration until the end of the list.Example Python Code :
def pinCodeCheck(pinCode):For example, pinCode = [1, 2, 2, 3] would result in repPos = [2] and pinCodeFix = [1, 2, 3].
Ethics in businesses and organizations are made up of a set of moral principles that guide the organizations. Discuss how good work ethics influence your career success.
If you get caught doing something unethical, you'd be shunned, wouldn't you? If you were to do something that others would consider "immoral" or "unethical", you should do so with extremely discreetly. You shouldn't risk doing something that would get you fired, leave a permanent black mark on your history, and ruin chances of you getting a good job if the reward is low.
If a person acts in a way that would be viewed as "unethical" or "immoral" by others, you should do so very subtly. If the return is little, you shouldn't take a chance on doing anything that could get you fired, put a permanent blot on your record, and harm your prospects of finding a good job.
What are the Ethics in businesses?By definition, business ethics relates to the norms for ethically appropriate and inappropriate behaviour in the workplace. Law defines behaviour in part, but "legal" and "ethical" are not always synonymous. By defining permissible practices outside of the purview of the state, business ethics strengthen the law.
Business ethics are a set of norms and principles that organizations employ to help them make decisions regarding their money, business dealings, corporate social responsibility, and other issues. A company that lacks solid ethics risks breaking the law, falling into financial trouble, and facing unethical situations.
Business ethics is a discipline that establishes what is proper in the workplace and what is right and wrong. Laws frequently serve as a guide for business ethics, and these standards prevent people and businesses from engaging in unethical behaviour.
Thus, If a person acts in a way that would be viewed as "unethical" or "immoral" by others
For more information about Ethics in businesses, click here:
https://brainly.com/question/30166875
#SPJ2
Janet is testing the effectiveness of four different plant foods. She plants four identical seeds in four identical pots, supplying each with a different type of plant food. After six weeks she finds that the four plants have grown to different heights.
Can Janet conclude that food W is the most effective of the four plant foods?
A. Yes; since the plant that was fed food W grew to the greatest height, the only explanation is that food W is the most effective.
B. No; Janet needs to test many more different types of plant food before she can reach that conclusion.
C. Yes; 18 inches is the tallest a plant of that species has ever grown.
D. No; Janet needs to conduct repeated trials on many different plants before she can make that conclusion.
D, because you need multiple trials to prove something
Answer:
d
Explanation:
How long can a black box survive underwater
They work to a depth of just over four kilometres, and can "ping" once a second for 30 days before the battery runs out, meaning MH370's black box stopped pinging around April 7, 2014. After Air France flight 447 crashed into the Atlantic Ocean, it took search teams two years to find and raise the black boxes.
The ____ loop checks a boolean expression at the "top" of the loop before the body has a chance to execute.
The while loop checks a Boolean expression at the top of the loop before the body has a chance to execute
What are the advantages and drawbacks of using solar energy
upfront price, but dependent on how long you use it you will save money, also the power it provides per square inch is low but that will be solved with time.
Patricia works in a coffee shop and manages the inventory of items. For each item, she needs to record the quantity in stock and the quantity sold. How should she maintain the data?
store quantity in stock and quantity sold in two separate columns in a single spreadsheet.
Answer:
Patricia can make a report with all expenses and all existing products from your stock. Then an exel spreadsheet would be the best thing to do.
Explanation:
Please select the word from the list that best fits the definition Would enjoy a movie about the subject
Answer:
Auditory
Visual
and Kinesthetic are the options given
Explanation:
I believe the answer is Kinesthetic
A good reference point for determining the position of a line or curb in front of you is your __________ . A. Hood ornament B. Left fender C.Side mirrors
When driving, a good reference point for determining the position of a line or curb in front of you is your hood ornament. This varies depending on car model and driver's seating position, so get familiar with your car's dimensions and reference points.
Explanation:A good reference point for determining the position of a line or curb in front of you while driving is your hood ornament. The hood ornament, located at the front of the car, can provide a reference point for estimating the distance between the car and the line/curb in front. However, it's important to note that this can vary depending on specific car model and driver's height and seating position. Therefore, one must get used to their car's dimensions and reference points for accurate measurements and safe driving.
Learn more about driving here:
https://brainly.com/question/4979933
#SPJ2
4. What is each repetition of a loop known as? a. cycle b. revolution c. orbit d. iteration
Answer:
Cycle
Explanation:
A cycle because a loop means it repeats, and that's what a cycle is. Something that repeats on loop is a cycle.
Which of the following statements is FALSE? A. Security is a huge concern for nearly all organizations with private or proprietary information about clients, customers, and employees. B. New controls in e-mail programs can ensure that your e-mail will remain private, both within your organization's server and at the receiver's end as well. C. When writing e-mails, avoid jargon and slang, use formal titles, use formal e-mail addresses for yourself, and make your message concise and well-written. D. Lack of visual and vocal cues in e-mails means emotionally positive messages, like those including praise, will be seen as more emotionally neutral than the sender intended. E. Face-to-face communication provides the highest degree of message channel richness.
B is false, because once an e-mail is sent, the receiver can do what they wish with the contents of it (for example, screenshotting or taking a picture of it). There is no guarantee of privacy if you do not trust the recipient.
"Consumers" within a biome are:
more then one answer
A. herbivores
B.carnivores
C.plants
D.omnivores
The content of a 4-bit register is initially the 4-bit word 0101. the register is shifted 6 times to the right with the serial input being 1000101. what is the content of the register after each shift.
what is this concept?
____ are those for which the conditions, condition alternatives, actions, and action rules can be determined.
Structured decisions are those for which the conditions, condition alternatives, actions, and action rules can be determined.
A software engineer is designing a new program. She decides to first define all the classes needed, and how they will interact with each other. She then defines what methods will be needed in each class. Later, she writes those methods. This design process is an example of:
top-down design
bottom-up design
object-oriented programming
a) I and II only
b) I and III only
c) II and III only
d) I, II, and III
e) II only
This design process is an example of option d) I, II, and III.
top-down designbottom-up designobject-oriented programmingWhat is the design about?Top-down design is a method of breaking down a complex system into smaller, more manageable parts. In the design process described, the software engineer starts by defining all the classes needed for the program, and how they will interact with each other.
Therefore, This is an example of top-down design, as the engineer is breaking down the program into smaller, more manageable parts (classes) and defining how they will interact with each other.
Learn more about software engineer from
https://brainly.com/question/7145033
#SPJ1
Final answer:
The correct answer is b) "I and III only". The student's description of the software design process exemplifies both top-down design and object-oriented programming, where the engineer first defines the classes and interactions, and then details the methods within the classes.
Explanation:
The design process described by the student is an example of top-down design and object-oriented programming (OOP). Initially, the software engineer is specifying high-level structures by defining all the classes and their interactions which is characteristic of top-down design. Subsequently, detailing the methods within each class aligns with object-oriented programming, where encapsulation of data and functionality within objects is a key principle.
Furthermore, the use of UML diagrams and other design models to express software architecture is integral to both top-down design and OOP. The software engineer is likely employing UML to visualize class interactions and system flows, an essential part of object-oriented design. Therefore, this design process is an example of both top-down and object-oriented approaches to software development.
Write a java program that asks the user to enter a series of integers. when they enter a value of 0, the program should end. if they enter a negative value, ignore it. if they enter a positive value, add it up. at the end of the program display how many numbers they entered, how many were positive and what the sum of all the positive numbers was.
5. This is a variable that controls the number of iterations performed by a loop. a. loop control variable b. accumulator c. iteration register variable d. repetition meter
what is the ropeak??need only one Ans the 2nd Ans will be reported.
Final answer:
The term for a variable that controls the number of iterations in a loop is a loop control variable, or iteration variable, which is vital for the management of loop execution in programming.
Explanation:
The correct answer to the question "This is a variable that controls the number of iterations performed by a loop" is a. loop control variable. A loop control variable, often called an iteration variable, is used to control the execution of a loop. The value of this variable is typically initialized before the loop starts, then updated during each iteration of the loop, and finally, it determines when the loop will terminate by no longer satisfying the loop's condition.
Understanding the loop control variable is essential for programming as it allows for the execution of a block of code multiple times until a certain condition is met. This can be useful for tasks that require repetition, like adding numbers together (using an accumulator) or counting items in a list, both examples of employing variables within a loop.
Expiration is necessary in order to _____.
perspire
remove CO2
obtain O2
relax emotions
Answer:
I believe it is Remove C02
Explanation:
What company was credited with developing the first smartphone?
IBM developed the world's first smartphone in 1992
The tech company IBM is widely credited with developing the world's first smartphone
What is a specific set of instructions or steps used to solve a particular problem
An Algorithm
I will use a simple example to best explain this. I want to write a very small program that prompts a user to enter two numbers. Once these numbers are entered, they will be calculated and the sum displayed. The first step is to declare the variables. The second step is to pop a message for the user. The message will prompt the user to enter the numbers which will calculate themselves in the 4th step and populate a sum in the final step. This is what is referred to as an algorithm. An Algorithm is a step by step process required to offer a solution for a problem or to complete a particular task like the one above.
What technology do companies use to make the links between connection between two corporate intranets more secure?
What is a search given to another person or group of people to present information or research about a topic ?
talk about what they like or something special
Which element of a presentation program’s interface displays the slide you are currently creating or editing?
A.) Slide Plane
B.) Tool Bar
C.) Menu Bar
D.) Scroll Bar
Slide plane displays the slide you're currently creating or editing