Which statement below returns 'soccer'?
sports = [2: football', 3:'soccer', 4:'volleyball', 5:'softball'}

• sports.find(soccer')
• sports[3]
• sports(3)
• sports.get(2)

Answers

Answer 1

Answer:

The answer is the second option.

sports = {2: 'football', 3:'soccer', 4:'volleyball', 5:'softball'};

console.log(sports[3]);

will output:

soccer

Explanation:

There were several syntax errors in the code (assuming it is javascript):

- Text strings must be enclosed in single or double quotes.

- sports is an object, not an array, so it should have { } and not [ ]


Related Questions

Does a Laser Printer use its beam to attach dry powdered ink to a sheet of paper?​

Answers

Answer: A laser printer is different only in terms of ink heads. Hile Traditional Printers use physical contact to embed ink onto the paper laser jets use laser beams with inks to forms impressions into papers. They require no special paper to print. So probably not.

what is the best free website to learn phyton programming

Answers

That is something you should may research on with yourself! Don’t accept a link
From strangers it’s preferred to find one that best suits you!

conceited or self confident? why?

Answers

Answer:

self confident

Explanation:

self confident mean that u don't lose your hope and you can focus on your aim then u cann be success in any field

Answer: self confident because you should always love yourself and not need other people option or attention to motivate yourself

Explanation:

Select the effective subject lines.


Timecard Machine Relocated

This Message Contains Some Important New Information About Company Operations

Please Use the New Form in the Revised Employee Manual for Filling Out Your Expense Reports, the Procedure Has Changed

Test Results Attached

New Expense Reporting Procedures

Servers

IT Department Closed for Server Maintenance

Answers

Answer:

dont click the link

Explanation:

Answer:

Please Use the New Form in the Revised Employee Manual for Filling Out Your Expense Reports, the Procedure Has Changed  

Servers

 

This Message Contains Some Important New Information About Company Operations

Explanation:

i did this on edge 2021 there is a quizlet with most of the questions

--concept mapping--
importance of trees for people:
1.
2.
3.
4.
5.
importance of trees for animals
1.
2.
3.
4.
5.​

Answers

Answer:

-Both need oxygen from the trees to breathe

-Without trees the population of animals and people would be dying

Explanation:

Thats all I can think of

what are the uses of plotters​

Answers

Answer:

Plotters are use to produce the hard copy of schematics and other similar applications They are mainly used for CAE applications.They can print on a wide variety of flat materials

Hope it helps :)❤

Answer:

 Plotters are used to print graphical output on paper. It interprets computer commands and makes line drawings on paper using multicolored automated pens. It is capable of producing graphs, drawings....

what is the fullform of COMPUTER?​

Answers

Answer:

COMPUTER stands for Common Operating Machine Purposely Used for Technological and Educational Research

Explanation:

Which sentence best justifies the benefits of using enterprise systems?


Early systems (in the 1960s) focused on the automation of individual functions, such as financial accounting and inventory management, primarily in the manufacturing industry. In the 1970s, the systems allowed planning of product requirements. Resource planning then began, which included not just shop floor planning but finance, engineering, human resources, distribution, and project management planning activities as well.

We now use enterprise systems that integrate all functions, including inventory control, accounting, and human resources. These systems use a single database containing all the data that keeps the processes running smoothly. This ensures visibility, accessibility, and consistency. Extended ERP systems include CRM, SCM, and advanced planning and scheduling. New systems include capabilities for business intelligence and cloud-based computing.

Answers

The first sentence is true

Answer:

These systems use a single database containing all the data that keeps the processes running smoothly. This ensures visibility, accessibility, and consistency.

Explanation:

Edmentum Plato Course - Learning in A Digital World: Strategies for Success

How can a student tell if a piece of research is current?


A.

The information was written recently or has been updated recently.


B.

The ideas fit with what is widely known about the topic now.


C.

The writer of the information is still writing other pieces.


D.

The website the information is from is up to date and still active.

Answers

Answer:

A

Explanation:

The information was written recently or has been updated recently.

In a single file, you wrote a bike class and used this line of code in the program.
bike A = bike('Acme', 111)
Which statement is true about the code in your file?
O The code to define your class (beginning with "class bike") must come after the line "bike A = bike('Acme' 111)."
The code to define your class (beginning with "class bike") must come before the line "bikeA = bike('Acme' 111)."
O The code to define your class (beginning with "class bike") cannot be in the same file as the line "bike A = bike('Acme' 111)."
O The code to define your class (beginning with "class bike") can come either before or after the line "bike A = bike('Acme' 111)."

Answers

Answer:

Explanation:

Based on the available options the one that would be correct would be that the code to define your class (beginning with "class bike") must come before the line "bikeA = bike('Acme' 111)." This is because the line of code declaring the object and initializing it needs to be able to grab the information of the class that it is creating an object of. To do this, the class would need to have already been compiled by the program. It is good practice to have each class definitions as its own separate files but this is not a necessity.

Answer: The code to define your class (beginning with "class bike") must come before the line "bikeA = bike('Acme',111)."

Explanation:

Edge 2022 Correct

I need help I have questions I need answers in coding html,css,js and python.Fast
The purpose of the sleep method is to reduce the amount of energy the program uses.
True
False
The _____ is a collection of webpages that use the internet.
pseudocode
World Wide Web
Python
server
Which of the following lines of code would correctly create a list called weapons?
weapons == [“sword”, “sling”, “knife”]
weapons = [“sword” or “sling” or “knife”]
weapons = (“sword”, “sling”, “knife”)
weapons = [“sword”, “sling”, “knife”]
Which of these lines of code would import both the random and the time modules?
import random, time
import random and time
time.import, random.import
import(random, time)
When using HTML, your text should be placed between the opening and the closing tags.
True
False

Answers

Answer:

1. True

2. World Wide Web

3. weapons = [“sword”, “sling”, “knife”]

4. import random, time

5. True.

Explanation:

For number 1  I'm not quite sure since I never personally used it, but it does reduce CPU usage when activated so it's very possible it's true.

Help Please! Computer science question !!!!!!!!!!20 points!!!

Answers

Answer:

45 abc

Explanation:

Join for a pack battle loud microphone.

Answers

you look like the battle passss

name the statement which is used at end of each case from computer subject

(plz answer fast and correct i will mark as brainlist ......)​

Answers

Answer:

In computer programming, a statement is a syntactic unit of an imperative programming language that expresses some action to be carried out.[1] A program written in such a language is formed by a sequence of one or more statements. A statement may have internal components (e.g., expressions).

Many programming languages (e.g. Ada, Algol 60, C, Java, Pascal) make a distinction between statements and definitions/declarations. A definition or declaration specifies the data on which a program is to operate, while a statement specifies the actions to be taken with that data.

Statements which cannot contain other statements are simple; those which can contain other statements are compound.[2]

The appearance of a statement (and indeed a program) is determined by its syntax or grammar. The meaning of a statement is determined by its semantics.

In a well-developed paragraph - using domain-specific vocabulary and academic writing - address the following writing prompt:
Explain the concepts of GIGO—garbage in, garbage out. Why do you think it’s a helpful concept in coding? How do you think it can be a helpful concept outside of coding?

Answers

Answer:

GIGO is a computer science acronym that implies bad input will result in bad output. Good programming practice dictates that functions should check for valid input before processing it. ... A well-written program will avoid producing garbage by not accepting it in the first place.

Explanation:

What is ransomware
я​

Answers

Answer:

Ransomware is malicious software that infects your computer and displays messages demanding a fee to be paid in order for your system to work again. It has the ability to lock a computer screen or encrypt important, predetermined files with a password.

Explanation:

:)

8.6 Code Practice: Question 2
Copy and paste your code from the previous code practice. If you did not successfully complete it yet, please do that first before completing this code practice.

After your program has prompted the user for how many values should be in the array, generated those values, and printed the whole list, create and call a new function named sumArray. In this method, accept the array as the parameter. Inside, you should sum together all values and then return that value back to the original method call. Finally, print that sum of values.

Answers

Answer:

import random

def buildArray():

   amount = int(input("How many values to add to the array: "))

   array = []

   for i in range(amount):

       array.append(random.randint(10, 99))  

   return array

array = buildArray()

print(array)

def sumArray(array):

   return sum(array)

sum_array = sumArray(array)

print("The total is: ", sum_array)

Explanation:

this gave me 80%

In this exercise we have to use the knowledge of computational language in python to write the code.

We have the code in the attached image.

The code in python can be found as:

import random

def buildArray():

  amount = int(input("How many values to add to the array: "))

  array = []

  for i in range(amount):

      array.append(random.randint(10, 99))  

  return array

array = buildArray()

print(array)

def sumArray(array):

  return sum(array)

sum_array = sumArray(array)

print("The total is: ", sum_array)

See more about python at brainly.com/question/26104476

Every single device can be connected to every other device on network, making the network mesh. This statement is True or False? *
1 point
True
False​

Answers

Answer:

true

Explanation:

we can connect to any device which has a network connection

how do you hack someone's wifi. (Hacker needed)​

Answers

Answer:

Ask God he knows all

Explanation:

PLEASE HELPPPPPPP What should you always disconnect before installing hardware inside a computer’s case?

A.
all cabling
B.
all internal components
C.
the CPU
D.
the internal DVD drive

Answers

Answer:

a) all cabling hope it helps

Use the drop-down tool to select the word or phrase that completes each sentence. Text within a document that is linked to other information available to the reader is called _______. A unique location for a computer on the network is its _______. The ________ is the ability of a network tor cover after any type of failure. The computer that responds to requests from the client computer is known as the ________. A ________ is an ordered list of tasks waiting to be performed.

Answers

Answer:

1. Hyperlink

2. IP address

3. Fault tolerance

4. Server

5. To do list

Explanation:

Text within a document that is linked to other information available to the reader is called HYPERLINK.

A unique location for a computer on the network is its IP ADDRESS.

The FAULT TOLERANCE is the ability of a network to cover after any type of failure.

The computer that responds to requests from the client computer is known as the SERVER.

A TO-DO LIST is an ordered list of tasks waiting to be performed.

Answer:

hypertext

IP address

fault tolerance

server

queue

Explanation:

just did it on edg

RESEARCH TITLE FOR CSS

Answers

Explanation:

sksmsskdkdkdkdkkkkdkdkdkdkfkfkfkfkkfkggkhkkkkkbkjvk

PLEASEEE HELPPP im gonna cry
What’s the name for the array of buttons that provides quick access to commonly used commands?

A.
menu bar
B.
toolbar
C.
ruler
D.
scroll bar

Answers

Your answer is:

B. toolbar

Answer:

B) Toolbar

_______________

The intersection of column D and row 6 is a cell with a cell address of
Select one:
a. D:6
b. D6
c. 6:D
d. 6D

Answers

Answer:

C. 6:D

Explanation:

Answer:

6:D

Explanation:

This works for plato but as for any other testing site I am unaware of.

What should a user do to find and replace text throughout a field? Use the drop-down menus to complete the steps
1. Put the cursor in the field to search
2. In the Home tab, open the dialog box
3. On the
tab, enter the text to search for and the replacement text
4. After a few instances to make sure the text is being replaced correctly, you can then click
to
change all instances

Answers

The thing that a user should do to find and replace text throughout a field  are:

1. Put the cursor in the field to search.

2. Open the  find  dialog box.

3. On the Replace tab, enter the text to search for and the replacement text.

4. Click  Replace All  to change all instances.

How do you search for and replace text across an entire field?

The keys on the keyboard CTRL+F is often used  to find. The dialog window for Find and Replace appears. Click the Find tab in the Find and Replace dialog box to search for data. Click the Replace tab to perform a find-and-replace operation.

The operations are:

1. Click Find and Select in the Editing group on the Home tab, then select Replace from the drop-down list.

2. In the dialog box, select the objects you want to Find and Replace by clicking the Options button.

3. Press the Replace or Replace All button.

Therefore, If you want to replace all occurrences of a word or format in a document, use the Ctrl+H Find and Replace function. This is very useful for lengthy papers.

Learn more about Editing  from

https://brainly.com/question/15768529
#SPJ1

See full question below

What are the steps to replace one piece of text with another throughout a field? Use the drop-down menus to

complete the statements.

1. Put the cursor in the field to search.

2. Open the _____

dialog box.

3. On the Replace tab, enter the text to search for and the replacement text.

4. Click -------to change all instances.

Which WYSIWYG editor keeps the code clean and validates HTML code
?

A. MS Word

B. Kompozer

C. Gedit

D. Notepad

E. BlueGriffon

Answers

Answer:

E. BlueGriffon

Explanation:

Answer:

b. KompoZer

Explanation:

KompoZer is free software. You can use it on Windows, Mac OS, and Linux. It has a customizable interface with modified toolbars. It validates HTML against the current web standard and keeps the code clean.

HELP FAST PLS
Do you care more about avoiding fees/costs, accumulating perks, convenience, etc?

Answers

Answer: Convenience

Explanation:

good job

Explanation:

i just need points but i need the answer too

1. Harold Worden, then 56-years-old, stole Kodak property
that was worth millions of dollars. He had worked for
Kodak for over 30 years and did not return confidential
documentation when he left the company in 1992.
He attempted to try and sell his ill-gotten gains to Kodak's
competitors while trying to start his own consulting firm.

The following scenario is an example of?​

Answers

Answer:

Industrial espionage

Explanation:

Espionage is defined as the act of spying or the use of spies to acquire information on the activities and plans of a government of another country or those of a company in a competitive market

It is the practice of obtaining confidential or secret information and can be considered a felony depending on the case circumstances and the manner of damages caused by the act which is provable and made by the claimant

Industrial espionage is also known as economic espionage

1.Two robots start out at 426c cm. apart and drive towards each other. The first robot drives at 5 cm per second and the second robot drives at 7 cm. per second. How long will it take until the robots meet?

In your response below, please answer each of the following questions:
a. What is the question being asked?
b. What are the important numbers?
c. Are their any variables?
d. Write an equation.
e. Solve the equation.
f. Do you think your answer is reasonable? Explain.

Answers

Answer:

a. The time it will take for the two robots meet

b. The important numbers are;

426 (cm), 5 (cm/second) and 7 (cm/second)

c. Yes, there are variables

d. The equation is 5 cm/s × t + 7 cm/s × t = 426 cm

e. The solution of the equation is, t = 35.5 seconds

f. Yes, the answer is reasonable

Explanation:

a. The question being asked is the time duration that will elapse before the two robots meet

b. The important numbers are;

The distance apart from which the two robots start out, d = 426 cm

The  speed of the first robot, v₁ = 5 cm/second

The  speed of the second robot, v₂ = 7 cm/second

c. The variables are;

The distance apart of the two robots = d

The  speed of the first robot = v₁

The  speed of the second robot = v₂

The time it takes for the two robots to meet = t

d. The equation is;

v₁ × t + v₂ × t = d

Plugging in the known values of v₁, v₂, we have;

5 cm/s × t + 7 cm/s × t = 426 cm...(1)

e. Solving the equation (1) above gives;

5 cm/s × t + 7 cm/s × t = t × (5 cm/s + 7 cm/s) = t × 12 cm/s = 426 cm

∴ t = 426 cm/(12 cm/s) = 35.5 s

t = 35.5 seconds

f. The time it would take the two robots to meet, t = 35.5 seconds

The answer is reasonable, given that the distance moved by each robot in the given time are;

The distance moved by the first robot, d₁ = 35.5 s × 5 cm/s = 177.5 cm

The distance moved by the second robot, d₂ = 35.5 s × 7 cm/s = 248.5 cm

d₁ + d₂ = 177.5 cm + 248.5 cm = 426 cm.

Please help! No one is answering these correctly!
A gateway is a common network hardware component that does what?
enables a network to connect to other networks
verifies user credentials to grant network access
connects many devices to a network using a single port
allows specific kinds of data into different parts of a network
What is the best way to prevent the most common cause of network failure?
Avoid using USB cables for connecting devices.
Maintain careful records of networked devices.
Use up-to-date antiviral software to protect computers.
Upgrade routers and servers annually.

Answers

Answer:

it is either c or d

I'm 99.5% sure it is C tho

Other Questions
4000 peoplw attended a football game. If 4% of the people who attended were teenagers, how many teenagers attended the game? [tex]\int\limits^1_0 {e^t^x} \, dx[/tex] How was osmosis used to stop Clarks seizures? Order these to fastest to slowest in heating.Rock, Water, Sand. Should the school day be lengthened? Write an argumentative essay Please i need your help!!! 40 points:) write a rule that tell how to use mental math to find the product 30,000 x 50,000 PLSSSSSSS HELP ASAP The Catholic church during the Reformation was similar to which form of government A. Democracy B. Federalist C. Monarchy D. Republic In preparing a company's statement of cash flows for the most recent year, the following information is available: Loss on the sale of equipment $14,100 Purchase of equipment 146,000 Proceeds from the sale of equipment 127,000 Re-payment of outstanding bonds 87,500 Purchase of treasury stock 62,500 Issuance of common stock 96,500 Purchase of land 116,000 Increase in accounts receivable during the year 43,500 Decrease in accounts payable during the year 75,500 Payment of cash dividends 35,500Net cash flows from investing activities for the year were:______.a. $128,100 of net cash used.b. $143,000 of net cash used.c. $270,000 of net cash used.d. $143,000 of net cash provided.e. $234,500 of net cash provided. Sickle cell anemia (SCA) is a human genetic disorder known to be caused by a recessive allele. A couple plans to marry and wants to know the probability that they will have an affected child. In the following scenarios, use your knowledge of Mendelian inheritance to give the families the probabilities of having a child with SCA. The man and woman do not have SCA. However, each has one parent with the disorder. The man is affected by the disorder. The woman has no family history of SCA. HELP BRAINLIEST! 25 POINTSHumans take longer to change the earth's surface than plants take.TrueFalse Soft drinks are being purchased in case of 24. If there are 1008 soft drinks to packed,how many cases are needed? I need help with this ! Mrs. Liang said that 36%of the students in her math class earned a grade of B or higher. Which ratio represents the portion of students receiving a grade of B or higher to the total number of students in the class? You have been selected to lead a team to decide on a different type of structure in your organization to better serve customers who are complaining about poor service that is slow, impersonal, and not meeting their needs to be heard. Presently, the functional structure isnt working well. Outline some information from your knowledge using this chapter that would help the team in its assignment. A car manufacturer provided information about two different car modelsCar ACar BGas(gallons)Distance(miles)00Distance (miles)3503002502001501005060vlund100140X01 2 3 4 5 6 7 8 9 10 11Gas (gallons)10200The graph and table each show a proportional relationship between the number of miles traveled and the advertised number of gallons of gas used forthe two car models, A and B, respectivelyWhat is the unit rate of Car A?miles per gallonWhat is the unit rate of Car B?miles per gallon Is this a complete sentence or a fragment?Had just finished lunch, Why is it important to warm up before exercise? Warming up helps prevent injuriesWarming up helps get your blood flowing to the musclesWarming up is a great way to start a sweatAll of the above Explain how the photograph helps readers understand the message presented in the article? Justify your response with evidence from the text. This is from the article WHY I REFUSE TO SAY I 'FIGHT' MY DISABILITY 3. Which of the following is a polynomial with roots 4,6, and - 7