A school is developing a program to keep track of information about students and their class schedules. In which of the following instances would a data abstraction be most helpful?

A. The program includes individual variables to store the names of each student rather than a single list of students.

B. A program includes multiple comments that could be combined into a single comment

C. A program includes repeated programming statements that could be moved inside a loop

D. A program includes repeated code that could be moved inside a function.

Answers

Answer 1

Answer: D

Explanation: A doesn't make sense, B doesn't either.

However you're left with C and D. In this case I can understand if you picked C, but I picked that and got the answer wrong.

D makes sense since data abstraction means to simplify the code to make it easy to read and point out details while removing other components.

A function allows one to understand the intention of the code by its name and thus it makes it easier to read.

Therefore, I suggest D.

Answer 2

If the school is to keep track of information about students and class schedules, a data abstraction would be most helpful if the program includes individual variables to store the names of each student rather than a single list of students.

Data abstraction can be described as the reducing of data in order for it to be more simplified and used to represent only the essential characteristics.

It would be most helpful in this option because it has been reduced to individual variables instead of the full list of the students

Read more on https://brainly.com/question/23230368?referrer=searchResults


Related Questions

What is the main difference between a peripheral device and other types of devices? Choose the best answer.

A.
It only accepts input.
B.
It only provides output.
C.
It is attached externally to a computer.
D.
It does not need a computer to perform its function.

Answers

The answer is C: is is attached externally to a computer.

Help

Question #3
Multiple Choice
You designed a program to create a username using the first three letters from the first name and the first four letters of the last name. You
are testing the program, the last step in the process. For a user named John Smith, what username should the program create?
O johnsmith
John Smith
O JohSmit
johsmit

Answers

JohSmit would be the answer because it has first 3-4 letters with correct caps and all

You would like to search for information about storms but not tornadoes. What type of search strategy may be useful?

entering keywords into many different search engines
a Boolean search
a wild-card search
searching for synonyms

Answers

Answer:

boolean search

Explanation:

Answer:

Boolean Search

Explanation:

3.2 Code Practice: Question 1 from edhesive ( answer in python pls)

Answers

Answer:

value = float(input("Enter a number: "))

if value > 45.6:

  print("Greater than 45.6")

4.2 Code Practice: Question 1
Can someone help me write the code in python language?

Answers

Answer:

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

sum = number

c = 1

while (sum<=100):

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

   sum = sum + number

   c = c + 1

print("Sum: " + str(sum))

print("Numbers Entered: " + str(c))

Explanation:

Hope this helps lovely :)

What is the name of the variable in this code?

1| fav_color = sprite.ask("What's your favorite color?")
2| sprite.say(fav_color)

fav_color

What's your favorite color?

sprite

ask

Answers

Answer:

fav_color

Explanation:

Answer:

fav_color

Explanation:

Directions and Analysis
Task 1: Typing an Essay
Select a favorite sport, contest, or game of your choice. Write an essay in standard form
(sentences, paragraphs, bullets, etc.) to include details, such as the sport or game's unique
characteristics, rules, tournaments, useful strategies, famous players, teams, etc. Your target
time for this task is 2,000 words typed accurately in 90 minutes. Ensure that you type while
maintaining the correct posture and finger placement.

Answers

Answer:

Sorry this is a typing test, too pysical for online help as for the words and time limit to reinforced learning, if content is the issue grab an article or paper and type that.

how to use access?
like working in access and bringing tables and stuff

Answers

I would recommend first familiarizing yourself with the program Access by watching introductions.

If you have even more time to spare and want hands-on experience, use Wise Owl exercises. Search up college classes assignments or guides. (Boy, do they love their big workbooks.) Essentially, do practice exercises.

WHO WANTS TO PLAY AMONG US

Answers

Answer:

Explanation:

ME

Alright, Give me a code

1. A fish farm has a computer system that constantly monitors the quality of the
water in its fish ponds.The system uses sensors to carry out the monitoring. (a)
Name any one most appropriate sensor that could be used to monitor the quality
of the water in the fish ponds. *
O humidity
O moisture
Орн
O infrared​

Answers

Answer:

HUMIDITY

Explanation:

Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a random number is generated from 1 - 10 (inclusive) for the variables a and b. Also, instead of adding the two numbers together, the edited program should multiply them, and output the proper math problem and answer. Be sure to update every line of code to reflect the changes needed.
import random

a = 6
b = 3

answer = a + b

print (str(a) + " + " + str(b) + " = " + str(answer))

Answers

I've included my code in the picture below. Best of luck.

The modifications to be done program is an illustration of random numbers using Python.

The random numbers from 1 to 10, will be generated using the random module

The modified program where comments are used to explain the lines of the programs are:

#This imports the random module

import random

#This generates a random number

a = random.randint(1,10)

#This generates another random number

b = random.randint(1,10)

#This multiplies both numbers

answer = a * b

#This displays the result of the program

print (str(a) + " * " + str(b) + " = " + str(answer))

At the end of the program, the program will print the product of both random numbers.

See attachment for sample run of the program

Read more about Python programs at:

https://brainly.com/question/22841107

the compact disc drive it belongs to a.input b.output c.storage device​

Answers

Answer:

c.storage device

Explanation:

Which monitor will you prefer in your school ; CRT or FPD ?why ?

Answers

Answer:

CRT

Explanation:

because this is very comfortable for me

Composition of a scene requires a lot of careful analysis.
The process of composing shots is known as what

Answers

Answer: framing

Explanation: i just took the test and i got it right hope this helps

What are non-examples of wage and salary?

Answers

Answer:

Recent Examples on the Web: Noun The goal, ideally, should be to pay workers a livable wage — not a less bad one than the museum down the road.

Please help! I will award brainliest! its due today...












Which comment would best describe the code below?


Question 9 options:


// Rotates around the Y axis based on left/right arrow keys



// Rotates around the Z axis based on up/down arrow keys



// Rotates in an upward direction based on left/right arrow keys



// Moves object up/down based on the the left/right arrow keys

Answers

Answer:

The bottom is right I think

Explanation:

I am not really good at this stuff

The comment that would best describe the code below is // Moves the object up/down based on the left/right arrow keys. The correct option is d.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

It is well known that one of the hardest subjects to master is programming. It's understandable that some people find it challenging to learn how to code given how different it is from conventional educational methods, such as college degrees in computer science.

Therefore, the correct option is d, // Moves the object up/down based on the left/right arrow keys.

To learn more about coding, refer to the link:

https://brainly.com/question/13486133

#SPJ2

4.3 Code Practice: Question 1

Answers

I've included my code in the picture below. Best of luck.

Following are the program to the given question:  

Program Explanation:

Defining an "age" variable that uses the "int with input" method that inputs integer value from the user-end.After input value, a for loop is declared that uses the "age" variable and calculates its value, and prints the value with the message that is "**HUG**".

Program:

age=int(input())#defining an age variable that inputs integer value

for i in range(1, age+1):#defining a for loop that count input value  

print("**HUG**")#print message

Output:

Please find the attached file.

Learn more:

brainly.com/question/17796174

Enzo is writing a paper about the similarities and differences between ancient Rome and modern America. Which text structure is he most likely to use? problem and solution comparison and contrast chronological order order of importance I NEED HELP BAD IT IS TIMED

Answers

Answer:

The correct answer is B.) comparison and contrast

Explanation:

just did the unit test review. you are welcome

Answer:

The correct answer is compare and contrast.

PLZ ANSWER QUICKLY! TIMED!
Select all that apply.

Select all barriers to oral communication.


well organized

laziness

lack of time for preparation

accent

being unprepared

not paying attention

noise

Answers

Answer:

noise accent unpreparedness would be some examples

The barriers to oral communication are as follows:

AccentBeing unprepared.Noise.Not paying attention.

What is Oral communication?

Oral communication may be defined as the process of expressing your thoughts, feelings, emotions, etc. with the utilization of words spoken directly by mouth irrespective of any techniques or instruments.

It is one of the best and fastest ways of communication as compared to written and signed communication. It only involves an action of words that directly makes a communication influential.

Due to the direct utilization of words through mouths, it has numerous barriers that ultimately decrease its effectiveness. Some of its barriers are noise, accent, not paying actual attention to the speaker, being unprepared, etc.

All such barriers make the halt between the listeners and speakers. The words of the speakers not successfully reached on the ears of the listeners and thus its affects the overall communication.

Therefore, it is well described above.

To learn more about Oral communication, refer to the link:

https://brainly.com/question/13134402

#SPJ2

Why does a bus topology require a terminator? a) because otherwise it would be a ring network b) because otherwise the packets will bounce back and forth from end to end repeatedly c) because otherwise the signal will fade out d) because a terminator is where a bus network connects to the outside

Answers

Answer:

B)because otherwise the packets will bounce back and forth from end to end repeatedly

Explanation:

Bus topology can be regarded as a kind of topology for a Local Area Network, it is one that has it's nodes connected to a single cable(backbone) and any break in the so called backbone, there will be failure in the entire segment. However a Terminator is usually attached to the end-points of a bus network so that the signal is absorbed by the Terminator and as a result of this the signal will not reflect back down the line. If there is no Terminator there would be bouncing back and forth of packet in an endless loop.It should be noted that a bus topology require a terminator because otherwise the packets will bounce back and forth from end to end repeatedly

.

The answer is-

B.) because otherwise the packets will bounce back and forth from end to end repeatedly

Bus topology can be regarded as a kind of topology for a Local Area Network, it is one that has it's nodes connected to a single cable(backbone) and any break in the so called backbone, there will be failure in the entire segment. However a Terminator is usually attached to the end-points of a bus network so that the signal is absorbed by the Terminator and as a result of this the signal will not reflect back down the line. If there is no Terminator there would be bouncing back and forth of packet in an endless loop.It should be noted that a bus topology require a terminator because otherwise the packets will bounce back and forth from end to end repeatedly

What is output by the following code segment? int x = 11; int y = 11; if (x != y ) { System.out.print("one"); } else if (x > y) { System.out.print("two"); } else if (y = x) { System.out.print("four"); } else { System.out.print("five"); }

Answers

The output will be four because y and x are equal and that satisfies the condition for the else if statement that prints out four.

click here for a answer

Answers

Answer:

the 3th one

Explanation:

vkbfnkynbvkbj how do i unblocked websites on my school laptop?

Answers

Answer:

impossible

Explanation: sorry but too bad

Convert the following decimal numbers into equivalent binary numbers and then convert the binary answer back into equivalent decimal. Show all the steps of conversions.
• -8735

Answers

Answer:

[tex]-8375_{10} = -10001000011111_2[/tex]

[tex]-10001000011111_2 = -8735_{10[/tex]

Explanation:

Given

-8735

Required

Convert to binary and then back to decimal

To convert to binary, we divide by 2 and write down the remainder (ignore the negative sign, first)

8735 / 2 = 4367 R 1

4367 / 2 = 2183 R 1

2183 / 2 = 1091 R 1

1091 / 2 = 545 R 1

545 / 2 = 272 R 1

272 / 2 = 136 R 0

136 / 2 = 68 R 0

68 / 2 = 34 R 0

34 / 2 = 17 R 0

17 / 2 = 8 R 1

8 / 2 = 4 R 0

4 / 2 = 2 R 0

2 / 2 = 1 R 0

1 / 2 = 0 R 1

Write out the remainder from bottom to top

[tex]8735_{10} = 10001000011111_2[/tex]

Include the negative:

[tex]-8735_{10} = -10001000011111_2[/tex]

To convert to decimal, we simply multiply the individual digits with the base (in this case, it is base 2) raise to power of the index of that digit.

There are 14 digits in 10001000011111 and the rightmost digit is of index 0 and it increased to the left.

Ignore the negative, first; so, we have:

[tex]10001000011111_2 = 1 * 2^{13} + 0 * 2^{12} + 0 * 2^{11} + 0 * 2^{10} + 1 * 2^{9} + 0 * 2^{8} + 0 * 2^{7} + 0 * 2^{6} + 0 * 2^{5} + 1 * 2^{4} + 1 * 2^{3} + 1 * 2^{2} + 1* 2^{1} + 1 * 2^0[/tex]

[tex]10001000011111_2 = 1 * 8192 + 0 + 0 + 0 + 1 * 512 + 0 + 0 + 0 + 0 + 1 * 16 + 1 * 8 + 1 * 4 + 1* 2 + 1 * 1[/tex]

[tex]10001000011111_2 = 8192 + 512 + 16 + 8 + 4 + 2 + 1[/tex]

[tex]10001000011111_2 = 8735[/tex]

Include the negative sign

[tex]-10001000011111_2 = -8735_{10[/tex]

In 2-5 paragraphs, describe how you would create a new database using your software.

Answers

Answer:

1. open the software

2. select a new blank database or database wizard

3. name the database

4. enter field names and select the type of field (text, number, date, currency)

5. make one of the fields the primary key

6. click done, or save and close

7. open the table and add records

Without net neutrality, which of these situations might occur? (Select all that apply.) a cable company might charge different bandwidth rates for large corporations and individual consumers an online newspaper might find its website slowing down because a telecomm company does not like its politics a big movie studio might find its upcoming film streamed illegally a service provider might choose not to provide service in poor areas

Answers

Answer:

a. a cable company might charge different bandwidth rates for large corporations and individual consumers

b. an online newspaper might find its website slowing down because a telecomm company does not like its politics

d. a service provider might choose not to provide service in poor areas

Explanation:

Net Neutrality is the idea that internet service providers are not to discriminate against users or treat them unequally due to their content, the information they wish to share, their website, the type of device they are using, etc. This principle also ensures that users are not charged differently based on the reasons listed above, among others.

Without this principle put in place, internet service providers can decide to slow down people's networks, charge differently, or entirely block a network because the users do not measure up to some of their standards or criteria.

Select the education and qualifications that are most helpful for Insurance Services careers. Check all that apply.
leadership skills
critical thinking skills
knowledge of credit systems
research skills
O certification and licensure
bachelor's and master's degrees

Answers

Answer:

critical thinking skills

research skills

certification and licensure

bachelor's and master's degree

Explanation: edge 2020

The education and qualifications that are most helpful for Insurance Services careers are as follows;

Critical thinking skills.Research skills.Certification and license.Bachelor's and master's degrees.

Thus, the correct options for this question are B, D, E, and F.

What is the significance of Insurance Services careers?

The significance of Insurance Services careers is understood by the fact that it is one of the most lucrative sectors in the entire world. The demand for this sector is rapidly growing. It provides various opportunities in specific countries along with global levels like World Monetary funds, world banks, etc.

It is required for all sectors to have particular criteria and eligibility. So, if you are interested to make your career in Insurance Services you definitely have bachelor's and master's degrees along with certain certifications and licensure.

Therefore, the correct options for this question are B, D, E, and F.

To learn more about Insurance services, refer to the link:

https://brainly.com/question/25855858

#SPJ5

Please answer quickly :S

A keyboard would be considered _____. Select 2 options.




storage


an input device


hardware


software


an output device

Answers

Hardware and an input device

Answer: An input device and hardware

Explanation:

Jacob wants to track the profiles of users who visit his Web site. He would like to store the user’s age, income, and location. He should use a _____.


database

template

word processor

spreadsheet

Answers

Describe the spreadsheet. Spreadsheets were created as electronic alternatives to paper accounting worksheets.

What facilitates user tracking on your website?

Search Engine Analyses Simple audience and behavior analytics are provided by Analytics. The demographics of users, the devices they used to access your site, and whether they have previously visited can all be segmented. Additionally, it can monitor a website's traffic volume and advertising effectiveness.

What collects visitor data from websites?

As a conventional analytics system, it provides statistics and information about the traffic to a website, including page visits, sessions, time on page, bounce rates, and much more. Analytics can demonstrate how visitors engage with your website because it is a conventional analytics tool.

To know more about  Spreadsheets visit :-

https://brainly.com/question/8284022

#SPJ1

Question #2
Dropdown
Choose the steps in the order discussed in the lesson.
Step 1:
Step 2:
>
Step 3:
<
Step 4:
Step 5

Input
Check Accuracy
Output
Process
Define the task

Answers

Answer:

1. define the task

2. input

3. process

4. output

5. check accuracy

Explanation:

have a lovely day <3

Other Questions
A video game has 26 levels. You can score 5,337 points on each level. How many hurry plzz Read the text below carefully and then answer the following question.Pensez-vous au futur ? Pensez-vous quil va tre extraordinaire et sans problme ?Par exemple, quelle profession pensez-vous ? Voulez-vous tre chirurgien et oprer les patients ? Dsirez-vous tre pilote, photographe, maire de votre ville ? Vendeur de lgumes ? Homme daffaires ou traducteur ?Que pensez-vous de ces professions ? Pensez-vous que penser au futur est important ?Ou vous pensez prendre le temps pour penser au futur ?The text gives an example of activity for which profession?TraducteurCharpentierChirurgienHomme d'affaires Reggie is deciding when to go bowling with his friends. Friday night is glow-bowling night, with 5 glow-bowling games for $22.50. But the early-bird special on Saturday morning offers 8 games for $30. How much more does glow-bowling cost per game?TELL ME HOW U DO IT ! I WANT A WHOLE NUMBER OR A DEMSEL..PLEASE AND THANK U ! pls someone answer ill give u a cookie "why were the aztec important to latin america history?" What is the simplified value of the expression below?Negative 2.6 + 5.88.43.23.28.4 What is the value of the expression when a = 5 and c = 1 Veins carry blood _______ the heart, arteries carry blood ______ the heart Read a list of ideas that are present within Theresas literary analysis of part 1 of The Call of the Wild.Buck has a comfortable life in California.Buck is introduced to the law of the club by the man in the red sweater.Buck witnesses Curlys death as his introduction to the law of the fang.Buck must adapt in order to survive.Theresa concludes her analysis by writing, "In conclusion, Buck has a hard life in Alaska." How can Theresa revise her conclusion to make it stronger and more specific?Buck seeks revenge on any man who rules with a club because he has learned that men with clubs are bad.Buck survives because of his ability to apply the laws of club and fang to his new experiences in Alaska.Buck avenges Curlys death by using his fangs on the wolves, which shows that now he can use the law of the fang.Buck will expect the comforts of home to be present in the Arctic because his experiences do not change him. Need help ASAP!! Tysm Which process usually uses carbon dioxide? 1. Photosynthesis 2.Active transport 3. Asexual reproduction 4.Cellular respiration Please answer all of these 2. What are some strengths and limitations of the constellations When is it appropriate to use an absolute reference?when the information in a formula always relates to the same cellwhen the information in a formula changes to relate to the cells next to the specified locationwhen the value of a specified cell must remain a positive numberwhen the value of a specified cell must be the same as the value of the cell immediately preceding it solve 7(x-3)+x+22=17 for x. someone help me pls!!!! Chick-fil-A offers its customers a choice of regular and diet soda. Last night, Chick-fil-A served 50 sodas in all, 27 of which were regular. What percentage of the sodas were regular? A liquid has the following properties: one phase, colorless, boiling point of 94 to 97 degrees celcius So answer this ok WHO HATES JIJI on ST MATH I have a few absolute value questions 20 POINTS AND BRAINLIEST TO THE RIGHT ANSWER1.) What is the absolute value of -3?2.)What is the absolute value of 8?3.)What is the absolute value of -4 plus the absolute value of -6?4.)What is the absolute value of 5 minus the absolute value of -9?Giving out 20 points please help Please help its urgent!!!