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
emmainna [20.7K]
3 years ago
6

What will the document.write() statement display, given the following code snippet? var scores = new Array[94, 90, 88, 82, 73, 7

0, 75]; var lgth = scores.length; document.write("There are " + lgth + "scores recorded. The dropped score is " + scores[lgth – 1]);
Computers and Technology
1 answer:
astra-53 [7]3 years ago
4 0

Answer:

There are 7 scores recorded. The dropped score is 75

Explanation:

The code snippet above prints through the document.write() function. the output prints the string serving as the argument, and makes use of variables (lgth) and expression also (scores [lgth -1]). what it does is. From the point where it sees +lgth+, it checks the value, which is 7. And when it sees scores [lgth-1] it evaluates it to 75. Hence, the string above is produced.

You might be interested in
What is a template class in c++?
AURORKA [14]
Install Visual Studio 2017 and install the C++ pack and you have access to the templates (function and class)
7 0
3 years ago
Programming Objectives
erma4kov [3.2K]

Answer:

See Explaination

Explanation:

m=int(input("Please specify the number of elements in first list : "))

n=int(input("Please specify the number of elements in second list : "))

m1=1

list1=[]

n1=1

list2=[]

while m1<=m:

r1=int(input("input element {} of list1: ".format(m1)))

list1.append(r1)

m1+=1

while n1<=n:

list2.append(int(input("input element {} of list2: ".format(n1))))

n1+=1

def Intersection(list1,list2):

return set(list1).intersection(list2)

print("The intersection of two lists is {}".format(Intersection(list1,list2)))

7 0
3 years ago
What are two characteristics of switches? (Choose two.) * 1 point A. Switches identify the intended destination of the data that
tigry1 [53]

Answer:

A. Switches identify the intended destination of the data that they receive. And C. Switches are capable of sending and receiving data at the same time

Explanation:

Switches can be used as inputs (Analog), or outputs (digital). These inputs and outputs are signals that the switches send or receive- Or at least as push button switches... But the same applies to network switches.

Hope this helps! Have a great day!

7 0
3 years ago
**PLEASE HELP**
ruslelena [56]
Normally, you might expect that anything related to Sodium and Chlorine is insanely dangerous and shares properties of both(B), but since the two are making a compound, that is not true. Compounds almost never share the properties of the elements they are made from. So your answer is D.
8 0
3 years ago
When you use a rest area, you should:<br><br>C.Walk around your car after resting
Fittoniya [83]

I don't get the question

3 0
3 years ago
Other questions:
  • Briefly explain five measures you have undertaken to protect your confidential
    12·1 answer
  • Choose a firewall that is currently on the market and write a technical "sales pitch" to your classmates on why they should choo
    5·1 answer
  • 1. A microprocessor supports a single hardware timer. Suppose instruction SET_TIMER permits one to set the timer value1. Does th
    15·1 answer
  • Li Chang has recently started his own business. He plans to launch his design for an application (app) for a smartphone. All of
    9·1 answer
  • The scope of a variable declared inside of a function is:
    8·1 answer
  • Which category of management information systems (MIS) combines the forecasting capability of decision support software with the
    12·1 answer
  • What is a header row?
    8·1 answer
  • Escribe un ejemplo de:• Software de aplicación. • Software de diagnóstico. • Software de sistema. ayudenme plis, me toca entrega
    10·1 answer
  • Oliver is working for a team that uses object-oriented concepts to design software. Which language would they use to develop thi
    10·1 answer
  • How is video compression accomplished?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!