OI GENTE EU SOU DO BRASIL TOU USANDO O BRANLY AMERICANO

Answers

Answer 1

Answer:

amazing people

Explanation:

Brazil vs argentina wuwuuwuwu


Related Questions

If a function does not return a value, which of the follow is correct?Group of answer choicesThe return type is a Swift optional type.The return type must be set to nil.The return type is omitted from the function declaration.

Answers

Answer:

In swift programming language it is ok when a function does not return any value you are not necessarily required to set return type because it is optional so the correct answer is  "The return type is omitted from the function declaration".

Explanation:

If programing language is swift so we can omit return type from function declaration otherwise if language is C++ we can set return type "Void".

(PYTHON)

Ask the user if they want to multiply two numbers entered from the keyboard. If they type "YES" ask for two numbers and multiply them. What happens if they type Yes, yes, yes, try a few combinations.

Answers

I hope this helps! If you have anymore questions, I'll do my best to answer them.

Create a flowchart designing a solution to the following problem:

Anna has saved $50,000 for a down payment on a house. Your algorithm will ask Anna how much the house she would like to purchase costs (verify that the entered value is at least $10,000 and no more than $1,000,000.) If Anna’s savings is at least 20% of the house cost, provide a message that tells her that she will not have to pay for mortgage insurance. If, however her savings is less than 20%, but more than 10% provide a message that she can still purchase the home but will have to have the insurance. If unfortunately her savings are 10% or less of the home cost provide a message that she is not eligible to purchase the home and tell her the maximum home price she can afford.

Answers

Answer:

The question requires the answer as an attachment

Explanation:

I've added the flowchart as an attachment (See attachment for flowchart)

The flowchart follows the sequence and conditions in the question

Implement a binary search function in three substantially different programming languages. In each program (identical, except for the programming language), carry out the same 10,000,000 unsuccessful searches for eight different-sized arrays, namely arrays of sizes 128, 512, 2048, 8192, 32768, 131072, 524288, and 2,097,152. Measure in each of the three programs the time it takes to do the 10,000,000 searches for each of the eight arrays. Compare these timings to the theoretical timings the algorithm binary search provides. Are there differences between the three programs? Explain your timings and observations!!

Answers

Answer:

The code to this question can be defined as follows:

Explanation:

C language code:

#include <stdio.h>//defining header file

int binarySearch(int x[], int l, int y, int z)//defining method binarySearch that accepts four integer parameter

{

if (y >= l)//defining if block that check r value is greater the l  

{

int m= l + (y - l)/2; //defining if block that holds mid value of array  

if (x[m] == z)//use if block  that check value in array

return m;// return array value

if (x[m] > z) //defining if block that check array value greater then x value

return binarySearch(x, l, m-1, z);//use return keyword to call method

return binarySearch(x, m+1, y, z);// in else it use return keyword to call method

}

return -1;//return value -1

}

int main()//defining main method

{

int x[] = {2, 3, 4, 10, 40};//defining array that hold integer values  

int n = sizeof(x)/ sizeof(x[0]);//use n variable to hold its size value

int z = 10;//defining x varaiable that hold integer value

int r= binarySearch(x, 0, n-1, z);//use r varaiable to hold method return value

if(r== -1) //defining if block that check its value equal to -1  

printf("Number is not foud in array ");//print message

else

printf("Number is present at %d position", r);//print value

return 0;

}

C++ language code:

#include <iostream>// header file

using namespace std;

int binarySearch(int x[], int l, int y, int z)//defining method binarySearch that accepts four integer parameter

{

if (y >= l)//defining if block that check r value is greater the l

{

int m= l + (y - l)/2; //defining if block that holds mid value of array

if (x[m] == z)//use if block  that check value in array

return m;// return array value

if (x[m] > z) //defining if block that check array value greater then x value

return binarySearch(x, l, m-1, z);//use return keyword to call method

return binarySearch(x, m+1, y, z);// in else it use return keyword to call method

}

return -1;//return value -1

}

int main()//defining main method

{

int x[] = {2, 3, 4, 10, 40};//defining array that hold integer values

int n = sizeof(x)/ sizeof(x[0]);//use n variable to hold its size value

int z = 10;//defining x varaiable that hold integer value

int r= binarySearch(x, 0, n-1, z);//use r varaiable to hold method return value

if(r== -1) //defining if block that check its value equal to -1

cout<<"Number is not foud in array ";//print message

else

cout<<"Number is present at position "<< r;//print value

return 0;

}

Python language code:

def binarySearch (a, x, r, y):#defining a method binarySearch

   if r >= x:#defining if block that checks r is greater than equal to x

       m = x + (r - x)//2#defining m variable that hold mid value

       if a[m] == y:#use if that check its input value equal y

           return m#return m value

       elif a[m] > y:#use array that check its value greaterthan y  

           return binarySearch(a,x, m-1, y) #use return keyword to call method

       else:#defining else block

           return binarySearch(a, m+1, r, y)#use return keyword to call method

   else:  #defining else block  

       return -1#return value -1

a = [ 2, 3, 4, 10, 40 ]#defining list a that holds value

y = 10#defining integer variable

r = binarySearch(a, 0, len(a)-1, y)#defining r variable that holds method value

if r != -1:#use if that check r is not equal to -1

   print ("Number is available at ", r," position")#print value

else:#else block

   print ("Number is not available in array")#print message

PLEASE HURRY!!!
Look at the image below!

Answers

Answer:

cde

Explanation:

You start counting from 0.

So letters are:

a b c d e f

0 1 2 3 4 5

We do include the 2, but not the 5. So answer is cde.

Assume a 64KB cache with four-word block size (a word is 4 bytes) and a 32-bit address. If a block has 28 tag bits, what is the type of this cache

Answers

Answer:

Fully associative

Explanation:

Fully associative cache is a type of cache in which after retrieving the data from memory, it subsequently allows data to be deposited in the available but unused cache block. This is to ensure that the storage of cache is done without forcing each memory address into one specific block.

Given the following

address = 32 bits,

tag = 28 bits, as a block is 4 words that are, 4x4 bytes,

offset = 4 bits, which equates to index = 0 bits.

Hence, it can be concluded that the type of cache is FULLY ASSOCIATIVE.

Adding a rock or stone looking characteristic to a background is which element of design?

Answers

Answer:

Explanation:

ejhdkl;xs

'

Cleary specifying the theme to be used for a site
before building it provides which main advantage:
site navigation
site consistency
O
a clear message
O O O
improved readability

Answers

Answer: site consistency

Answer:

B) Site Consistency

Explanation:

Write a Python 3 script in PyCharm that will simulate the game of "Rock, Paper, Scissors": Display a header and the simple rules of RPS Prompt player_1 for their move To make sure player_2 can't see what player_1's move was, insert: print('*** NO CHEATING ***\n\n' * 20) Prompt player_2 for their move Design and develop an IF-ELSE structure to play the game IF player_1's move equivalent to player_2's move, "It's a tie" "rock" beats "scissors" "scissors" beats "paper" "paper" beats "rock" Make sure you test for valid input!!

Answers

Answer:

'''

Rock, Paper, Scissors:

The Rules:

If player1's move equivalent to player2's move, "It's a tie".

"rock" beats "scissors", "scissors" beats "paper", and "paper" beats "rock"

'''

player_1 = input("Player 1's move: ")

print('*** NO CHEATING ***' * 20)

player_2 = input("Player 2's move: ")

if player_1 or player_2 not in ["rock", "paper", "scissors"]:

 print("Invalid input!")

if player_1 == player_2:

   print("It's a tie")

else:

   if player_1 == "rock":

       if player_2 == "scissors":

           print("Player 1 won")

       elif player_2 == "paper":

           print("Player 2 won")

   elif player_1 == "scissors":

       if player_2 == "paper":

           print("Player 1 won")

       elif player_2 == "rock":

           print("Player 2 won")

   elif player_1 == "paper":

       if player_2 == "rock":

           print("Player 1 won")

       elif player_2 == "scissors":

           print("Player 2 won")

Explanation:

In the comment part, put the header and the rules of the game

Ask the user to enter the player1's move

Print the asterisks

Ask the user to enter the player2's move

If any of the input is not "rock", "paper", "scissors", state that the input is invalid

Check the inputs. If they are equal, print that it is a tie. Otherwise:

If player1's move is rock. Check player2's move. If it is "scissors", player1 wins. If it is "paper", player2 wins

If player1's move is scissors. Check player2's move. If it is "paper", player1 wins. If it is "rock", player2 wins

If player1's move is paper. Check player2's move. If it is "rock", player1 wins. If it is "scissors", player2 wins

Eric wants to convert electric energy into mechanical energy. Which technology can he use?

Answers

Answer:

An electric motor converts electrical energy into mechanical energy

Answer: e. motors

Explanation:

PLEASE HURRY!!!

Look at the image below!

Answers

Answer:A and E

Explanation:

The last three are strings while the other choices are integers.

Putting ' ' or " " around something makes it a string and the input is asking the user to input a string.

Which part holds the "brains" of the computer?

Answers

The (CPU) holds the “brains” of the computer

Chris would like to adjust an image that he has inserted to give it an older look and feel.

What is the easiest way of doing this?

adjusting contrast and color
adjusting background
applying picture styles
adjusting the size and shape

Answers

Answer:

C- applying picture styles

Explanation: ;)

Answer:

applying picture styles

Explanation:

edge/canvas test review

How do I turn on autosave in Pokemon Shield?

Answers

Answer:

You Can't

Explanation:There isn't a feature for that in the game.

Answer:

You can't. It really sucks. Just save your game every hour when you play.

You are given the program to support the management of a movie rental place
You are required to perform refactoring on that program to improve its quality. You are encouraged to use refactoring services in IDEs such as Eclipse or IntelliJ.
Then, you are required
1) to add a main() method to test the program; and
2) to add a new method to print the statement for a customer in XML format, e.g., John Smith , Independent Day , etc. Please submit your resulting code
Your solution must at least contain:
1. At least 3 method extraction operations
2. At least 3 creation of 3 new classes
3. At least 3 moving method operations
4. At least 3 renaming operations

Answers

Answer:

to add a main loop

Explanation:

Witch of the following involves unethical use of another intellectual property

Answers

Answer: the answer is C

hope you have a good day......    <3

Explanation:

Creating a map of your current knowledge is called __________.
a.
Critical reading
c.
Pre-questioning
b.
Collaborative learning
d.
Concept-mapping

Answers

Answer:

d

Explanation:

Creating a map of your current knowledge is called concept-mapping.

We have,

The given statement is,

Creating a map of your current knowledge is called _

Since, A concept map is a visual tool that allows you to organize and represent your knowledge of a particular subject in a structured format.

It is a nonlinear diagram that represents concepts and their interrelationships.

Concept maps are a valuable tool for learning and understanding complex information as they help to link abstract concepts and ideas to concrete examples.

Concept mapping is a way to create a visual representation of your current knowledge of a subject.

This can be done by brainstorming all the concepts that you know about a particular topic, organizing and grouping them, and then linking them together based on their relationships. By doing this, you can identify gaps in your knowledge and focus your learning on areas that you need to improve.

Concept mapping is often used in educational settings as a form of active learning, where students can collaborate and share their knowledge. It is also a useful tool for professionals to organize and present complex information in an easily understandable format.

In summary, concept mapping is a powerful tool for organizing and representing your knowledge of complex information.

It allows you to identify gaps in your knowledge and focus your learning on areas that you need to improve.

Learn more about concept-mapping visit:

https://brainly.com/question/4290933

#SPJ2

How does technology improve productivity at work?

Answers

Answer:

Explanation:

Technology also empowers employees to progress through their own personal system of goals and provides for the implementation of productivity trends through individuals, teams, and the broader organization. This method of analyzing and tracking employee performance can also be used to foment friendly competition

Answer:

it helps you get things done faster and more eficiently by providing useful tools and helping you communicate and collaborate more easily

Explanation:

V(t)=5 cos wt + 2 ? Is this ac or dc ? And why ?

Answers

Answer:

this is AC b/c.... cos is a periodic function.. think waves... the voltage is going to vary between positive 5 and negative 5 volts... so it's a low voltage signal, but still AC,   the W is for how fast it's varying and the  +2 is the off set of the wave.  

Explanation:

Before inserting a preformatted table of contents, what must you do first?
apply heading styles to text
update the table of contents
navigate to the Review tab and the Table of Contents grouping
navigate to the Insert Table of Contents dialog box

Answers

Answer: apply heading styles to text.

Explanation:

Write a section of code to simulate the opening coin toss of a football game. The visiting team gets to choose heads or tails. If the team guesses correctly they get to choose to kick or receive. Otherwise the home team gets the same choice. Display the final result of the coin flip in form similar to below

Possibly output "home team has won the toss"
"Home team has chosen to kick first"
Or "visting team has won the toss"
"Visiting team has chosen to receive first"

Answers

Answer:

Explanation:

Which goal his team will defend: Instead of receiving the kickoff, the captain may elect to kick off and choose a goal to defend. Captains sometimes take this option if they believe that weather will be a factor in the outcome of the game. For example, in choosing which goal to defend, the player believes that his team will have the wind at its back for the second quarter and the crucial final quarter of the game.

What changes to software are usually included in version upgrades?
bug fixes
new features
security fixes
malfunction repairs

Answers

Answer:

I hope this helps

Explanation:

The answer is new features

Answer:

New features (B)

Explanation:

If you are insured with first party insurance, which of these costs will it cover?
A.
costs related to lawsuits, and penalties due to a cyberattack
B.
costs related to notifying victims of a cyberattack
DC.
costs related to copyright infringement
D.
cost related to theft of a laptop

Answers

Answer:

D.

cost related to theft of a laptop

Explanation:

correct for Plato!

What is the Internet?

Answers

Answer:

a global computer network providing a variety of information and communication facilities, consisting of interconnected networks using standardized communication protocols

Explanation:

Explanation:

Hey there!

The internet is the largest computer networks which connects billions of computers around the world.

Hope it helps...

What is troubleshooting?

creating a checklist
finding and fixing a problem
scanning for viruses
performing regular maintenance

Answers

Finding and fixing a problem
The answer is finding and fixing a problem.

To find the largest quantity of items ordered from Rex Technologies, what Excel formula should be used in A12

Answers

Answer:

For finding the largest quantity of items ordered from Rex Technologies the excel formula used is max(). Inside max you must specify the range of rex technologies quantity column cells just like if quantity is in D column and rex technologies items start from cell 4 to cell 7 then the formula will be max(D4:D7)

Explanation:

In max formula first argument is starting cell of range and last is ending cell of range. In this scenario starting cell is D4 and end cell D7

Read the following code:

x = 1
while(x < 26)
print(x)
x = x + 1

There is an error in the while loop. What should be fixed? (5 points)

Select one:
a. Add a colon to the end of the statement
b. Begin the statement with the keyword count
c. Change the parentheses around the test condition to quotation marks
d. Use quotation marks around the relational operator

Answers

For a while loop to function properly, it needs a colon after it.

Answer choice A is correct.

1 // Application contains a starting list of three products for sale2 // The user is prompted for additional items3 // After each new entry, the alphabetically sorted list is displayed4 import java.util.*;5 public class DebugNine36 {7 public static void main(String[] args)8 {9 ArrayListproducts = new ArrayList();10 products.add(shampoo);11 products.add(moisturizer);12 products.add(conditioner);13 Collections.sort(products);14 display(products);15 final String QUIT = "quit";16 String entry;17 Scanner input = new Scanner(System.in);18 System.out.print("\nEnter a product or " + QUIT + " to quit >> ");19 entry = input.nextLine();20 while(entry.equals("quit"))21 {22 products.add(entry);23 Collections.sort(products);24 display()25 System.out.print("\nEnter a product or " + QUIT + " to quit >> ");26 entry = input.nextLine();27 }28 public static void display(ArrayList products)29 {30 System.out.println("\nThe size of the list is " + products.size());31 for(int x = 0; x == products.size(); ++x)32 System.out.println(products.get(x));33 }34 }35//Debugging Exercises, Chapter 9;Java Programming, Joyce Farraell, 8th

Answers

Answer:

Here is the corrected code:

import java.util.*;

public class DebugNine36 {  //class name

  public static void main(String[] args)    {  //start of main method

     ArrayList<String>products = new ArrayList<String>();  //creates an ArrayList of type String names products

     products.add("shampoo");  //add shampoo to product array list

     products.add("moisturizer");  //add moisturizer product array list

     products.add("conditioner");  //add conditioner product array list

     Collections.sort(products);  //sort the elements in products array list

     display(products);  //calls display method by passing products array list

     final String QUIT = "quit";  //declares a variable to quit the program

     String entry;  //declares a variable to hold product/element or quit

     Scanner input = new Scanner(System.in);  //creates Scanner object

     System.out.print("\nEnter a product or " + QUIT + " to quit >> ");  //prompts user to enter a product or enter quit to exit

     entry = input.nextLine();  //reads the entry value from user

     while(!entry.equals("quit"))       {  //loops until user enters quit

        products.add(entry);  //adds entry (product) to products array list

        Collections.sort(products);  //sorts the elements in products array list

        display(products);  //calls display method by passing products arraylist

        System.out.print("\nEnter a product or " + QUIT + " to quit >> ");  //keeps prompting user to enter a product or enter quit to exit

        entry = input.nextLine();        }    }  //reads the entry value from user

  public static void display(ArrayList products)    {  // method to display the list of products

     System.out.println("\nThe size of the list is " + products.size());  //displays the size of the array list named products

     for(int x = 0; x < products.size(); ++x)  //iterates through the arraylist products

        System.out.println(products.get(x));    }  } //displays each item/element in products array list

Explanation:

In the code the following statement are corrected:

1.

ArrayListproducts = new ArrayList();

This gave an error: cannot find symbol

This is corrected to :

 ArrayList<String>products = new ArrayList<String>();

2.

         products.add(shampoo);

         products.add(moisturizer);

         products.add(conditioner);

Here shampoo moisturizer and conditioner are String type items that are to be added to the products so these strings have to be enclosed in quotation marks.

This is corrected to :

     products.add("shampoo");

     products.add("moisturizer");

     products.add("conditioner");

3.

display();

This method is called without giving any arguments to this method. The method display takes an ArrayList as argument so it should be passed the arraylist products to avoid error that actual and formal argument lists differ in length .

This is corrected to :

display(products);

The screenshot of output is attached.

/ Looks up author of selected books
import java.util.*;
class DebugNine1
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
String[][] books = new String[6][2];
books[0][0] = "Ulysses";
books[0][1] = "James Joyce";
books[1][0] = "Lolita"
books[1][1] = "Vladimir Nabokov";
books[2][1] = "Huckleberry Finn";
books[2][1] = "Mark Twain";
books[3][0] = "Great Gatsby";
books[3][2] = "F. Scott Fitzgerald";
books[4][0] = "1984";
books[4][1] = "George Orwell";
books[5][5] = "Sound and the Fury";
books[5][1] = "William Faulkner";
String entry,
shortEntry,
message ="Enter the first three characters of a book title omitting \"A\" or \"The\" ";
int num, x;
boolean isFound = true;
while(!isFound)
{
System.out.println(message);
entry = input.next();
shortEntry = entry.substring(0,3);
for(x = 0; x < books.length; ++x)
if(books[x][0].startsWith(shortEntry))
{
isFound = true;
System.out.println(books[x][x] + " was written by " + books[x][1]);
x = books.length;
}
if(isFound)
System.out.println("Sorry - no such book in our database);
}
}
}

Answers

Answer:

What's the question?

Explanation:

to save a copy of word online document to your hard drive which option should you select? Save as , save, rename or download and copy

Answers

Answer:

 The correct answer is Save as              

                                                                                                                                               

The option that is to select to save a copy of word online document to hard drive is the save as option.

What is word document?

The term “Word Document” is used to denote the document that is made in the Microsoft Word. This document is made in the proper format with the MS Word. This document can be safe electronically by selecting the save as option.

After saving that document, this will automatically save on the hard drive of the computer device of that user.

Therefore, option A is correct.

Learn more about the Word document, refer to:

https://brainly.com/question/15939168

#SPJ2

Other Questions
why displacement has a fixed direction and change in position Suppose that a Ferrari and a Porsche begin a race with a moving start, and each moves with constant speed. One lap of the track is 2 km. The Ferrari laps the Porsche after the Porsche has completed 9 laps. If the speed of the Ferrari had been 10 km/h less, the Porsche would have traveled 18 laps before being overtaken. What were the speeds of the two cars? Can someone please help me!!! Also does anyone know if there is a website or calculator that may give me the answers? Please help me! Thank you! what is -6 divided by (-3) (-5) A triangle has angle measures 23 and 35. What is the measure of the third angle PLS HELP!! What does it mean to revise a piece of writing?to write the first draftto generate ideas for topic sentencesto publish the final draftto make sure the draft is written clearly Which excerpt from the poem mother and son best captures the speakers message to her son What are 5 innovations/advancements that have helped the movement of goods in our world? pls help w this ....... What are 2 characteristics of primary succession, secondary succession. What are 2 Characteristics they share in common? Which situation involves an annuity?A. investing a $1,000 lump sum into an investment accountB. depositing $5,000 into a one-year CDC. using $500 to open a savings accountD. making regular deposits of $100 into a sinking fund 1.98 subtracted by 0.99 Shanivia SandersAs the basic units of life, cells are living systems that carry out all of the functionsneeded to sustain life. Which process is common to all cells?O All cells get nutrients from the airAll cells need and use energyAll cells make their own foodO All cells allow organisms to move Do all metals have more electrons than protons Which of the following is equal to square root 916O A. 36B. Square root 9square root 16C. 144D.Square root 9/16 f(x) = 382 3x + 1 1Find f(-2) Write a 3-paragraph essaying comparing and contrasting the standard of living in the the United States and in each of the other two countries you chose. Use data about per capita GDP and other factors to consider similarities and differences between the standard of living in all three countries.First, conduct research to learn more about the standard of living in each country. Look for information abouteducational opportunitiesliteracypollution, safety, and healthwork-life balanceequality or inequality between men and womenequality or inequality between different racial or ethnic groupsYou might wish to begin your research about the United States with this link.Take notes as you research. Remember to keep track of where you find information so that you can cite your sources.In your essay, describe similarities and differences between the standards of living in all three countries. Use per capita GDP and other facts and data from your research to support your ideas. Need answer ASAP please hurry?? plz help me with this please A sports arena posted ticket prices for five different sportingevents. A service charge is collected for each ticketpurchased. The table shows the ticket price, c, of each of thedifferent sporting events.Ticket Price,$47 $54 $62 $79 $116Cost Including Service Charge $60 $67 $75 $92 $129Which expression can be used to find the total cost of eachsporting event ticket including the service charge?