Using complete sentences post a detailed response to the following.

What are the advantages and disadvantages of top-down and bottom-up programming? How would you decide which one to use? Do you approach problems in your real life from a bottom-up or top-down approach?

Answers

Answer 1

Answer:

some advantages of top down is that you can start off from what you know and figure out what you need to complete it, advantages to bottom up is that you can make something new . if you are starting something from scratch and you dont know what the end goal might be you would use bottom up but if you already have an idea or the final product of what you want you would go the top down approach.

Explanation: just saying you shouldnt just copy and paste my response but rather pick out what you want to say and use this to complete what ever your working on. hope i helped :)

Answer 2

Answer:

the guy on top of me is super right follow him

Explanation:


Related Questions

Shrink-wrap, box-top, and click-wrap agreements are inherent to e-commerce. How you feel about them often depends on whether you are the vendor or purchaser. What are the best practices to assure shrink-wrap, box-top, and click-wrap agreements are legal? What are the best ethical practices that the e-commerce industry should adopt?

Answers

Answer:

Shrink-wrap, Box-top, and Click-wrap Agreements

a) The best practices to assure that shrink-wrap, box-top, and click-wrap agreements are legal include  

1) having e-commerce terms and conditions separate from the normal trade terms and conditions,  

2) ensuring that customers agree to the terms before entering into a transaction, and  

3) laying the code of conduct for all visitors interacting with your site or doing any business transaction on your site.

b) The best ethical practices that the e-commerce industry should adopt are:

1) Put additional layers of protection like a web application firewall to their websites.  

2) Ensure they always adhere to PCI (Payment Card Industry) compliance guidelines.

3) They should not store customers' data which they do not need.

4) Ensure privacy and security of customers' data.

5) Establish trust by safeguarding intellectual property rights.

6) Consider some environmental issues (customers care about them).

Explanation:

a) Websites' Terms and Conditions (T&C) establish some form of legal contract between the organization and its clients.  

b)To ensure that organizations that process, store, or transmit credit card information maintain secure online environment, they are required to comply with PCI DSS.  It is a set of Payment Card Industry requirements for all organizations involved in the use of online cards for payment for their goods and services.

Vector testGrades contains NUM_VALS test scores. Write a for loop that sets sumExtra to the total extra credit received. Full credit is 100, so anything over 100 is extra credit.

Answers

Question:

Vector testGrades contains NUM_VALS test scores. Write a for loop that sets sumExtra to the total extra credit received. Full credit is 100, so anything over 100 is extra credit. Ex: If testGrades = {101, 83, 107, 90}, then sumExtra = 8, because 1 + 0 + 7 + 0 is 8.

#include <iostream>

#include <vector>

using namespace std;  

int main() {

  const int NUM_VALS = 4;

  vector<int> testGrades(NUM_VALS);

  int i = 0;

  int sumExtra = -9999; // Assign sumExtra with 0 before your for loop  

  testGrades.at(0) = 101;

  testGrades.at(1) = 83;

  testGrades.at(2) = 107;

  testGrades.at(3) = 90;

   /* Your solution goes here  */

  cout << "sumExtra: " << sumExtra << endl;

  return 0;

}

Answer:

Replace /* Your solution goes here  */  with the following lines of code

sumExtra = 0;

do{

if(testGrades.at(i) > 100){

sumExtra = sumExtra + (testGrades.at(i) - 100);

}

i++;

}

while(i<NUM_VALS);

Explanation:

In the complete question posted,  the variables sumExtra and i have already been declared an initialized.

So, the first thing we do in the solution is:

set  sumExtra to 0 using sumExtra = 0;

Then iterate through vector testGrades using i as the iterating variable

Here, I made used of a do while loop and the explanation is as follows:

do{

This line checks if current element of the vector is greater than 100

if(testGrades.at(i) > 100){

If yes, the extra digits above 100 is added to the sumExtra

sumExtra = sumExtra + (testGrades.at(i) - 100);

}

The counter is increased, here

i++;

}

The loop is continued while the iterating variable i is less than NUM_VALS which is 4

while(i<NUM_VALS);

Which best explains the workplaces of employees in the Energy career cluster?

Employees work outdoors.
Employees can work in a wide variety of places.
Employees can work in a limited number of places.
Employees work indoors.

Answers

Answer: It’s Letter (B) the other ones just don’t fit.

Explanation:

Mark me as brainlest please?!!

Answer:

b

Explanation:

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot.

Sample output with inputs: 5 8

Answers

I wrote my code in python 3.8:

def print_total_inches(num_feet, num_inches):

   return ((num_feet)*12) + num_inches

print("There are a total of {} inches".format(print_total_inches(5,8)))

I hope this helps!

Allison is writing a program in Java and keeps getting an error. Which line of code is causing the error?

A. Int a = 0, b = 3, c;
B. for(i = 0, i <= 13, i++) {
C. c = (a * 2) + i;
D. System.out.println(c);

}

Answers

B will cause an error.

Allison needs to declare a type for variable i and use semi-colons.

The for statement should be for(int i = 0; i <=13; i++){

Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher.
The script should work for any printable characters. An example of the program input and output is shown below:
Enter a message: Hello world!
Enter the distance value: 4
Output: Lipps${svph%

Answers

Answer:

def encrypt_text(text,value):

   encoded = ""

   for i in range(len(text)):

       char = text[i]

       if (char.isupper()):

           encoded += chr"po"ord'po'char'pc' + value -65'pc' % 26 + 65'pc'

       else:

           encoded += chr'po'ord'po'char'pc' + value -97'pc' % 26 + 97'pc'

   return encoded

plaintext = input("Enter sentence of encrypt: ")

dist_value = int(input("Enter number: "))

encrypted = encrypt_text(plaintext, dist_value)

print(encrypted)

Explanation:

The python program above is a Ceasar cipher implementation. The encrypt_text function is defined to accept text input and a distance value, which is used to encrypt the plaintext.

The user can directly input text and the distance value from the prompt and get the encrypted text printed on the screen.

Other Questions
3/4 minus 7/16. In factions What type of economy did the countries colored on the map above have during the Cold War?A.communistB.capitalistC.free marketD.traditional what do you like to do on weekends? What effect do the words medieval, ancient, and primitive have on the reader? A. They demonstrate how charcoal is not appreciated in modern times. B. They suggest the long-lasting value of charcoal. C. They hint at scientific and industrial meanings. D. They demonstrate a high level of quality and efficiency. These two lines are graphs of non-proportional relationships what makes them not proportional Answer the picture!!! Which scale is an F major scale Scale A Scale B Scale CScale D Clea estimates that a glass contains 250.55 mL of water. the actual amount of water in the glass is 279.48 mL. To the nearest tenth of a percent what is the percent error in Clea's estimate? LuAnn is playing a math game. She chooses three cards. The value of each of her cards is shown. First card: -12 Second card: 3 Third card: -5 What is the sum of the values of LuAnn's three cards? URGENT PLEASE HELP!!!6. Which of the following frequencies of light has the highest energy?Possible answers:A. 1.4 x 10^15 s^-1B. 2.5 x 10^10 s^-1C. 7.0 x 10^13 s^-1D. 2.3 x 10^14 s^-1E. 5.0 x 10^14 s^-1 13) (-4.3) (2,-1)slope formula I WILL GIVE BRAINLIEST FOR CORRECT ANSWER!!!Jada fills the bathtub before taking a bath and then allows the water to drain when she is done. The graph below models the number of gallons of water, y, in the bathtub over time, t, in minutes. (look at graph)Is the number of gallons of water in the bathtub a function of time?A)Yes because each t value is paired with exactly one number of gallons.B)Yes because the number of gallons is bounded between y = 0 and y = 36.C)No because each number of gallons is paired with more than one t value.D)No because from t = 5 to t = 20 the number of gallons of water is constant. Elliot collects miniature toy cars. He wants to fill 4 display cases.each display case holds 15 cars. He has 28 cars now, and he is able to buy 3 more every month with the money he saves from his allowance. How many more months will it be until elliot has enough cars to fill all 4 display cases? 20points- Correct answer get Brainlest- Help please-Thank you- :)Of all students, calculate the relative frequency for males who carpool.Gender School Transportation SurveyWalk Ride Bus Carpool TotalMale 9 26 9 44Female 8 26 24 58Total 17 52 33 10.204330.0889 How can the executive branch be chacked by the other two branches if plastic bags are banned who will be affected Macroeconomic is the branch of economics that focuses on ? PLEASE HELP, MARKING BRAINLIEST!!!!What is the value of x? *Please show your work if you can.* Why are warm-ups considered beneficialbefore hard labor or exercises? what's your favorite number of the alphabet true or false?