7.4 Lesson Practice (projectstem): what is output if the user is enters 2?​

7.4 Lesson Practice (projectstem): What Is Output If The User Is Enters 2?

Answers

Answer 1

Answer:

18

Explanation:

lets go step by step.

the function called tryIt has a value, a variable named "a". this "a" variable will be whatever the user enters when the program says, Enter a number.

ok so if we enter "a" as 2, and b in the function will always be 7, and 2 + 7 equals 9,

and the ans variable (short for answer) will take the result of the function (9) and multiply it by 2,

then the answer is 18


Related Questions

WILL MARK A BRAINLIEST!!! PLS HELP!!!





Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you

Answers

Answer:

man, just got rick rolled brb going to cry

Explanation:

Daijōbu desho. Datte Kimi yowai mon.

Coordination in a global information system requires a _____ architecture for data, standardization within departments.

Answers

Coordination in a global information system requires a decentralized architecture for data, standardization within departments

After determining that a printer is unable to print in red ink, you replace the magenta cartridge. Upon attempting to print again, you discover the problem still exists. What would be the NEXT logical step

Answers

Answer:

Make sure your yellow cartridge also has ink.  

Explanation:

Also make sure yellow cartridge also has ink. Mixture of Mag and Yellow will give you red.  If still does not work, depending upon your printer, try going to the setup and try running Print Quality diagnostics.  Run it few times and see if it helps.

The logical step that follows with the replacement of the magenta cartridge for not printing the red ink is the cleaning of the printer head.

What is the function of a printer?

The Printer is used to transfer the graphics output from the system and create the output to the paper. It uses a cartridge to perform the printing with the help of ink.

The printer uses the ink in the cartridge to form the representation of the color on the paper. In case the red ink is not printable, and the issue did not get resolved with the change in the magenta cartridge, the next logical step involves the cleaning of the printer head.

Learn more about the cartridge, here:

https://brainly.com/question/13504303

#SPJ2

How do people get in your computer

Answers

Answer:

????

Explanation:

This is absurd, you cannot enter your computer. it is to tiny for you to fit in.

Answer:

Explanation:

I don’t know

explain about cyber terrorism​

Answers

Explanation:

cyber terrorism is type of hacking group with give the country that are to illegal group

Apple computers ship their computer parts to India to be made, and station their tech support in India. This is an example of a:

Answers

Companies are known to set up different branches. This is an example of a Global assembly line.  

An assembly line is known to be a production process that breaks down the manufacture of goods into different steps that are completed in a known sequence.

These lines are often used method in the mass production of products as they reduce labor costs.

Global Assembly Line  is simply known as distributed manufacturing method that entails the product research and development in wealthy countries and assemblage in poorer countries.

Learn more from

https://brainly.com/question/2954967

Answer:

Shipping?

Explanation:

No options sooo

test case Exercise 1: Consider the following system: A System reads four integer values from a user. The four values are interpreted as representing the lengths of the sides of quadrilateral shape. The system prints a message that states whether the shape is rectangle or square. Function: Description: Test Input Data:

Answers

The program displays if the side values of the quadrilateral is a square or rectangle. The required program is written in python 3 thus :

a = int(input('Enter integer input : '))

b = int(input('Enter integer input : '))

c = int(input('Enter integer input : '))

d = int(input('Enter integer input : '))

#the variables a, b, c, d takes prompt values from users which are used to compare if the quadrilateral is a square or rectangle.

if(a == b == c == d):

#using the assignment operator, compare the value of a, b, c and d

print('Shape is square')

#if the values are the same, the shape is a square

else :

print('Shape is Rectangle')

#otherwise, the shape is a rectangle

The sample run of the program is attached below.

Learn more : https://brainly.com/question/18405415

Write a function that will receive 5 numbers from a user (inputted one at a time-- use reassignment!) and will count then print how many of the numbers are odd.

Answers

The program is an illustration of loops.

Loops are used to perform repetitive operations

The function in Python where comments are used to explain each line is as follows:

#This defines the function

def count_odd(mylist):

   #This initializes the count variable to 0

   count = 0

   #This iterates through the list

   for i in mylist:

       #This checks if the current list element is not even

       if not i%2 == 0:

           #If yes, this increments the count variable by 1

           count+=1

   #This returns the count of odd numbers

   return(count)

Read more about similar programs at:

https://brainly.com/question/18269390

You are running the Chrome Web browser and try to open a Web site when you are prompted for login credentials. What TCP/IP model layer is at work that requires you to logon to the Web site

Answers

Considering the situation described above, the TCP/IP model layer that is at work that requires you to log on to the Web site is known as the "Application layer."

The application layer, otherwise known as the abstraction layer, is defined in the Internet Protocol Suite (TCP/IP) and the OSI model.

Also, the application layer determines the shared communications procedures and interface modes utilized by the hosts in a communications network.

Some of the common examples of application layer include the following:

Hypertext Transfer Protocol (HTTP),File Transfer Protocol (FTP),Domain Name System (DNS), etc.

Hence, in this case, it is concluded that the correct answer is "Application layer."

Learn more here: https://brainly.com/question/25278036

PLEASE HELP! WILL MARK AS BRAINLIEST JavaScript can be implemented using the _________ HTML tags in a web page.​

Answers

Answer:

JavaScript can be implemented using JavaScript statements that are placed within the ...  HTML tag

Explanation:

How will you select the range of cells in excel . ​

Answers

Answer:

just left click the cell that you want and drag your mouse towards how much you want to select I guess

Answer:

To select a range, select a cell, then with the left mouse button pressed, drag over the other cells. Or use the Shift + arrow keys to select the range. To select non-adjacent cells and cell ranges, hold Ctrl and select the cells.

Explanation:

: Describe the type of gameplay seen during early video games (ex. Spacewar!, Pong).

Answers

Answer:

Computer scientists began building rudimentary games and simulations on mainframe computers in the 1950s and 1960s, with MIT's Spacewar! in 1962 being one of the first such games to be played with a video display. The first consumer-ready video game hardware arrived in the early 1970s, with the Magnavox Odyssey, the first home video game system, and the first arcade video games from Atari, Computer Space and Pong, the latter of which was later transformed into a home console version. Pong's success in arcades and at home prompted numerous firms to create clones of the game, resulting in a market contraction in 1978 owing to oversaturation and a lack of innovation.

Which of the following can be considered as peripheral devices?
A). Primary storage media
B). User interfaces
C). Secondary storage media
D). Operating systems​

Answers

Answer: A) Primary Storage Media


Explanation:

A computer peripheral is any external device that provides input and output for the computer

The option that can be considered as peripheral device's is Primary Storage Media. Thus, option A is correct.

What is a peripheral device?

A peripheral, also known as a peripheral device, is an auxiliary device used to input and output data from a computer.

Terminals, printer, outside floppy hard disks and other data storage devices, video displays, keyboards, interfaces cards, external memory adapters, and other input/output gadgets that might or might not contain digital circuitry are examples of peripheral devices.

The computer retrieves and stores the data in the primary storage device until the procedure is done, or the data is no longer needed. Primary storage devices include random-access memory (RAM), graphic card memory, and cache memory.

A computer peripheral is any outside device that allows the computer to receive and send data. Therefore, it can be concluded that  option A is correct.

Learn more about peripheral device here:

https://brainly.com/question/21080721

#SPJ2

Is it always best for a company to make decisions based on data, or are there some situations where they should not focus on data?

Answers

Answer:

data-driven decision

Explanation:

While 91% of companies say that data-driven decision-making is important to the growth of their business, only 57% of companies said that they base their business decisions on their data. Data-driven decision-making is a great way to gain a competitive advantage, increase profits and reduce costs!

In Linux, most applications and commands are in the ____ directory or its subdirectories bin and sbin.

Answers

On a Linux computer, most of the software applications are saved in the /usr directory or in its subdirectories named, bin and sbin.

A Linux can be defined as an open-source and community-developed operating system (OS) that is designed and developed for the following electronic devices:

Mainframes. Computers.Embedded systems.Mobile devices.

Generally, the Linux operating system (OS) is based on UNIX and it is typically released under the GNU general public license (GPL).

On a Linux computer, the commonly used directory for saving most software applications is the /usr directory or sometimes its subdirectories named, bin and sbin.

Read more: https://brainly.com/question/20629962

prepare a short report of some technological devices??
please help me brainliest​

Answers

Answer:

Technology is the most useful form of science for the general population. In simple words, technology is when we take the concepts of science and transform them into gadgets and devices that are useful to us as human beings. When we look around us, almost everything is a result of or a form of technology.

For example, the device you are using right now is a form of technology made for communication, or the refrigerator in your kitchen is a use of science that helps to keep your food fresh and cool. With these examples, we see how dependent we are on technology and how important it is for us in our daily lives.

It isn’t easy to imagine our lives without using any form of technology. For the smallest of communications, we tend to turn to our mobile phones. Even most of the food we eat is packaged in factories using various technologies. Thus, imagining a life without technology is impossible. It is not only a fact of life but also a necessity for all of us.

In fact, the smartphone, that is, a mobile phone which can connect to the internet, is becoming one of the fastest-growing and most accessible forms of technology around the world. On a smartphone, you can click photographs, browse the internet, listen to music, and use social media. With the advent of smartphone technology, the practical purpose of not only communicating with your friends is met, but also so many others, as mentioned.

Thus, in today’s world, the importance of technology becomes more and more as the years pass. Scientists have done so much to advance humans using technology, and we still have a long way to go.

Explanation:

You are welcome! ;D

to determine the highest number in a range of numbers, click insert function box in the formula bar to display the insert function dialog box, then select ____.

Answers

Functions in Excel are used to perform several arithmetic and logical operations.

The text that completes the statement is MAX

From the question, we understand that you want to determine the highest number in a given range of numbers.

This is done using the MAX function.

i.e. after the insert function box has been selected, the formula to use is the MAX function.

Hence, the complete statement is:

Click insert function box in the formula bar to display the insert function dialog box, then select MAX.

Read more about Excel functions and formulas at:

https://brainly.com/question/20497277

Emilie is reviewing a log file of a new firewall. She notes that the log indicates packets are being dropped for incoming packets for which the internal endpoint did not initially create the request. What kind of firewall is this

Answers

Firewalls are used to screen and avoid block the threat posed by unwanted data or files that could want to penetrate into a system. Hence, the kind of firewall described is packet filtering firewall.

Packet filtering firewall describes a network security protocol which examines individual data packets entering into a system.

Each data packet is screened based on established principles and protocols, with only those who meet the defined requirement allowed to reach their destination while others are dropped.

Hence, the missing phrase is packet filtering firewall.

Learn more : https://brainly.com/question/25706522

1) The critical path of a network is the A) shortest time path through the network. B) path with the fewest activities. C) path with the most activities. D) longest time path through the network. E) None of the above

Answers

Answer:

D

Explanation:

source

https://hbr.org/1963/09/the-abcs-of-the-critical-path-method

why are extensions necessary in scratch programming as a whole?​

Answers

Scratch extensions are vital for scratch to interface with the external hardware and information.

Scratch simply means a free programming language where an individual can create their own interactive stories.

It's simply the world's largest coding community for children. Scratch extensions are vital for scratch to interface with the external hardware and information.

Read related link on:

https://brainly.com/question/15418798

Usually a ________ in Java code indicates the end of a data structure. Group of answer choices backslash character forward slash character null reference null pointer

Answers

Answer:

null reference.

Explanation:

Define computer software with its importance in computer system​

Answers

Answer:you just answered my question saying can't help you well i can't help you either

Explanation:

Computer software refers to a collection of programs, data, and instructions that enable a computer to perform various tasks and functions.

It includes both operating systems that manage computer resources and application software used for specific tasks like word processing, web browsing, and gaming.

Software is crucial in a computer system as it acts as the bridge between hardware and users, allowing them to interact with the machine effectively.

Without software, computers would be unable to process data, execute commands, or perform any tasks.

It empowers users with a wide range of functionalities, making computers versatile tools for work, entertainment, communication, and problem-solving in various domains of modern life.

Know more about Computer software:

https://brainly.com/question/33933985

#SPJ5

What is the difference between Label and value in excel?

Answers

Answer:

The main difference between the label and the value is that the label is what you see within the system itself (or also on the web form if the field can be used in such a feature). ... The value, on the other hand, is what systems read as the name of a field.

Hope it help and if it its correct please give brainliest  

Stay Safe And Healthy  

Thank You

Imagine that your parents were starting a small business, and they wanted to upgrade their data storage. Would you recommend a fileserver, network
attached storage, or the cloud?
Why?
What are some possible disadvantages of your recommendation that they should be aware of?

Answers

Answer:

I would recommend the cloud because they can access their data on every single device. There are virtually no disadvantages to the cloud.

Explanation:

Hope this helps.

to allow excel to change the cell references in a formula or function from row to row or column to column as you fill with it, you must use an ________.

Answers

to allow excel to change the cell references in a formula or function from row to row or column to column as you fill with it, you must use an formula cells.

You must utilize a cell formula to allow excel to modify the cell references in a formula or function between row to row or column to column as you fill it out.

Cell formula and Excel:

A cell reference is a name for a cell or a group of cells on a worksheet that may be used in a formula to tell Microsoft Office Excel where to look for the values or data that the calculation should compute.

The cell function in Excel returns data about a cell in a spreadsheet. info type specifies the type of information to be returned.

Cell may obtain information such as the cell's address and filename, as well as specific information about the cell's formatting.

Find out more information about 'Cell formula'.

https://brainly.com/question/26988565?referrer=searchResults

how are digital computer classified on different types​

Answers

Answer: we can sub-categorize digital computers as General Purpose Computer & Special Purpose Computer.

How can she change that value so it is reflected in the chart in her presentation?

Answers

Answer:

She can change the value in the mini- spreadsheet for the chart in PowerPoint.

Explanation:

Answer:

What she said above or below me

Explanation:

how many pokemon games have you all played i've played 14

Answers

Answer: Too much to count.

Explanation:

so i've played
Pokémon Brilliant Diamond
Pokémon Unite
Pokémon Café Mix
Pokémon Sword and Shield
Pokémon Masters EX
Pokémon: Let's Go, Pikachu!
Pokémon Quest
Pokémon Ultra Sun
Pokémon: Magikarp Jump
Pokémon GO
Pokémon Omega Ruby
Pokemon X
Pokémon Black and White
Pokémon HeartGold
Pokémon Battle Revolution
Pokémon FireRed
and Pokémon Stadium
so 19 individual games

What is the output of the statements below? int a = 10; int b = 20; int count = 0; if (a > 5) if (b > 5) { count ++; } else count = 7;

Answers

Answer:

The output of count would be 1.

Explanation:

The first if statement is true. Since 10 > 5

The second if statement is true. Since 20 > 5

So,

count ++;  // That increments the variable count by 1

the else statement is not provoked since the if statements were correct.

Which invention provided instant communication and information to a massive audience for the first time? a. Intranet c. Video b. Television d. Internet Please select the best answer from the choices provided A B C D.

Answers

Answer:

B. television

Explanation:

Answer:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

Explanation:

Other Questions
Simplify: 4x(x^2 3x + 1)A)4x^3 - 7x^2 +5B)4x^2 12x^2 + 4C) 4x^3 - 12x^2 + 4xD)4x^2 - 12x + 1 what is matter plz answer!????? PLEASE IM BEGGING PLEASE I RLLY NEED THIS PKS PLS There are four groups of 20 people walking on a shrew each person walks 3 miles how many total miles do all of the people walk Question 1 of 10 According to the Venn diagram below, what is P(A U B U C)? A. 21/25B.24/25C.22/25D.23/25 Please I need help asap, 25 points and only answer if you know thanks!What element of the plot sets the scene for the rest of the play?climaxexpositionrising actionresolution Im confused on this question 2. How did the Industrial Revolution change the way Americans produced goods? How does Lange use composition? What is the pH of a 3.5x10^-2 M solution of amine in Pka 9.6 Composition varies in the asteroid belt. Inner-belt asteroids tend to be rich in ____. Outer-belt asteroids tend to be rich in ____. when using hootsuites bulk composer, how far in advance must your posts be scheduled ahead of when the csv file is uploaded into hootsuite? ESTOS PRODUCTOS SON BUENOS PARA LA SALUD? Lilise et Wes disent: Voil ____maison. notre nos mon ma Suppose the government introduces tax incentives to increase private household saving. What would be the effect on net capital outflows and the exchange rate kyle took at total of 8 quizzes in the first 4 weeks of school. How many weeks of school will he have to attend before he will have taken a total of 12 quizzes? how do i do this pls explain the steps Find the acceleration if the force is 10 N and the mass is 5000 g. A boat is using echo-sounding equipment to measure the depth of the water underneath it, as illustrated in the first diagram. The equipment in the boat sends a short pulse of sound downwards and detects the echo after a time interval of 0.80s. i Describe how an echo is caused. ii The speed of sound in water is 1500 m/s. Calculate the distance travelled (in metres) by the sound in 0.80 s. Brainliest if correct 5.3 Dust BowlIn 1930, when wheat prices fell, the farmers in Oklahoma decided toA produce more wheat.B Stop farming wheat and move to other crops.C switch to ranching.D ask the federal government for subsidies.