The admission booth at the show requires each person to enter their age. Then the following program executes (See image.): When age = 16, what action would the program execute?



A. print “16”
B. print “Student price is $8.”
C. print “14”
D. print “Student price is $14.”

The Admission Booth At The Show Requires Each Person To Enter Their Age. Then The Following Program Executes

Answers

Answer 1

the data represented by numeric whole-number values, either positive or negative, that do not have decimal points

A. Boolean

B. string

C. Float

D. integer

What is another name for repetition in programming?

A. duplication

B. replication

C. redundancy

D. iteration

All of the following are types of errors in a computer program EXCEPT

A. syntax

B. parameter

C. semantic

D. logic

17.

What is one way that programmers insert explanatory statements in their code?

A. for loops

B. compiling code

C. use comments

D. create variables

18.

Why is readable code important? Choose all that apply.

A. It is more fun to write.

B. It makes the purpose and flow of a program easier to understand and follow.

C. Anyone needing to work with the code in the future will have an easier time.

D. It will save time when it is time to update the program.  (MAYBE D AS WELL) if u are allowed to select more than 2

19.

All of the following are true about debugging except

A. debugging is not a necessary process

B. it is a process of identifying and eliminating errors in a software program

C. it is essential to produce high-quality programs

D. eliminating bugs is an important part of the program development cycle

20.

The type of conditional statement that tests if a condition is true or false

A. if

B. not

C. or

D. and

24.

Which best describes a computer bug?

A. a piece of computer hardware that is out of date or has a newer version

B. a piece of computer software containing defects that prevent a program from running properly

C. a piece of computer hardware that is being used improperly

D. a piece of computer software that is out of date or has a newer version

25.

Which set of variables will make code easier to understand?

A. a, b, c

B. sum, price, count

C. xii, xix, xxi

D. x, y, z

23.

An argument is different from a parameter in that an argument

A. refers to a piece of data to be supplied.

B. is a placeholder for a constant value.

C. is the data passed into a parameter.

D. is always variable.

Answer 2

Answer:

B. print "Student price $8."

Explanation:

B


Related Questions

In full verbatim, a person wants to say that they admitted him to a hospital last month. He makes a mistake about the date and quickly corrects himself. How should a correct sentence look like?

Answers

He should cancel the date and move to another country semis how he screwed up his work, hope this helped

PLEASE HELP AND HURRY!!!

Which command group on the Format tab of the SmartArt Tools contextual tab allows a user to change the fill and outline of SmartArt shapes?

Shapes
Shape Styles
Arrange
Size

Answers

Answer:

Shape Styles

Hope this helps :)

Mark me brainiest

Explanation:

What pets are on Terraria and how can you get them?

Answers

Answer:

There are over 15 new pets that can be found in chests and dropped rarely off enemies: Baby Dinosaur, Baby Eater, Baby Hornet, Baby Penguin, Baby Skeletron Head, Baby Snowman, Baby Truffle, Black Cat, Eyeball Spring, Pet Lizard, Pet Parrot, Pet Sapling, Pet Turtle, Squashling, and Tiki Spirit.

Explanation:

Answer:

You can get some from the traveling merchant, others can be found by simply playing the game. Most bosses drop pets in master mode, and the EoW and BoC rarely drop pets in normal mode

Explanation:

Which statement best describes the pros and cons of lack of regulation for cloud-based technology? Lack of regulation enables people to collaborate without the extra cost of paying a service provider; however, there is an increased opportunity for cybercrime. Lack of regulation speeds up the process of invention, but requires individuals to back up their own data. Lack of regulation encourages open innovation, but is not always secure. Lack of regulation encourages greater collaboration, but can lead to increased cost from price increases.

Answers

Answer:

3.) Lack of regulation encourages open innovation, but is not always secure.

Explanation:

Got it right in Introduction to Careers in Arts, A/V Technology and Communications

For which discipline is it most important to study computer technical support and networking?

Answers

Answer:

Studying computer technical support would contribute most to the disciplines of computer engineering and information technology.

have an amazing day! =)))

Tenim tres resistors en sèrie, calcula la tensió que hi haurà a cadascuna d'elles sabent que una d'elles és de 680 Ω i les altres són de 220 Ω. El generador té una tensió de 12V.

Answers

Resposta:

Per a càrrega de 680Ω: 7,27 volts

Per a les dues càrregues de 220Ω: 2,36 volts cadascuna

Explicació:

Segons la llei d’ohms

E = IRt

E és la força electromotriu = 12V

I és el corrent total que circula al circuit

Rt és la resistència equivalent total

Com que els 680Ω, 220Ω i 220Ω estan en sèrie;

Rt = 680 + 220 + 220

Rt = 1120Ω

Obteniu el corrent total del circuit:

Recordem que: E = IRt

I = E / Rt

I = 12/1120

I = 0,0107A

Tingueu en compte que el mateix corrent flueix a través de resistències connectades en sèrie, però tensions diferents.

Obteniu les tensions individuals;

Per a càrrega de 680Ω;

V = IR

V = 0,0107 * 680

V = 7,27 Volts

Per a la càrrega de 220Ω

V = IR

V = 220 (0,0107)

V = 2,36 volts

Per tant, les tensions de les dues càrregues de 220Ω seran de 2,36 volts cadascuna

What does the following loop do?

val = 0
total = 0

while (val < 10):
val = val + 1
total = total + val
print(total)

Prints the numbers backwards from 10 to 1.

Prints the sum of the numbers from 1 to 10.

Finds the average of the numbers between 1 and 10.

Prints the numbers from 1 to 10.

Answers

Answer:

Prints the sum of the numbers from 1 to 10.

Explanation:

YOU NEED BETTER INDENTATION

Total is the sum.

Each loop it's added

:)

What is a product of respiration

Answers

Answer:

carbon dioxide and water

Explanation:

hi who plays among us

Answers

Answer:

Me

Explanation:

Lol

Answer:

used to, i like that the game is inexpensive and run well, i hate the thirst boys though

Explanation:

What is the purpose of concatenation?

To combine two variable names in order to form a string
To combine two or more strings into one big string
To pull out a group of characters from a string
To pull out one specific character from a string

Answers

Explanation:

Concatenation allows you to add multiple strings together to form one long string by using the '+' operator between each string, so the purpose of concatenation is "to combine two or more strings into one big string" (third option).

Hope this helps :)

You defined a class and saved it as shoe.py.
Which line of code will allow you to use the class in another program?
from shoeClass import *
O import shoe from
O from shoe import
O import shoeClass from

Please hurry

Answers

Answer:

Import shoeClass from

Explanation:

You defined a class and saved it as a shoe. The line of code that allows you to see the class in another program is import shoeClass from. The correct option is d.

What is programming?

A form of computer programming language known as procedural programming describes a number of well-planned actions and processes during the course of its development.

It includes statements, functions, and commands that are organized systematically to finish a computing task or program. Its main focus is on developing procedures.

While object-oriented programming is a type of programming where the emphasis is on creating objects as opposed to actions and data or logic. Its four guiding principles are encapsulation, abstraction, polymorphism, and inheritance.

Therefore, the correct option is d. import shoeClass from.

To learn more about programming, refer to the link:

https://brainly.com/question/14368396

#SPJ5

List any ten keyboard symbols.​

Answers

Answer:

Esc- Esc (escape) key.

F1 - F12 What are the F1 through F12 keys?

F13 - F24 Information about the F13 through F24 keyboard keys.

Tab Tab key.

Caps lock- Caps lock key.

Shift- Shift key.

Ctrl - Control key.

Fn- Function key.

Alt- Alternate key (PC only; Mac users have an Option key).

Spacebar- Spacebar key.

Hope this helps, have a great day/night, and stay safe!

HELP!!!

To help ensure that an HTML document renders well in many different web browsers, it is important to include which of the following at the top of the file.


A) an html tag

B) a doctype declaration

C) a body tag

D) a head tag

Answers

Answer:

The detail answer of this question is given in explanation section.

The simple answer is option B

Explanation:

Let took at each option:

A) an html tag

An html tag is used to start and end html document. It does not have anything to do with rendering.

B) a doctype declaration

The document type declaration is necessary because it tell the browser which version of html should be rendered.

C)Body tag tell the browser. it is the visible area of website.

D) A hear tag is used to clear meta data about website.

Answer:

I think it is:

B. a doctype declaration

Explanation:

Compare and contrast the advantages and disadvantages of the Windows, Apple and Linux operating systems.

Answers

In apple, you may do other things that windows can not provide. Yet, Windows are good aswell since it has better things than apple. I’m so sorry if i’m wrong.

delete temp or %temp% files in Windows 10 is safe and, can it help boost up your PC fps?

yes or no

Answers

Answer:   yse

Explanation...

Tell me everything that happened in the fortnight galactics event. WHO EVER HAS THE BEST EXPLANATION WILL GET BONUS POINTS AND WILL BE MARK BRAINLYNESS

Answers

Answer:

people still play fortnight?!?!

Explanation:

psn: Smallboy_life

what is electro magnetism

Answers

Answer:

Electromagnetism is a branch of physics involving the study of the electromagnetic force, a type of physical interaction that occurs between electrically charged particles

Explanation:

Answer:

malay ko di ko alam sagot dyan eh kaya isip ka rin ghourl

The
feature in Photoshop will help Franklin see the printed version of the document on the screen before he actually prints it.

Answers

Answer:

print preview

Explanation: platooo

Selena made a diagram to compare and contrast transmitters and receivers.

A Venn diagram of two ovals. The left oval is labeled Transmitters. The right oval is labeled Receivers. There is an X inside the overlap.

Which label belongs in the area marked X?

Amplifies radio waves
Demodulates radio waves
Sends out radio waves
Captures radio waves

Answers

Answer:

A. Amplifies radio waves

Explanation:

e2021

Answer:

its A on ED

Explanation:

Images, symbols, and diagrams are types of

art objects
Graphs
graphics
presentation objects

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is :

Graphics

Because Graphics are the visual representation of information without text. Images, symbols, and diagrams are types of graphics. These graphics can be used in presentations to present information visually.

While other options are not correct because:

Art objects are some images or painting that is the artistic creation of aesthetic value. While graphs are the visual presentation of data and there are different presentation objects in PowerPoint such as images, symbols, text, and diagrams, etc. But it is noted that images, symbols, and diagram are not types of presentation objects but it is a type of graphics elements/objects.

Describe the scope of the variables in this code.

class pet:
def __init__(self,strSpecies,strName):
self.species = strSpecies
self.petName = strName

def __str__(self):
return self.species + " named " + self.petName

def changeName(self, newName):
self.petName = newName

class petCarrier:
size = 'medium'
color = 'red'

The scope of petName ______.

The scope of color is ______.

Accessible to the entire program
limited to the petCarrier class
limited to the pet class


(both of the blanks need one of those answers)

Answers

The scope of petName is local to the class pet.

The scope of color is accessible by all parts of the program.

How to interpret programming variables?

The variable petName is local to the class; This isdue to the fact that the variable was created in a function whose name begins with two underscores.

The variable color; This is created in the petCarrier class and is accessible to the entire function. This was not created in a function whose name begins with an underscore.

Read more about programming variables at; https://brainly.com/question/9238988

#SPJ2

Answer:

The scope of petName limited to the pet class

The scope of color is accessible to the entire program

Explanation:

edge

QUICKLY PLEASE!!!

Respond to the following in three to five sentences.

What is the purpose of netiquette guidelines?

Answers

Answer: As the conventional etiquette, which lays out rules of ethics in social contexts, the purpose of netiquette is to help create and sustain a friendly, relaxed and productive atmosphere for online contact, as well as to avoid putting pressure on the system and creating tension between users.

Explanation:

One advantage of putting information into a database is that you can filter the data.
O True
O False

Answers

Answer:

True.

Explanation:

One of the purposes of databases is to allow data lookup through queries, which is basically filtering data, using efficient algorithms too.

Answer:

True

Explanation:

How many passes will it take to find the five in this list?

1, 5, 10, 15, 20, 22, 30
3

1

4

2

Answers

Answer:

1 im prety sure

Explanation:

Answer:

2

Explanation:

is the correct answer

good luck

company abc is buying computers for board members

Answers

Answer:

Not enough information.

Explanation:

!PLEASE HELP! My business office specialist class, this is about Access.

Which settings are available in the Options dialog box? Check all that apply.

the name of the user or the initials
the images to include in a database
the object types to include in tables
the default format for new databases
the default folder for storing databases
the folders containing trusted databases
the number of databases to save in each folder

Answers

Answer:

b

Explanation:

Answer:

Probably late but the answers are

A: the name of the user or the initials

D: the default format for new databases

E: the default folder for storing databases

F: the folders containing trusted databases

WILL GIVE BRAINLIEST!! 20 PNTS!!

A tree that shows how a webpage is laid out is called a-

A. Family Tree Document.

B. Diagram Object Model.

C. Document Object Model.

D. Document Graphic.

Answers

Answer:

B :)

Explanation:

.........

Hello! Thank you for asking this question on Brainly!

Your question is:

“A tree that shows how a webpage is laid out is called a-

A. Family Tree Document.

B. Diagram Object Model.

C. Document Object Model.

D. Document Graphic.”

The answer to your question would be B. Diagram Object Model.

According to Visual Paradigm, “An object diagram is a UML structural diagram that shows the instances of the classifiers in models. Object diagrams use notation that is similar to that used in class diagrams. Class diagrams show the actual classifiers and their relationships in a system.”

Have a great day!

<3

Why do you usually find domain names instead of IP addresses in a URL? Select one: a. An IP address would make your web page load more slowly b. A domain name is easier to remember C. An IP address is not guaranteed to get you to the right server computer d. Domain names are free, while IP addresses are very expensive ​

Answers

Answer:

b

Explanation:

for exaple brainly.com is easy to remember instead of 104.17.73.91

What is the average rate of change of h(x)=2^{x+1}h(x)=2 x+1 h, (, x, ), equals, 2, start superscript, x, plus, 1, end superscript over the interval [2,4][2,4]open bracket, 2, comma, 4, close bracket?

Answers

Answer:

Average Rate = 12

Explanation:

Given

h(x) = 2^(x + 1)

Interval = [2,4]

Required

Determine the average rate of change

The average rate of change of h(x) is calculated using.

Average Rate = (h(b) - h(a))/(b - a)

Where

[a,b] = [2,4]

Meaning a = 2 and b = 4

So, the formula becomes:

Average Rate = (h(4) - h(2))/(4 - 2)

Average Rate = (h(4) - h(2))/2

Average Rate = ½(h(4) - h(2))

Calculating h(4)

h(4) = 2^(4+1)

h(4) = 2⁵

h(4) = 32

Calculating h(2)

h(2) = 2^(2+1)

h(2) = 2³

h(2) = 8

So, we have:

Average Rate = ½(h(4) - h(2))

Average Rate = ½(32 - 8)

Average Rate = ½ * 24

Average Rate = 12

Hence, the average rate of change is 12

To prevent the header from appearing on the title page of your document, select the______ option .
a. Different Odd and Even Pages
b. Different First Page
c. Position Grouping
d. Page Number​

Answers

Answer:

b. Different First Page

Other Questions
Imagine a historical figure is brought back to life. Who is it? What is their favorite mobile app and why? Each large rectangle below represents one whole.What percent is represented by the shaded area? The discovery of gold at Dahlonega was significant because it was found. O on Cherokee land and provided a way to expand their territory. O in disputed territory and led to a Cherokee war with the settlers. O on Cherokee land and led to settler demands for the Cherokees' removal. O in disputed territory and led to the Cherokee removing settlers. Line 9 and 10To calculate your taxable income, subtract the sum of lines 8and 9 from line 7, and then enter that number here. List examples of repetition the authors usesIndian Boy Love Song (#2)I never spokethe languageof the old womanvisiting my motherin winters so coldthey could freezethe tongue whole.I never held my headto their thin chestsbelieving in the heart.Indian women, forgive me.I grew up distantand always afraid. Choose all the expressions that are equal to 5/9 multiply 8 What page is the word "ballistics" on in Fahrenheit 451? Which pronoun best completes the sentence?Joe picked up my sister and ___ to work.A.) himB.) her 30 POINTS!! PLEASE HELP ME The term empty calories means the food doesn't help the body.TrueFalse Gross Domestic Product! Help its just 2 questions! Please and Thank You! If bananas cost $0.45 each, how much will 9 bananas cost in all 6. Slope =Y-InterceptEquation in slope-intercept form: !!!!Hurryy plz will give 20 points and brainlyest plzzzzzz!!!Which division problem does the model show? T blank de Nueva Orleans.Fill in the blank Enter the value of p so that the expression 3(4+n) is equivalent to 3(n+p). 15 points!Can someone help me find the range of this question please. PLZ HURRY TIMED TEST comparing items looking for key words such as "compare" or "contrast allowing extra time to answer identifying warning words such as "abso "abschung checking the space for writing the answer PLEASEEE HELP ILL GIVE BRAINLIEST btw there are 2 attachments so u could see all the answer choices I WILL GIVE BRAINLYISTWhich of the following types of stars had the smallest initial mass? (10 points)Group of answer choicesBlue main sequenceNeutron starRed supergiantWhite dwarf