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
LiRa [457]
3 years ago
7

What is the missing line of code?

Computers and Technology
2 answers:
Sergio [31]3 years ago
8 0

Answer:

Explanation:

Leona [35]3 years ago
5 0

Answer:

B. from random import shuffle

Explanation:

You might be interested in
Contemporary operation of networking technology is possible only through the usage of open-use technology and layering approache
eimsori [14]

Answer: TRUE

Explanation: Networking technology is the term used to describe the entire processes through which computer or mobile systems are linked up either through optic fibers,wireless systems in order to enhance effective communication across networks or regions.

OSI (open system interconnection), the earliest models partitions into seven layers and the OSI is known as model that creates partitioning a communication system classing them into abstraction layers.

8 0
3 years ago
Design a program takes as input, X, an unsorted list of numbers, and returns the sorted list of numbers in X. The program must b
Lelechka [254]

Answer:

The program in python is as follows:

def split(X):

   L = []; G = []

   for i in range(len(X)):

       if X[i]>=X[0]:

           G.append(X[i])

       else:

           L.append(X[i])

   L.sort(); G.sort()

   return L,G

X = []

n = int(input("Length of X: "))

for i in range(n):

   inp = int(input(": "))

   X.append(inp)

   

if len(X) == 0 or len(X) == 1:

   print(X)

else:

   X1,X2=split(X)

   newList = sorted(X1 + X2)

   print(newList)

Explanation:

The following represents the split function in the previous problem

def split(X):

This initializes L and G to empty lists

   L = []; G = []

This iterates through X

   for i in range(len(X)):

All elements of X greater than 0 equal to the first element are appended to G

      <em> if X[i]>=X[0]:</em>

<em>            G.append(X[i])</em>

Others are appended to L

<em>        else:</em>

<em>            L.append(X[i])</em>

This sorts L and G

   L.sort(); G.sort()

This returns sorted lists L and G

   return L,G

The main function begins here

This initializes X

X = []

This gets the length of list X

n = int(input("Length of X: "))

This gets input for list X

<em>for i in range(n):</em>

<em>    inp = int(input(": "))</em>

<em>    X.append(inp)</em>

This prints X is X is empty of has 1 element

<em>if len(X) == 0 or len(X) == 1:</em>

<em>    print(X)</em>

If otherwise

else:

This calls the split function to split X into 2

   X1,X2=split(X)

This merges the two lists returned (sorted)

   newList = sorted(X1 + X2)

This prints the new list

   print(newList)

7 0
3 years ago
The components in the cylinder head that holds a valve in place and prevents the valve stem from moving side to side is the ?
nikdorinn [45]

Answer:

Valve guide

Explanation:

I've taken test

3 0
4 years ago
Read 2 more answers
Differentiate between manual and computerized accounting
AnnyKZ [126]
A manual accounting system is a bookkeeping system for recording business activity transactions, where financial records are kept without using a computer system with specialized accounting software.

A computerised accounting system is an accounting information system that processes the financial transactions and events as per Generally Accepted Accounting Principles (GAAP) to produce reports as per user requirements.
8 0
2 years ago
!!!URGENT!!!
zvonat [6]
A. Integers. Integers have to do with positive or negative whole numbers without decimals, so like with apples in a basket you would have 5 apples, not 5.67 apples. Whereas floating numbers has to do with decimals where it is basically saying the decimal can float. Strings are quite confusing but basically this is a string 1.5.1, and you would not have 1.5.1 of an apple. A Boolean is have to do with the truth values true and false and is normally denoted 1 and 0. Hope this helps!
3 0
4 years ago
Other questions:
  • What does the Sort feature do with a database
    13·1 answer
  • Why would a brokered CD pay more than a regular CD?
    13·1 answer
  • The process of searching for a special pattern of symbols within a larger collection of information is called pattern ____.
    12·1 answer
  • What version of android did nexus one run?
    14·1 answer
  • Which task, performed by systems developers, will most likely ensure that end users accept a new system?
    15·1 answer
  • Harmful programs used to disrupt computer operation, gather sensitive information, or gain unauthorized access to computer syste
    10·1 answer
  • We cannot create a blank table true or false​
    8·1 answer
  • What output is produced by
    10·1 answer
  • Technology and Communications Quiz Active 1 Which of the following inventions has had the greatest impact on sound technology? A
    11·1 answer
  • A company set up controls to allow only a specific set of software and tools to install on workstations. A user navigates to a s
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!