var words = ["apple", "bug","car", "dream", "ear", "food"]
var filteredWords = [];
for(var i = 0; i < words.length; i++){
var word = words[i];
if (word. Length < 4){
appendItem(filteredWords, word)
}
}
console.log(filteredWords);
If the program above is run, what will be displayed in the console?
O A. [apple, dream]
B. [bug, car, ear]
O C. [bug, car, ear, food]
O D. [apple, dream, food]

Var Words = ["apple", "bug","car", "dream", "ear", "food"]var FilteredWords = [];for(var I = 0; I &lt;

Answers

Answer 1

Answer:

B

Explanation:

I haven't taken cs principles, but i have taken cs a

is that python?

bug, car, ear are the only words less than 4 characters in legnth

Answer 2

If the program above is run, [bug, car, ear] will display in the console. The correct option is B.

What is a program?

A computer program is a set of instructions written in a programming language that a computer can execute. The software contains computer programs as well as documentation and other intangible components.

When you use a computer program, you are utilizing a program. When you program a computer, you are instructing it to perform a specific task.

To run a program, and to see if a program is running, you may open the Task Manager by pressing the Ctrl + Alt + Del keyboard shortcut keys, then selecting Task Manager. You may also pick Task Manager by right-clicking on the Windows Taskbar.

Therefore, the correct option is B. [bug, car, ear].

To learn more about the program, refer to the link:

https://brainly.com/question/3397678

#SPJ5


Related Questions

Do the lengths of 10,4 and 5 form a triangle explain why please I’m confused

Answers

Answer:

no

Explanation:

Imagine having sticks of these lengths. Attach the 4 and 5 to both ends of the 10. No way you can have them touch each other, not even when the triangle is flat.

The 4 and 5 add up to 9, that is less than 10.

The Triangle Inequality Theorem states that the sum of any 2 sides of a triangle must be greater than the measure of the third side.

Topics with problems or controversies are strong topic ideas.


Please select the best answer from the choices provided

T
F

Answers

Answer:

This would be considered true

Topics with problems or controversies are strong topic ideas is a true statement.

What is ideas in philosophy?

The term ideas is known to be the outcome of human thoughts.

Based on the above, Topics with problems or controversies are strong topic ideas is a true statement because they are entered on relevant areas of human live that need to be addressed.

Learn more about ideas from

https://brainly.com/question/540693

#SPJ1

Which expression is equivalent to 3x + 3x + 3x?

From Performance Matters

Answers

9x because you can add 3x+3x+3x because they are the same and can be added
Answer:
The answer is 9x

What surprised you the most about computer science ?

Answers

Answer:

Computer science is the study of algorithmic processes

Explanation:

:) its interesting

Answer:

don't know

I am not sure what you mean

Explanation:

A ________ network has no central computer.

Answers

Answer:

Ring Networks

Explanation:

They do not have a central computer system controlling the operation of the entire network. Instead, the various computers in the network are arranged around a ring, and each computer may communicate with any other computer in the ring.

They lack a centralized computer system in charge of managing the entire network. Instead, the network's many computers are placed in a ring, and any one of them is free to speak with any other computer in the ring.

What role of ring network in central computer?

When a straightforward network is required, ring network topologies are used. They are appropriate for places that do not require particularly fast data transmission rates and where it is unlikely that the network's size or structure will change.

The data move in the shape of a ring from one node to the next. If computer A wants to transfer information to computer D, the information is first put in the packet.

Therefore, A tiny office with only a few nodes, for instance, might employ a ring network design.

Learn more about ring network here:

https://brainly.com/question/15837844

#SPJ2

Which statement best describes what a project manager controls

Answers

Project controls are processes for gathering and analyzing project data to keep costs and schedules on track. The functions of project controls include initiating, planning, monitoring and controlling, communicating, and closing out project costs and schedule.

The delegation of responsibilities in a project is a project manager controls. Hence, option D is correct.

What is delegation of responsibilities?

Transferring accountability for particular tasks from one person to another is referred to as delegation. From a managerial standpoint, delegation happens when a manager gives their staff members particular tasks to do.

The manager can distribute authority, but responsibility and accountability cannot, according to the idea of absolute responsibility. Both the tasks that the manager has delegated to his subordinates and the actions of his subordinates fall under his purview of accountability to his own superior.

Effective delegation helps you and your team become better leaders and professionals, frees up time, gets you ready to manage bigger teams, and motivates team members to work harder. A crucial managerial skill to develop throughout your career is delegation.

Thus, option D is correct.

For more information about delegation of responsibilities, click here:

https://brainly.com/question/14875204

#SPJ5

The options were missing-

the overall choice of which work becomes a project

the overall deadline when a project is due

the overall resources allocated for a project

the delegation of responsibilities in a project

7.5 Code practice Plz answer ASAP

Answers

def calculate_GPA(grade, weight):

   grades = {"A": 4, "B": 3, "C": 2, "D": 1, "F": 0}

   if weight == 0:

       return grades[grade]

   else:

       return grades[grade] + 1

classes = int(input("How many Classes are you taking? "))

total = 0

for x in range(classes):

   letter = input("Enter your Letter Grade: ")

   user_weight = int(input("Is it weighted? (1 = yes) "))

   grade = calculate_GPA(letter, user_weight)

   total += grade

   print("Your GPA score is: ", grade)

print("Your weighted GPA is a",(total/classes))

I wrote my code in python 3.8. I was able to replicate the output in your picture exactly. If you need me to make any changes, I'll do my best.

The function is an illustration of for loops

For loops are used to perform repetitive operations; just like the while loop

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

#This defines the studentGPA function

def studentGPA(grade, weight):

   #This initializes a dictionary for all grades

   allGrade = {"A": 4, "B": 3, "C": 2, "D": 1, "F": 0}

   #This sets the return grade to 0

   retValue = 0

   #If the grade is valid

   if grade in allGrade:

       #If the weight is 0

       if weight == 0:

           #Then score is not graded

           retValue = allGrade[grade]

       #If otherwise

       else:

           #This adds 1 to the return grade

           retValue = allGrade[grade]+1

   #This returns the grade point

   return retValue

#The main begins here    

#This gets the number of classes

klass = int(input("How many Classes are you taking? "))

#This initializes the total grade to 0

total = 0

#This following is repeated for each class

for x in range(klass):

   #This gets input for the letter grade

   letterGrade = input("Enter your Letter Grade: ")

   #This gets input for the weight

   weight = int(input("Is it weighted? (1 = yes) "))

   #This gets the corresponding grade

   grade = studentGPA(letterGrade, weight)

   #This prints the grade point

   print("Your GPA score is: ", grade)

   #This calculates the total grade

   total += grade

#This calculates the GPA

GPA = total/klass

#This prints the GPA

print("Your weighted GPA is a",GPA)

Read more about for loop at:

https://brainly.com/question/12736327

Hey guys, I am new here but I keep getting questions that are too hard for me and I already set my grade level, what else can I do

Answers

Answer:

I don't know, Brainly says im an expert but i dont think so

which of the following statements most accurately describes the difference between aptitudes and skills​

Answers

Explanation

Aptitudes are ability, and skills are the potential. Aptitudes can be learned or trained, unlike skills. Aptitude is the level of skill that a person has gained.

Answer:

D

Explanation:

what type of waves are used on a tv remote control?

Answers

Answer:

(IR) Light

Explanation:

The signal of the remote control, control the pules of the infrared light. But human eye cant see, but can see through a digital camera.

Do you think people need the product that these businesses offer? Why?

Answers

Answer:

Depends

Explanation:

It depends on what items you're talking about, essentials are definitely a must and if they're a waste, maybe not. It all depends on the buyer honestly since you never know what it could be used for.

also what products were you aiming to talk about?

A career in culinary arts can best be described as working in the __________ industry.
A.
food
B.
clothing
C.
computer
D.
entertainment

Answers

Answer:

A-Food

Explanation:

The answer would be A:Food

Justice wrote a program and forgot to put the steps in the correct order. Which step does she need to review?

Planning
Filtering
Ordering
Sequencing

Answers

Answer: Sequencing

Explanation: I did test!

Sequencing step does she need to review.

What is Sequencing?

Sequencing is the act of placing a process's phases in order from start to finish. It is a crucial ability that is employed in math, physics, and other subject areas in addition to reading comprehension.

Look at a few sequence structures that can be used to structure instructions in a passage.

Students simply arrange a series of stages in a process or method in the proper order as part of sequencing activities. They might include topics like how to assemble equipment, set up and name a word processing file, or install an electrical switch.

Therefore, Sequencing step does she need to review.

To learn more about Sequencing, refer to the link:

https://brainly.com/question/30586864

#SPJ3

I REALLY Need help on this.

Answers

Make a deposit talk to A representative transfer money and Check account balance


Binary digits can represent the state of an electrical charge. How
many different states of an electrical charge can binary digits
represent?

Answers

On and off can be represented.

what purpose would the auto fill feature be most helpful for?

Answers

Answer:

Completing the items in a series

Explanation:

Auto fill is a function found in software and applications that allows you to input a range of numbers or characters in a specific range and finish the entry you began typing with the program.

AutoFill effectively helps you to build tablets more efficiently, allowing you to fill cells with a set of data quickly, It allows you to create whole columns or rows of data that are centered on other cells' values. Autofill is used in all the rows to fill out a specific feature.

anybody remember that football game that everyone used to play during school

Answers

Answer:

Like an actual video game or the one where you would play during recess then get in trouble when someone got hurt

Explanation:

. Which of the following are container elements?

a. bold b. underline c. italics d. all of these

Answers

It’s c cba to explain

Answer:

I think letter b. underline, but not sure

I need an open response pleaseeeeeee

The format is "Describe‌ ‌the‌ ‌smart‌ ‌home‌ ‌devices‌ ‌impact‌ ‌of‌ ‌technology‌ ‌on education"

Answers

Answer:

Explanation:

Smart Home devices have had a large impact on education. It has allowed students of all ages to better understand the concept of interconnected devices and artificial intelligence. This alone has also opened up a new door of information by allowing for instant answers to question through such smart home devices as Alexa or Home. Which are artificial intelligence virtual assistants.

Select the correct answer.
What is also known as a visual aid in a presentation?
OA. background
OB. animation
OC. review
OD. slide.

Answers

Answer: Slide

Explanation:

A visual aid is something which makes the viewer under the presentation without using the audio and it enhances the presentation. The photographs, graphs, charts are usually included in the slides to make people understand the presentation more clearly.

The slides includes the information in a written form and along with it are attached some photos, pie charts, et cetera.

So, even when the people are not listening to the presentation they can understand the presentation.

A line graph titled Unemployment Percentages and Levels of Education where the x-axis shows dates from November 2007 to November 2010 and the y-axis shows the percentage unemployed. No High School diploma starts at 7.5 percent in November 2007, rises steadily to 15 percent in November 2009, and stays at 15 percent to November 2010. High School diploma starts at 4.8 percent, rises steadily to 10.5 percent in November 2009, and falls to 9.5 percent in November 2010. Some college starts at 4 percent in November 2007, rises to 9 percent in November 2009, and falls to 8 percent in November 2010. Bachelor's degree or higher starts at 2 percent, rises to 5 percent in November 2009, and slowly falls to 4.9 percent in November 2010.

Based on the above graph, what was the percentage of difference between someone without a high school diploma and someone who has completed some college in November 2009?

A.

4%

B.

5%

C.

7%

D.

10%

can yall please answer my question pls

Answers

Answer:

D

Explanation:

the answer is D because

Answer:

It's B

Explanation:

IM SORRY IF ITS WRONG

Given the following class, public class Magazine { private static double SUBSCRIPTION_DISCOUNT = .60; private String title;
private String publisher;
private double newsstandPrice;
public Magazine(String theTitle, String thePublisher, double theNewsPrice) {
title = theTitle;
publisher = thePublisher;
newsstandPrice = theNewsPrice;
}
public String getTitle() {
return title;
}
public String getPublisher() {
return publisher;
}
public double getNewsstandPrice() {
return newsstandPrice;
}
public double getSubscriptionPrice() {
// implementation not shown
public void setNewsstandPrice(double newPrice) {
newsstandPrice = newPrice;
}
}
Which of the following methods is an accessor method?
I. getTitle
II. getPublisher
III. setNewsstandPrice

I only
I and II only
II only
I and III only
III only

Answers

Answer:

The answer is "III only"

Explanation:

An accessor method is also an instance function that receives or establishes the value of an object's properties. This method is called methods through obtaining information about an entity. This method reverses it to process, which has two accessory string techniques to reach source string data reference length Accessor method.

Which explanation best describes the importance of continuing education?

1.Continuing education is important to maintain certification and keep up with new advances in the field.
2.Continuing education can be very costly and opportunities are difficult to find.
3.Only physicians and nurses are required to have continuing education.
4.Continuing education is not required, but it is a good way to learn more in your field.

Answers

Answer:

1.Continuing education is important to maintain certification and keep up with new advances in the field.

Explanation:

Continuing education is any additional formal learning that is not focused on a  college degree outcome.

Continuing education helps one to acquire more knowledge and to be relevant in one's field.

So, continuing education is important to maintain certification and keep up with new advances in the field.

What would be the final step to applying your customized voting butons in Outlook messages?
O Type your new choices in the Text Bar.
O Click on Voting Buttons and choose Custom.
O Open the Voting Buttons menu and choose your customized choices.
O Click Submit and your custom voting choices will appear in the message body.

Answers

Answer:

Open the Voting Buttons menu and choose your customized choices.

Explanation:

Answer:

C

Explanation:

what are the peripherals of a computer ​

Answers

Answer:

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

To finish the work safety and early, what OHSP should be done?

Answers

Answer: Always power off and unplug the computer before working on it.

Explanation:

Skyler is ready to transfer his Webpage files from his computer to a Web server. Which of the
following is a set of rules that enables his large Webpage files to be exchanged between his
computer and the Web server?
O FTP
O SSH
O HTTP
O SSL

Answers

Answer:

FTP

Explanation:

FTP (File Transfer Protocol) is a protocol that allows the transfer of files across different machines.

Robert's got a quick hand
He'll look around the room he won't tell you his plan
He's got a rolled cigarette
Hanging out his mouth, he's a cowboy kid
Yeah, he found a six shooter gun
In his dad's closet, in a box of fun things
And I don't even know what
But he's coming for you, yeah, he's coming for you
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
Daddy works a long day
He's coming home late, yeah, he's coming home late
And he's bringing me a surprise
Cause dinner's in the kitchen and it's packed in ice
I've waited for a long time
Yeah, the slight of my hand is now a quick pull trigger
I reason with my cigarette
Then say your hair's on fire
You must have lost your wits, yeah
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet

Answers

verry
good
song
love
it
ALL THE OTHER KIDS WITH THE PUMPED UP KICKS YOU BETTER RUN BETTER RUN ! FASTER THAN MY GUN !

6. At age 17, what was Minhaj's definition of the American Dream?

Answers

“To me being American means having the opportunity to reach for our goals. It’s accepting where we come from while embracing our dreams and where we’re headed. It’s what makes America great.”

Lesson 3: Wrapping Up Unit 6
3-D Computer Modeling A Unit 6: Visual Elements

does anyone know pls help

Answers

Answer:

A visual representation of colors arranged according to their hues, or the chromatic relation they share

Explanation:

Answer:

I don't understand what you mean sorry :(

Explanation:

Other Questions
find the measurement indicated in each parallelogram first one says 60 and second says 79 please help ! Read this summary of Passage 1. (1) Where a person fits within the family birth order probably determines that person's character traits.(2) Birth order theory focuses on patterns. Which sentence belongs in the summary between sentences 1 and 2?A) Data exists to support birth order theory.B) Parenting styles are more important than birth order.C) Little information exists about characteristics of only children.D) Most successful people support birth order theory. As an estimation we are told 5 miles is 8 km.Convert 19.2 miles to km. What is the exact value of cos7pi/12 HELP ME PLEASE 30 POINTS TO WHO EVER ACTULLY ANSWERS PLUS BRAINLEST Money WatchDoes your paycheck seem to disappear as soon as you get it? Then it's time for a budget. A budget helps you track where your money goes. It can help you decide how to save and spend money wisely.Get Your RecordsTo make a budget, first gather up your bills and receipts for the past month. Include even small receipts such as coffee and movie rentals. If you don't have a receipt for something, write down the amount on a piece of paper. Try to have a record for each thing you bought.Make CategoriesNext, write down seven or eight general categories in which you spend your paycheck. List them across the top of a long piece of paper. Here are some examples of categories you might include. Food and rent are two. Did you have medical expenses last month? Make that a separate category. Clothing is another one. Make a "loan repay" category if you have car or school loans. Some people put money into a savings plan. This is another category.Then, separate your bills and receipts into your categories. Next, write down each amount under the right category on your paper. A grocery store receipt goes in the "food" category, for example.After you record all of the amounts, add them up. First, add up the items in each category. Then, add up the totals for all the categories. Compare your paycheck with your expenses. Are they close? Have you spent more than you earned?Review Your ExpensesFinally, use your budget to control your spending. It will help you see where your money is going. Little expenses, such as eating out, can add up. Once you see that you spend too much in one area, you can start setting limits for yourself.1Click on the best summary of the passage.A. A budget can help you make wise decisions about spending. You'll need to collect copies of your bills and receipts. Try to remember all of the little expenses. If you don't have a receipt, write the amount on a piece of paper. Your next step is to write down seven or eight categories in which you spend your money.B. A budget can help you make wise decisions about spending. First, collect copies of your monthly bills and receipts. Next, write down areas where you spend your money. Then, separate your bills and receipts into your categories. Record your expenses and add them up. Use the budget to control your spending.C. A budget can help you make wise decisions about spending. Compare your paycheck with your expenses. You might find that you've spent more money than you've earned. You can use your budget to control the amount of money you spend each month. You can start to see how small expenses add up. Change the following sentences from direct to indirect speech.a) Congratulations! You have come first in the exams, the principal said tome.b) Mohits father said, We must not watch TV while having our dinner.c) What an expensive car he drives! remarked Rahuls neighbour.d) How well you speak German, his teammate remarked.e) Hurry up! said Virus mother. The bus will be here in a minute.f) The policeman ordered the truck driver, Show your licence.g) You will have to surrender your passport, the officer said to the passenger.h) My grandfather said, May you have a long life!i) Mr Jain said to his colleague, Will you please drop me at the airport?j) Light travels in a straight line, the teacher explained.k) I saw an interesting film last evening, said my friend.l) The caller asked, May I speak with Shweta?m) May I know who is on the line? her father enquired.n) Ouch! The bee stung me! the child said A seismograph measuresa.how much the surface of Earth moves during an earthquake.b.the speed of S waves.c.the force of the earthquake.d.the location of the epicenter. An alrplane descends 1.6 miles to an elevation of 7.75 miles. Find the elevation of the plane before its descent. can somebody good at math help me with these please I would really appreciate it Maddie's bedroom is rectangular. The length of one wall of Maddie's bedroom is 4 meters. The length from one corner of the bedroom to the diagonally opposite corner is 5 meters. What is the length of the other wall? A company that makes hair products had 9000 people try new shampoo of the 9000 people 72 had a mild allergic reaction what percent of the people had a mild allergic reaction Find the slope of the line through (9, 4) and (0, 5). Which sentence correctly uses an adverbial phrase?O A. Best friends, and movie buffs, Kamryn and Jayla arrived.O B. Kamryn arrived early, but Jayla did not.C. Kamryn and Jayla arrived before the movie started.D. Kamryn and Jayla, who both loved movies, arrived early. Just admit it. You have more than one account on brainly. If not several you have one where you have a bad reputation and another where you have a good reputation. planet that tilts on its axis so it looks sideways,very cold,sevond to last planet from the sun The terms 'coordinating conjunction' and 'correlative conjunction' are pretty much synonymous.TrueFalse Which of the following was one of the main problems the colonists had with Great Britain asserting rule over the colonies?Group of answer choicescolonists had no representation in Parliamentcolonists were used to ruling themselvesthe colonies were bought by Britain from France so the colonists didn't feel loyalty to the Britishthe colonies were upset that Britain was stopping the practice of slaveryFlag this QuestionQuestion 220 ptsWho was the main author of the Declaration of Independence?Group of answer choicesThomas PaineThomas JeffersonJames MadisonJohn AdamsFlag this QuestionQuestion 320 ptsWhich of the following is NOT included in the Declaration of Independence?Group of answer choicesformal declarationassertion of natural rightsgrievancesarticles of confederationFlag this QuestionQuestion 420 pts"We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness."-excerpt from Declaration of IndependenceThis excerpt best supports which of the following concepts?Group of answer choicesseparation of powersnatural rightsrule of lawsocial contractFlag this QuestionQuestion 520 pts"That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it..."-excerpt from Declaration of IndependenceGroup of answer choicesseparation of powersnatural rightsrule of lawsocial contract What is the composition of DNA? (What are the parts of a DNA molecule) does anyone know the values of x and y? my teacher didnt go over this type of problem Rearrange x = 3g + 2 to make g the subject g=?