![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 10.11.2019 02:31 backu1477
Assume the availability of a function is_prime . assume a variable n has been associated with positive integer. write the statements needed to find out how many prime numbers (starting with 2 and going in increasing order with successively higher primes [2,3,5,7,11,) can be added before exceeding n . associate this number with the variable k .
this is my code
def k(n):
sum = 0
k=2
while sum < = n:
if is_prime(k):
sum +=k
if sum < = n:
k+= 1
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
You know the right answer?
Assume the availability of a function is_prime . assume a variable n has been associated with positi...
Questions
![question](/tpl/images/cats/himiya.png)
Chemistry, 21.10.2019 21:40
![question](/tpl/images/cats/himiya.png)
Chemistry, 21.10.2019 21:40
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 21.10.2019 21:40
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
History, 21.10.2019 21:40
![question](/tpl/images/cats/fizika.png)
Physics, 21.10.2019 21:40
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/istoriya.png)
History, 21.10.2019 21:40
![question](/tpl/images/cats/himiya.png)
Chemistry, 21.10.2019 21:40
![question](/tpl/images/cats/mat.png)
Mathematics, 21.10.2019 21:40
![question](/tpl/images/cats/biologiya.png)
Biology, 21.10.2019 21:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/fizika.png)