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
Fofino [41]
3 years ago
7

_____ is the dynamic storage-allocation algorithm which results in the smallest leftover hole in memory.

Computers and Technology
1 answer:
a_sh-v [17]3 years ago
6 0
Dynamic memory allocation algorithms (like the heap in a C program) suffer from fragmentation if some of the memory is released. The "best-fit" algorithm finds the smallest hole in memory big enough to fit the request amount.
You might be interested in
how to create a program that prime number include arraylist , and if not print the prime factors of the number.
4vir4ik [10]

Answer:

import math

# Python program for presenting all the prime numbers till an agreed numeral

prime=[]

def findprimeinanarray(n):

   print("Prime numbers admid", 1, "and", n, "are:")

   j=0

   flag=0

   for n in range(1, n + 1):

  # all prime numbers are greater than

      if n > 1:

         for i in range(2, n):

          if (n % i) == 0:

              flag=0

              break

          else:

              flag=1

      if flag==1:

          prime.insert(j,n)

          j=j+1

      else:

          continue

   print(prime[:])        

# A Python function for printing all the prime functions and a Python program to print prime factor

prime1=[]

j=0

# A function to print all the prime factors of a given number if it is not prime

def primeFact(num):

while num % 2==0:

    prime1.insert(2,0)

    num = num/2

 

# num should be odd at this breakpoint

# so we need a shift of 2 ( i = i + 2)

for i in range(3,int(math.sqrt(num))+1,2):

 

 # while i divides num , print i ad divide num

 while num % i== 0:

  num = num /i

 if  num >2:

     j=j+1

     prime1.insert(num,j)

 

 

print(prime1[:])

 

# program to test the coderint

n=600

findprimeinanarray(7)  

k = 45

primeFact(k)

Explanation:

import math

# Python program for presenting all the prime numbers till an agreed numeral

prime=[]

def findprimeinanarray(n):

   print("Prime numbers admid", 1, "and", n, "are:")

   j=0

   flag=0

   for n in range(1, n + 1):

  # all prime numbers are greater than

      if n > 1:

         for i in range(2, n):

          if (n % i) == 0:

              flag=0

              break

          else:

              flag=1

      if flag==1:

          prime.insert(j,n)

          j=j+1

      else:

          continue

   print(prime[:])        

# A Python function for printing all the prime functions and a Python program to print prime factor

prime1=[]

j=0

# A function to print all the prime factors of a given number if it is not prime

def primeFact(num):

while num % 2==0:

    prime1.insert(2,0)

    num = num/2

 

# num should be odd at this breakpoint

# so we need a shift of 2 ( i = i + 2)

for i in range(3,int(math.sqrt(num))+1,2):

 

 # while i divides num , print i ad divide num

 while num % i== 0:

  num = num /i

 if  num >2:

     j=j+1

     prime1.insert(num,j)

 

 

3 0
3 years ago
Solving Systems of Equations by Substitution <br> pdf
maks197457 [2]
Bro look on photo math cjjdjsj
8 0
3 years ago
9.
Liula [17]

Answer:

128 is ur answer

Explanation:

please mark me as brainilist

5 0
3 years ago
6. What type of application is designed for making slide shows?​
Sonbull [250]
Keynotes is good , PowerPoint
8 0
3 years ago
Read 2 more answers
List and explain three computing devices from the 20th century​
kotykmax [81]

Answer:

Calculating Machine

Graphic tablet.

Touchscreen

Explanation:

Hope this helps.

Brain-List?

8 0
3 years ago
Read 2 more answers
Other questions:
  • What feature did the 32X add to the Sega Genesis?
    13·1 answer
  • What is the difference between deta security and privecy ?
    12·2 answers
  • What type of interview would be most likely for the following scenario?
    11·2 answers
  • The Internet began when a large company wanted to sell products online. True False
    15·2 answers
  • "Packet switches have multiple links attached to them. For each attached link the packet switch has a/an ____________, which sto
    7·1 answer
  • Why do designers use tonal shading?
    10·2 answers
  • Which of the following is NOT an acceptable way to create a color?
    14·1 answer
  • Write a program to find all integer solutions to the equation 4x + 3y -9z = 5 for values of x, y, and z between 0 to 100.
    11·1 answer
  • ________ is the use of information technology to support the sharing of content among networks of users.
    14·1 answer
  • What web browser feature would be particularly useful when using public computers?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!