The first one is False and the second one is B
HOPE IT HALPS :DDDDDD
Answer:
A general understanding that abstraction allows programmers to hide details By hiding details, programmers are able to work with complex systems in small pieces without having to pay attention to every detail at once An explanation of how top down design implements abstraction
Example:
Through the use of abstraction, a programmer is able to take one large idea, and break it down into smaller pieces. In the context of top-down design, this means that the programmer can create one function that is made up of a set of smaller sub functions. After determining the details of those sub functions, the programmer no longer needs to take into account how they work, knowing that they will work in when called. For example when drawing a snowflake, the programmer may use top down design to split it into separate branches. Each of those branches may have sub functions that determine the detail to be repeated. This allows programmers to develop complex systems while managing complexity at multiple levels of abstraction.
Which of the following is FALSE about event-driven programs?
A. Event-driven programs do not implement algorithms.
B. Some portions of an event-driven program may never execute while the program is running.
C. An event-driven program is written to respond to specified events by executing a block of code or function associated with the event.
D. The order in which an event-driven program will run cannot always be known ahead of time. E. Event-driven programs can be run multiple times with different outcomes, based on user interactions.
Answer:
Cost of producing a unit of a good falls as its output increases.
Explanation:
Companies achieve economies of scale when their production costs per unit decrease as the company uses fewer inputs to produce one unit of product.
For example, a company produces 10,000 units with a total cost of $20,000 (cost of producing one unit is $2). If the company increases its total production to 15,000 units with a total cost of $25,000 (cost of producing one unit is $1.67).
Answer:
D) a government employee illegally discriminating against another during performance of his or her official duties.
Explanation:
The term, under the colour of state law is used to show the situation whereby an individual claims that his or her actions are legitimized as a result of his role as a governmental agent. This is done when those actions are illegal. For example, denying a person a car lincense just because, the person happens to be of different skin colour.
Answer:
$1066.77
Explanation:
The amount that would need to be saved today is referred to as present value.
Present value is the sum of discounted cash flows
Present value can be calculated using a financial calculator
Cash flow in year 1 and 2 = 0
Cash flow in year 3 = $600
Cash flow in year 4 = 0
Cash flow in year 5 = $700
I = 5
present value = $1066.77
To find the PV using a financial calculator:
1. Input the cash flow values by pressing the CF button. After inputting the value, press enter and the arrow facing a downward direction.
2. after inputting all the cash flows, press the NPV button, input the value for I, press enter and the arrow facing a downward direction.
3. Press compute