

IF-ELSE grananje
Presentation
•
Computers
•
6th Grade
•
Practice Problem
•
Medium
Sandra Obadić
Used 1+ times
FREE Resource
11 Slides • 2 Questions
1
2
3
NAREDBA IF-ELSE
4
5
Multiple Choice
Koji simbol moram dodati dijagramu toka kako bi mi program ispisao još jedan ishod? Odnosno da je broj negativan?
6
KORACI
1. Pronađi slučajan broj.
2. Postavi uvjet ako je broj a>=0.
3. Ako je uvjet ispunjen, ispiši broj a i poruku da je pozitivan.
4. Ako uvjet nije ispunjen, onda ispiši broj a i poruku da je
negativan.
7
Draw
Zadatak 1.
Nacrtaj dijagram toka za program koji ti postavlja sljedeće pitanje: „Koja je voćka specifična za područje s doline Neretve?“. Ako je odgovor točan, ispisuje se poruka: „Bravo! Točan odgovor!“, inače ispisuje poruku: „Žao mi je, netočan odgovor!“.
8
1. POSTAVI PITANJE I UNOS ODGOVORA.
2. POSTAVITI UVJET
3. AKO JE UVJET ISPUNJEN, TJ. ODGOVOR TOČAN,
ISPIŠI PORUKU "BRAVO! TOČAN ODGOVOR!"
4. AKO UVJET NIJE ISPUNJEN, TJ. ODGOVOR JE
NETOČAN, ISPIŠI PORUKU "ŽAO MI JE,
NETOČAN ODGOVOR!"
9
Rješenje: Zadatak 1.
10
Zadatak 2. Napiši program u Pythonu koristeći naredbu if-else kako bi provjerio djeljivost dvaju brojeva.
11
Rješenje: Zadatak 2.
12
Zadatak 3.
Napiši program u Pythonu koristeći naredbu if-else kako bi provjerio je li neki broj paran.
13
Rješenje: Zadatak 3.
Show answer
Auto Play
Slide 1 / 13
SLIDE
Similar Resources on Wayground
8 questions
Programi za potporu učenja
Presentation
•
6th Grade
10 questions
1.3. Spremanje podataka
Presentation
•
5th Grade
13 questions
Tipovi podataka u programskom jeziku Python
Presentation
•
6th Grade
9 questions
Merenje dužine
Presentation
•
6th Grade
13 questions
Les fractions
Presentation
•
5th - 6th Grade
9 questions
French introduction questions
Presentation
•
KG
10 questions
Frances
Presentation
•
5th Grade
7 questions
Les sports et les jeux
Presentation
•
6th Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
10 questions
Static and Dynamic Characters
Quiz
•
6th Grade
42 questions
ELA Final Exam Review
Quiz
•
6th Grade
23 questions
Potential and Kinetic Energy
Quiz
•
6th Grade
20 questions
All About Chicken Nuggets
Quiz
•
6th Grade
28 questions
A Rover's Story, part 1
Quiz
•
6th - 8th Grade