Well for must cases it is the Ram of the system and the processor I will show you how you can get rid of slow processing
- Run the task manager then try to stop some running programs
- the antivirus sometimes slows the computer due to the processing power it takes.
- I would recommend that all program should be closed from the task manager and close some running apps in the system settings go to start up and then close it now you are good to go.
Answer:
Explanation:
Let's do this in python
(a) Between 5 and 60 and divisible by 5
for i in range(5, 60/5):
print(5*i)
(b) Less than 200 and divisible and 2 and 7
for i in range(1, int(200/14) + 1):
print(14*i)
(c)Sum of multiple of 8 that are between 100 and 500
sum_result = 0
for i in range(100, 500):
if i % 8 == 0:
sum_result += i
print(sum_result)
(d)sum of all odd numbers between 20 and 10
sum_odd = 0
for i in range(10, 20):
if i % 2 == 1:
sum_odd += i
print(sum_odd)
Answer:
Explanation:
Using Python as our programming language
code:
def partitionArray(A,k):
flag=0
if not A and k == 1:
return "Yes"
if k > len(A) or len(A)%len(A):
return "No"
flag+=1
cnt = {i:A.count(i) for i in A}
if len(A)//k < max(cnt.values()):
return "No"
flag+=1
if(flag==0):
return "Yes"
k=int(input("k= "))
n=int(input("n= "))
print("A= ")
A=list(map(int,input().split()))[:n]
print(partitionArray(A,k))
Code Screenshot:-
Answer:
Which tool would you use to display only the breeds that are good with kids?:Filter
Which filter parameter would display only rows 3 and 6?: No
Which tool would organize the list from most preferred to least preferred? Sort
Which tool would organize the list from lightest breeds to heaviest breeds?: Sort
Multiple Parameters: is/are needed to organize the list so that it shows only dog breeds that are good with kids and less than 25 inches tall.
Explanation: