Funções em Python
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Mauro Santore
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Qual das opções abaixo NÃO é uma vantagem de usar funções em Python?
Reutilização de código
Organização
Legibilidade
Aumentar o tamanho do código
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Preencha a lacuna: Para definir uma função em Python, usamos a palavra-chave ______, seguida pelo nome da função e parênteses.
def
func
define
function
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Qual é a sintaxe básica para definir uma função em Python?
function nome_da_funcao():
def nome_da_funcao():
define nome_da_funcao():
func nome_da_funcao():
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Preencha a lacuna: Com nomes bem definidos, as funções tornam o código mais fácil de _______.
entender
escrever errado
complicar
esquecer
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
O que são parâmetros (ou argumentos) em uma função Python?
Informações que você 'envia' para a função
O valor retornado pela função
O nome da função
O tipo de dado da função
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Qual é a palavra-chave utilizada em Python para definir uma função?
func
def
function
create
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Qual é o propósito da instrução return em uma função?
Para imprimir um valor na tela.
Para encerrar a execução da função e, opcionalmente, enviar um valor de volta.
Para iniciar a execução da função.
Para declarar uma nova variável dentro da função.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Pensamiento Computacional
Quiz
•
8th - 11th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
PF Unit 10
Quiz
•
9th Grade - University
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
15 questions
AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX
Quiz
•
1st Grade - University
11 questions
Linguaggio Java - Ereditarietà
Quiz
•
11th - 12th Grade
15 questions
Информатика
Quiz
•
9th - 11th Grade
13 questions
Python - I
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Los mandatos y las recetas
Lesson
•
11th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
