We need to make some decisions when we programming a computer.
For example, if a condition X satisfy then Y execute
otherwise Z execute.
if x then
Y
else
Z
Suppose, we want to find out maximum of two numbers A and B. Now, we need to make decision that if A is greater than B, then A is a maximum number, otherwise B is maximum.
if A > B then
A is maximum
else
B is maximum
There may have more than one decisions, then we combine these
decisions using AND or OR operators.
Suppose, we want to find out letter grade of a student from average
grade. We can use following decisions:
if average>=90 AND average<=100 then
grade = A
else if average>=80 then
grade = B
else if average>=70 then
grade = C
else if average>=60 then
grade = D
else
grade = F
When average grade greater or equal to 90 and less than or equal
to 100 then letter grade is A. So on..
Therefore we need to make decisions for which condition the letter
grade have achieved.
In C/C++/Java programming languages some decision making
statements available:
Simple if statement
if-else-if statement (ladder if)
nested if statement
switch statement
→ What are the decisions you have to make when programming computer?
How does the role of inflation affect decisions that you have to make? What is the unemployment rate in your local area and in your state? How does this compare to the national average and why is this rate so important to evaluate?
Why do you think organizations have increased the use of groups for making decisions? When would you recommend using groups to make decisions? Utilize at least 2 business publications to support your answers. I need link
what decisions must a managerial accountant make when designing a cost accounting system? What are the physical characteristics of production that would cause management to choose a job order costing system?
What is the typical pattern for consumers when they make decisions on consumption? A. As the consumption of a good increases, marginal utility rises. B. As the consumption of a good increases, total utility falls but marginal utility rises. C. As the consumption of a good increases, total utility falls. D. As the consumption of a good increases, total utility rises, but marginal utility falls.
You make several decisions while creating a research paper: how to organize the notes, where to place citations, how to format sources, and which source on the web to use for the footnote text, etc. What is your rationale behind each of these decisions? When you proofread the document, what further revisions would you make and why?
A VAUVall. 8. How do you decide what ethical decisions to make? 9. What is the difference between the law and ethics? 10. What is an ethical dilemma? 11. Many bioethical dilemmas have arisen in our society, such as abortion, stem cell research, savior siblings, and organ donation. List at least five bioethical dilemmas that you find particularly difficult.
Part I Consider a computer that you have used or now use. (You may make an assumption on word size if needed.) How large is the memory of the computer? How long is a word in the computer above? How many bits are required to address the bytes in that memory? How many data lines are required to read data from the computer memory? Part II Does your computer have cache? If so how big is it? How does your...
When managers make decisions they follow the decision-making steps as presented in this chapter? Which steps are apt to be overlooked or given inadequate attention? What can people do to make sure they do a more thorough job? (NOTE - - - This discussion question is about the 6-step decision-making process, and whether or not you think managers generally follow that process when they make decisions. And if not, which steps do you think might get overlooked or given less...
QUESTION 6 (18 MARKS) a. Give TWO (2) fundamental decisions that you have to make when controling inventory. (2 marks) b. The Ross White's machine shop uses 2,500 brackets during the course af a year, and this usage is relatively constant throughout the year. These brackats are purchased from a suppier 100 miles away for $15 each, and the lead time is 2 days. The holding cost per bracket per year is $1.50 (or 10% of the unit cost) and...
You own a business and need to constantly make financial decisions. What are the three types of financial management decisions? For each type of decision, give an example of a business transaction that would be relevant in your business.