
GINCANA PYTHON
Authored by GABRIEL ALVES
Education
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você declara uma função em Python que não recebe parâmetros e não retorna nada?
`def minha_funcao():`
`function minha_funcao()`
`def minha_funcao:`
`minha_funcao()`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes opções é a maneira correta de declarar uma variável em Python?
`var x = 10`
`x := 10`
`x = 10`
`int x = 10`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código? ```python x = 5 if x > 3: print("Maior que 3") else: print("Menor ou igual a 3") ```
`Maior que 3`
`Menor ou igual a 3`
`Erro de sintaxe`
`Nenhuma saída`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você imprime a mensagem "Olá, Mundo!" em Python?
`echo "Olá, Mundo!"`
`print("Olá, Mundo!")`
`printf("Olá, Mundo!")`
`System.out.println("Olá, Mundo!")`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a função do comando `time.sleep()` em Python?
Pausar a execução do programa por um tempo especificado
Encerrar a execução do programa
Reiniciar a execução do programa
Nenhuma das anteriores
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes opções é a sintaxe correta para usar `time.sleep` para pausar o programa por 2 segundos?
`time.sleep(2)`
`sleep(2)`
`time.sleep(2.0)`
`time(2).sleep()`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você cria um loop `while` que continua executando enquanto a variável `x` for menor que 10?
`while x < 10:`
`while (x < 10)`
`while x <= 10:`
`while (x <= 10)`
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
Programming Knowledge Quiz (Medium)
Quiz
•
5th Grade - Professio...
15 questions
Quiz-5 ML
Quiz
•
Professional Development
13 questions
LA EVALUACION FORMATIVA
Quiz
•
Professional Development
13 questions
Intraoral Xray Quiz
Quiz
•
Professional Development
11 questions
KidSS Drone Quiz
Quiz
•
Professional Development
10 questions
Briefing Rutin Dit. PDRD
Quiz
•
Professional Development
13 questions
EdLeadership 2024 Day 1
Quiz
•
Professional Development
10 questions
KanyE WeSt
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Education
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...