In the program below, which two variables have the same scope?

def usernameMaker (strFirst, strLast):
return strFirst + strLast[0]

def passwordMaker (strA, numC):
answer = dogName[0:3]
return answer + str(numC)

# the main part of your program that calls the function
username = usernameMaker ('Chris', 'Smith')
dogName = 'Sammy'
favoriteNumber = 7
password = passwordMaker (dogName,favoriteNumber)

strA and

Answers

Answer 1
Answer: numC

Explanation:

strLast and strFirst have their scope up to the function usernameMaker only. They don't have any relation with the variable strA in terms of scope.

numC has the scope same as the variable strA. They both have scope in the function passwordMaker

Therefore, correct answer is numC

Answer 2

Answer: num C

Explanation: got it right on edgen


Related Questions

Where are 'if' and 'else' statements shown when printing a document in a word processor?

Answer the question and then your task is to:

Write an algorithm or sequence of instructions that include the IF statement for the document being printed.

Answers

Explanation:

cpt price

in addition to good design sense, what else do web designers need to be proficient in?

Answers

In addition to good design sense, web designers need to be proficient in front-end coding languages.

A web designer refers to an individual who is saddled with the responsibility of writing executable codes (instructions) for the design and development of a website, especially by using a hypertext markup language (HTML).

Generally, it is expected that all web designers a good design sense in website development. Additionally, web designers need to be proficient in front-end coding languages, so as to ensure the graphical display and user-interface (UI/UX) are attractive and properly rendered.

Some examples of front-end coding languages include:

CSSHTMLJavascriptReactJQuerryVue

Read more on web design here: https://brainly.com/question/8391970

What is the default folder for text file

Answers

documents or download

It depends where you install it to

Answer:

numbers are stored as characters

Explanation:

currently saved in if another folder

HELP PLEASE!!

which of the following is document content that displays at the top of every page?

Answers

Explanation:

that is a trick question if you need help ask your teacher

Answer:

Title

Explanation:

If you are in the Slide Master view, what are the steps to add headers and footers?

Answers

Answer:

THat is the correct order.

Explanation:

A network of computers that provides access to information on the web.
Question 13 options:

Phishing

Internet

Antivirus Application

Modem

Answers

Answer:

Internet

Explanation:

I think it is Internet

Kari needs to change the brightness and contrast on an image she has inserted into a Word document. Which group should she use to do this? Adjust Picture Styles Arrange

Answers

Answer:

adjust

Explanation:

it can be found in the top left corner

An IT security threat is anything that might cause serious harm to a computer system.
Question 16 options:
True
False

Answers

Answer:

True

Explanation:

this is true because a threat can endanger the computer and its system

A portfolio is a collection of materials that demonstrates your skills, abilities, achievements, and potential.
Question 22 options:
True
False

Answers

A portfolio is a collection of materials that demonstrates your skills, abilities, achievements, and potential.

A portfolio is a living and changing  collection of records that reflect your  accomplishments, skills, experiences,  and attributes. It highlights and  showcases samples of some of your best  work, along with life experiences, values  and achievements. A portfolio does not take the place of a resume, but  it can accentuate your abilities and what  you can offer in the chosen field.

Find out more about portfolio at: https://brainly.com/question/24811520

Which of the following is Tynker an example of?
Group of answer choices

database

flowchart

Integrated Development Environment

binary code

Answers

Answer:\

Integrated Development Environment

hope it help

Answer:

C

Explanation:

i did the test

You arrive at school on Friday for a field trip ! What a lucky day!You need to figure out what room you are in before leaving. You notice there are rosters on each door . What do you do to find your correct room?
If the roster were sorted alphabetically by last name , would that change how you found your correct room ?

Answers

Answer:

Look for the first letter of your last name

Explanation:

Michaela has been tracking the temperatures of the dirt, pond water, and air near her home for a science investigation. She is ready to analyze the data to prepare for her science report. Based on each application’s strengths and weaknesses, which one would be the best to choose for this task?

Answers

Answer:

The science of investigation

Explanation:

hope it help

How has A.I. evolved and helped humanity in recent times?

Answers

Answer:

AI has helped many people in these days.

Explanation:

With AI adoption on the rise, the technology is addressing a number of global challenges.

Artificial intelligence is being used to help crack down on illegal activities.

It is helping to tackle over fishing in our ocean.

And it is even being used to address the issue of gender imbalance.

Linear gameplay is sometimes also known as “campaign mode” or what mode?
A. skirmish mode
B. battle mode
C. story mode
D. cyclical mode

Answers

Answer:

Story Mode

Explanation:

The game has a clearly-defined beginning, middle, and end, also known as campaign or story mode.

Answer:

C

Explanation:

Q44. Cell A20 displays an orange background when its value is 5. Changing the value to 6 changes the background color to green. What type of formatting is applied to cell A20

Answers

The type of formatting that is applied to cell A20 is called conditional formatting.

Conditional formatting in Excel Sheet enables an easier method of highlighting noteworthy cells or ranges of cells, displaying data by employing data bars, color scales, and icon sets that match particular variations in data.

A conditional format modifies the look of cells based on the conditions you set. The cell range will be formatted provided that the conditions are true; if otherwise, it will be false and the cell range will not form.

Learn more about conditional formatting here:

https://brainly.com/question/25051360

Write any two uses of ruler in word program

Answers

Answer:

1.It is used for draw the table, making results and assignments etc.

2.It is used for lining

Explanation:

Hope it helps

#CARRYONLEARNING

what is control structure write it's types​ .

Answers

Answer

Defination-:

A control statement is a statement and a statement whose execution its control.

Types-:

Selection StatementIteration StatementUnconditional branching Statement

Arrange the code so that the numbers are swapped.

Answers

Rand.int(your_num , your_num

How many things can a computer compare at one time?

Answers

Answer: billion of items at one time

Explanation: The computer is very capable of comparing items bulk at one time

a client has requested adjustments to the arrangement and placement of elements on an image. what does the client want changed?

Answers

Considering the situation described above, the client wants the image's recipe to be changed.

What is the Image Recipe?

Image Recipes are characteristics of an image or picture. It includes features like shape, size, form, pattern, line, shadow, tone, color, contrast, positive space and negative space, etc.

Given that the client needs adjustments to the arrangement and placement of elements on an image, this is a request for a change in the image recipe.

Hence, in this case, it is concluded that the correct answer is "the client wants the recipe of the image changed."

Learn more about the Image Recipe here: https://brainly.com/question/1605430

Oil refining is an example of:

Construction Production
Extractive Production
Domestic Production
Traditional Production

Answers

Answer:

i think the answer is B but i could be wrong...

Answer:

Extractive production

Explanation:

See

Oil refining denotes to after oil extraction situationFirst oil is extracted then gets refinedSo it's extractive production

This is an image of the ...................... Topology. * If you get it right i will mark you brainlist ​

Answers

Answer:

Tree

Explanation:

gourmet pizza shop with a
Question 19
What type of competition does Netflix and a movie theater represent for each other?
A Weak direct competition
B Strong direct competition
C Indirect competition
D Global competition

Answers

Answer:

B.Strong direct competition.

Explanation:

Netflix can be viewed by anyone and at anytime.

Strong direct competition is the type of competition does Netflix and a movie theatre represent for each other. Hence, option B is correct.

What is Strong direct competition?

Direct competition occurs when multiple companies compete for the same market by offering the same product or service. There are several common examples of this.

One is the rivalry between McDonald's and Burger King; specifically, the Whopper and the Big Mac are bitter rivals. Direct competition is when two or more enterprises directly compete for the same potential market by offering almost similar goods or services.

Are actions taken by public authorities or governments to lessen the competitiveness of imported goods and services in comparison to locally produced ones. poor straight competitor The primary concentration is on one product.

Thus, option B is correct.

For more information about Strong direct competition, click here:

https://brainly.com/question/28739321

#SPJ2

Janet is playing a game in which she interacts with an environment to solve a puzzle and to meet new characters. She really enjoys this game because there are no time constraints or pressure to perform with speed. What genre of game is Janet most likely playing?
A. simulation
B. action
C. adventure
D. sports

Answers

Answer:

C. adventure

Explanation:

Very few games have any sort of narrative, not even a simple one that involves setting the mood through color, sound, environment, and game mechanics.

A.
True
B.
False

Answers

Answer:

B. False

Explanation:

Numerous amount of games have narrative, there is an entire genres built around narratives. Any RPG game has a narrative and even bog standard FPS games have some sort of backstory and effects setting a mood.

6. Which devices of computer is known processing devices? las >​

Answers

Answer:

CPU is known as processing devices..!

what type is the combination of an integer and a string

Answers

Answer:

Concatenation.

Explanation:

outline how the appropriate features that may be used to ensure that the document is free of spelling and grammatically errors.​

Answers

Answer:

Answer

Since Sophie often makes a lot of

grammatical and spelling errors in her

document, it might be best for her to use

a feature available in Microsoft Word that

would help her better in understanding

what her mistakes are, which is

something that (D) Explain does.

Explain would tell Sophie which part of

her sentence is wrong, or what word

did she mistype, and what better way to

phrase a sentence to avoid fragmented

ones.

Lacking in movement, action, or change, especially in a way viewed as undesirable or uninteresting�
Question 11 options:

Malicious

Algorithm

Static

Web Browser

Answers

Answer:

Static

Explanation:

I just took the test man!

Sort the layout options for two types of masters in PowerPoint.

Answers

Answer:

The program photo is showing the correct answers and the correct place for the two that you missed.

Explanation:

Answer: ANSWER IS SHOWN CORRECTLY

Explanation:

I REALLY HOPE IT HELPS YOU!!!!!!!!!!!!!

THANK YOU & BE SAFE TOO!!!!!!!!!!!!!!!

Other Questions
Which one of the following disease is caused by a protozoa?a.Kala-azarb.Sleeping sicknessc.Rabiesd. both a and b How do scientists identify organisms that may have disease resistance genes? write the main roles of water Which of these was a result of the industrial revolutiona. A decrease in trade between countriesb. An increase in the population of citiesc. An equal distribution of ealthd. A return to the feudal systemIll give brainliest :0 ou dissolve a 2.50 g penny in 50.0 mL of HNO3. After reacting overnight, you dilute the blue solution to a volume of 100 ml. You test a sample of this solution, and find that it has an absorbance of 0.12 abs at 635 nm. i Calculate the concentration of Cu (x+3):(x+3)Ehjensnsn An article when sold at a profit of 5% yields Rs 50 more than when sold at a loss of 5%. What was the cost price of the article? 1. What is denotation? ((7,4),(6,3),(5,2)Function?Domain:Range: how do i tell if an angel is comolentery, supplmentsry, or neither? I was not at school the day they showed me this? pls help meI am giving brainliest How can you identify the number of solutions of linear equations? this is 6th grade work there will be more questions on this but i needed help on this For each problem below put the lettered measures in order for greatest to the least the expression of potential energy , i.e., P.E.=mgh , where the terms used have their usual meaning if it takes a track runner 2.16 seconds to reach a speed of 5.31 m/s from the start of a race, what is the runners acceleration? which numbered region MOST LIKELY had an economy that relied primarily on agriculture? Which of the following does not describe the role of dialogue in a story?Dialogue provides realism.Dialogue slows down the pace of a story.Dialogue advances the story.Dialogue develops the characters.pls help help plzzzzzzzzzzzzzzzzzzzzz Is ebola an envelope virus? if so why?