Jakie są różnice między funkcją print a funkcją return?
Python_P_F

Quiz
•
Computers
•
9th Grade
•
Medium
Used 15+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Funkcja print i funkcja return są synonimami i można ich używać zamiennie.
Funkcja print zwraca wartość z funkcji, a funkcja return wyświetla informacje na ekranie.
Funkcja print i funkcja return nie różnią się od siebie.
Funkcja print służy do wyświetlania informacji na ekranie, natomiast funkcja return zwraca wartość z funkcji i kończy jej działanie.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Oprócz instrukcji FOR drugą instrukcją iteracyjną w Python jest:
IF
REPEAT
UNTIL
WHILE
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Co oznacza taki zapis w instrukcji warunkowej: a != 8?
czy a jest równe od 8
czy a jest różne od 8
czy a jest mniejsze od 8
czy a jest większe od 8
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Jaki operator służy do wyświetlania reszty z dzielenia?
%
//
#
?
5.
FILL IN THE BLANK QUESTION
1 min • 3 pts
Wypisz wartości jakie przyjmuje zmienna iteracyjna "i" po wywołaniu tej pętli.
6.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
Co wypisze instrukcja?
1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 5 6 7 8 9
koniec petli
7.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
który ciąg liczb wypisze pętla?
12 8 4 0 -4 -8 -12
12 8 4 -4 -8 -13
12 8 4 -4 -8 -12
12 8 4 0 -4 -8
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
8 questions
Podstawy pythona

Quiz
•
7th - 12th Grade
11 questions
Języki programowania

Quiz
•
9th Grade
10 questions
Podstawy Pythona

Quiz
•
9th - 12th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
10 questions
9-сынып. Python массив.

Quiz
•
1st - 9th Grade
15 questions
Iteration

Quiz
•
9th - 12th Grade
13 questions
String Manipulation

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University