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
vekshin1
3 years ago
6

Unit 3 Computer Programming Study Guide

Computers and Technology
1 answer:
andriy [413]3 years ago
3 0

FUNCTION- a group of instructions that is often repeated

DEBUG- to analyse a piece of code and ensure there is no errors

SEQUENCING- placing code in a specific order(/sequence)

LOOP- doing something over and over again until a requirement is met

REPEAT- performing the same tasks again and again

CONDITIONALS- certain requirements

VARIABLE- something that is defined in a piece of code


A PROGRAMMER IS TO A COMPUTER AS A TEACHER IS TO: A student

A GOOD ALGORITHM MUST BE: Efficient and easy to understand

IMAGINE WRITING A PROGRAM THAT INSTRUCTS A BIRD HOW TO TAKE OFF, FLY AND LAND. WHAT FUNCTION IS LIKELY TO BE LOOPED? The fly function as a bird flies a longer period of time

WHICH OF THE FOLLOWING IS MOST SIMILAR TO A FUNCTION? *no choices so unable to answer*

WHAT DO VARIABLES AND FUNCTIONS HAVE IN COMMON? They both have to be defined


8. THE MAIN CAUSE OF BUGS IN CODING IS: Human error

9. LIST THE FOLLOWING IN ORDER FROM THE SIMPLEST TO MOST COMPLEX:

  1. PROGRAM
  2. FUNCTION
  3. STEP

10. IF A PROGRAM HAS GONE THROUGH MANY ITERATIONS, WHAT MUST BE TRUE? A condition(?)

11. What is a benefit of DRYing up code? c. It saves programmers time

12. A statement in a function can be most closely compared to: a. A step in a recipe

T/F: ARE THE SOLUTIONS PROVIDED TRUE? *no choices so unable to answer*


Hopefully this helped and I'm sorry I was unable to answer some questions :)

You might be interested in
What are the benefits of writing functions that use parameters and return List 2 please and explain what is return
Ratling [72]

<u>Answer and explanation:</u>

There are many benefits of writing functions that use parameters and return. Some of them are:

1. Flexibility: With functions having parameters, several values of the parameters can be used at invocation time thereby making the application flexible. For example, given the following function in Java.

<em>public void showName(String name){</em>

<em>    System.out.println("Your name is " + name);</em>

<em>}</em>

To call this method (function), the programmer could use various values for the name parameter used in the function like so:

showName("John");

showName("Doe");

If the function didn't have a parameter, it is possible it will only print a hardcoded name every time the function is called.

2. Scope Control: When a function is allowed to return a value, it helps to work around scope issues since variables declared within a function are limited to that function and do not exist outside the function. This means that the values of these variables cannot be used anywhere else outside the function in which they are being declared. However, if the function returns a value, the value can be used anywhere else in the program.

For example:

<em>public String getDouble(int x){</em>

<em>    int y = x * 2</em>

<em>    return y;</em>

<em>}</em>

The function above returns twice the value of the argument supplied to it. Since the integer variable y is declared within the function, it's value cannot be used outside the function. However, since the value is being returned by the function, it could be used anywhere the function is being called. Thanks to the return keyword.

3 0
2 years ago
A persons decision to take action without being asked is
Nimfa-mama [501]

Answer:

Initiative

Explanation:

Initiative: the power or opportunity to act or take charge before others do.

5 0
3 years ago
Choose the answer.
Alik [6]
A home network aswell business networking would use a Router to connect the lam and internet all together
3 0
2 years ago
Read 2 more answers
What sorts of routine, seemingly unimportant information would help you learn about or break into another company’s network?
tatuchka [14]

Answer and Explanation:

  • Reboot your Computer from which you need to break into.
  • With your remote Ethernet card embedded and the unprotected passageway will mate up in a flash. You likewise need to change the Service Set Identifier (SSID) on your Ethernet card to coordinate SSID on the system's passage. You can decide to physically constrain your DHCP settings to reestablish, however on the off chance that that gives you any trouble.we need to re-boot it.
  • The Third Man ran a sniffer program that caught the majority of the LAN traffic within this organization. It was transmitted through the remote passageway straight into the Third Man's PC. Passwords. Agreements. Email.
4 0
3 years ago
Match the fallacy with its name. Being a speaker of Spanish, I'm also great at speaking Italian.
tresset_1 [31]
Straw man
eg. "Senator Jones says that we should not fund the attack submarine program. I disagree entirely. I can't understand why he wants to leave us defenseless like that."

Ad hominem
eg. “How can you argue your case for vegetarianism when you are enjoying your steak?”

Over simplication
eg. President Bush wants our country to trade with Fidel Castro's Communist Cuba. I say there should be a trade embargo against Cuba. The issue in our election is Cuban trade, and if you are against it, then you should vote for me for president.

Bandwagon
eg. Everyone is selfish; everyone is doing what he believes will make himself happier. The recognition of that can take most of the sting out of accusations that you're being "selfish." Why should you feel guilty for seeking your own happiness when that's what everyone else is doing, too?

Black or white
eg. Well, it's time for a decision. Will you contribute $20 to our environmental fund, or are you on the side of environmental destruction?
3 0
3 years ago
Other questions:
  • Which of the following statements are true?
    14·1 answer
  • (Financial application: compound value) Suppose you save $100 each month into a savings account with the annual interest rate 5%
    8·1 answer
  • What is the meaning of delegation
    13·2 answers
  • You should always assign the Needs Met rating before assigning the Page Quality rating, T or F ?
    6·2 answers
  • Difference between ancient and modern mode of information <br> transmission
    12·1 answer
  • When was the Ethics Resource Center (ERC) established? In the 1970s In the 1980s In the 1990s In the 2000s
    14·1 answer
  • I NEED HELP WITH SOME PROBLEM ON BRAINLY PLEASE HELP
    10·1 answer
  • The
    6·1 answer
  • The Binder Prime Company wants to recognize the employee who sold the most of its products during a specified period. Write a qu
    12·1 answer
  • True or false. windows server standard edition supports software-defined networking
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!