1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Aleonysh [2.5K]
3 years ago
10

How do I use files and functions in programming?

Computers and Technology
1 answer:
maw [93]3 years ago
3 0

answer:

1.The program comes to a line of code containing a "function call".

2.The program enters the function (starts at the first line in the function code).

3.All instructions inside of the function are executed from top to bottom.

4.The program leaves the function and goes back to where it started from.

5.Any data computed and RETURNED by the function is used in place of the function in the original line of code.

You might be interested in
To create a chart you need to select at least ___ in a range of data
Blababa [14]

Answer:

2 by 2 squares of data

Explanation:

If you have less than that it is not a chart.

5 0
3 years ago
What is the easiest way to deploy a C++ program to a user’s computer? a. Copy the source code to the user’s computer and then co
Morgarella [4.7K]

Answer:

c. Copy the executable file to the user’s computer

Explanation:

When you run a c++ program, an executable file (.exe) is created in the same directory with the source file.

To deploy this program on another system, you need to transfer the executable file from the original system where the program was executed to the new system.

The program will work fine without errors.

However, do not mistake the executable file for the source file. The source file ends in .cpp.

8 0
3 years ago
Which of the following statements about interpreting colors are true? Select 3 options.
sukhopar [10]

Answer:

B, C and E

Explanation:

B :

White. In Western cultures, white symbolizes purity, elegance, peace, and cleanliness; brides traditionally wear white dresses at their weddings. But in China, Korea, and some other Asian countries, white represents death, mourning, and bad luck, and is traditionally worn at funerals.

C:

Color psychology has a effect for the world's different cultures. Colors evoke various emotions and beliefs, as well as positive and negative connotations. A color may represent happiness and warmth in one culture but is associated with betrayal and jealousy in another.

E:

Blue is one of the most commonly used colors in American marketing, often considered a safe color for a global audience, because it lacks significant negative connotations. Blue is tied to immortality, spirituality, and heaven in Eastern cultures.

Thank You! Please mark me brainliest!

Sorry if I'm wrong.

8 0
3 years ago
Write a program to sort the (name, age, score) tuples by descending order where name is string, age and score are numbers. The s
zimovet [89]

Answer:

The program in Python is as follows:

from operator import itemgetter

m = int(input("Number of records: "))

print("Name, Age, Score")

my_list =[]

for i in range(m):

   user_details = input()

   my_list.append(tuple((user_details.split(","))))

my_list.sort(key =  itemgetter(0, 1, 2))        

print("Sorted: ", my_list)

Explanation:

This imports the operator function from itemgetter

from operator import itemgetter

This gets the number of records, m

m = int(input("Number of records: "))

This prints the format of input

print("Name, Age, Score")

This initializes the list of tuples

my_list =[]

This iterates through m

for i in range(m):

This gets the details of each person

   user_details = input()

This appends the details to the tuple

   my_list.append(tuple((user_details.split(","))))

This sorts the tuple

my_list.sort(key =  itemgetter(0, 1, 2))        

This prints the sorted tuple

print("Sorted: ", my_list)

6 0
3 years ago
What is the symbol for the relational operator 'equal to'?
rosijanka [135]
= hope this help :) :)
6 0
3 years ago
Other questions:
  • An unwanted 'explosion' of inbox messages is called​
    8·2 answers
  • The use of computers to combine data from multiple sources and create electronic dossiers of detailed information on individuals
    8·1 answer
  • The area on your screen where you can access the tab and menu options for word is called what?
    8·2 answers
  • Level of comfort that people feel
    10·1 answer
  • The radix sort
    14·1 answer
  • If two hosts are connected by five networks, how many frames will there be when one host sends a packet to the other host? 1 2 5
    13·1 answer
  • ____ the styles allows the designer to start from a known baseline, confident that no unwanted styles will creep in from any bro
    6·1 answer
  • What methods do phishing and spoofing scammers use? List and explain methods to protect against phishing and spoofing scams.
    14·1 answer
  • Write any one method to delete a table in writer​
    11·1 answer
  • Suppose you are working as an administrative assistant at a small law firm. Your boss has asked you to send an invitation out to
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!