Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency
Q
?
A -
Informatica
search
Login
Remember
Register
New Activity
Questions
Unanswered
Tags
Categories
Users
Course
News
FAQs
Do you need help?
Ask a Question
Notice Board
Situazione finale voti HW
Eserciziario Python
WTF Python!
Exams
Test
Grades
Attachments
Esame 6-11-19
check
RECUPERO Homework 1
link
RECUPERO Homework 2
link
RECUPERO Homework 3
link
RECUPERO Homework 4
link
Esame 19-9-19
check
link
Esame 16-7-19
check
link
Esame 24-6-19
check
link
Esame 10-4-19
check
link
Esame 31-1-19
check
link
Esame 8-1-19
check
link
Homework 4
link
Homework 3
check
link
Homework 2
check
link
Homework 1
check
link
1.162
questions
1.988
answers
3.710
comments
591
users
Related questions
Cosa chiede il secondo esercizio del primo homework di recupero?
Domanda su un test es2 hw3
[RISOLTO] Testare esercizio 2 (un po alla volta)
Most popular tags
esercizio3
homework3
es3
homework
es2
hw3
homework1
es1
homework4
homework2
esercizio1
esercizio2
avvisi
hw4
hw2bis
peer-assessment
python
hw4bis
problema
hw3bis
prova-di-esame
homework-di-recupero
hw2
test
voti
esame
ricorsione
consegna
hw1bis
tempi
homework2bis
aiuto
errore
dizionari
librerie
risultati
liste
scadenze
attore
feedback
consigli
leggibilità
hw1
zip
research
oggetti
metodi
esercizio
program_03
bonus
Categories
Announcements
(13)
Intro. to Programming and Lab AA22-23 (Latina)
(14)
Programming AY20-21
(123)
Programming AY21-22
(205)
Programming AY22-23
(296)
Programming AY23-24
(182)
Fondamenti di programmazione AA18-19
(1.2k)
Info sul corso e sugli esami
(278)
Homework
(650)
Programmare in python
(31)
Avvisi
(65)
Homework di recupero
(138)
Fondamenti di Programmazione AA19-20
(436)
Fondamenti di Programmazione AA20-21
(709)
Fondamenti di programmazione AA21-22
(366)
Fondamenti di programmazione AA22-23
(564)
Fondamenti di programmazione AA23-24
(350)
Other
(26)
Anni precedenti
(784)
Architetture degli elaboratori AA20-21
(3)
BUG BOUNTY / IMPROVEMENTS
(4)
Verificare se un numero è primo
DRDLCN
(8070 points)
28
68
104
asked
Oct 26, 2018
in
Info sul corso e sugli esami
by
DRDLCN
(
8.1k
points)
closed
Oct 27, 2018
by
andrea.sterbini
Qual'è il modo piu' veloce per verificare se un numero è primo?
se non è divisibile per tutti i numeri precedenti? o precedenti ma prima della sua meta'?
534
views
closed with the note:
answered
es2
4
3
Answers
Best answer
VincenzoImperati
(6290 points)
6
15
58
answered
Oct 26, 2018
by
VincenzoImperati
(
6.3k
points)
selected
Oct 26, 2018
by
DRDLCN
per verificare se un numero è primo usi un ciclo che controlla la non divisibilità del numero per numeri diversi da 1 e il numero stesso. questo per ogni numero fino alla radice quadrata del numero da esaminare. le altre due richieste si risolvono con alcuni cicli di controllo (IF) dopo aver ottenuto i suoi divisori, utilizzando ad esempio lo stesso criterio spiegato prima per i numeri primi
4
comment
Please
log in
or
register
to add a comment.
a
alex_err
(5800 points)
1
3
32
answered
Oct 26, 2018
by
alex_err
(
5.8k
points)
Un numero è primo se non ha nessun divisore minore alla sua radice quadrata.
3
comment
Please
log in
or
register
to add a comment.
daniel.f
(1750 points)
4
20
34
answered
Oct 26, 2018
by
daniel.f
(
1.8k
points)
della sua meta' fino a 2
3
comment
Please
log in
or
register
to add a comment.