Preguntas sobre Python y CodeCombat 2.0

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
David Moreno
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué son los argumentos en una función en Python?
Son valores que se envían a una función para que los use.
Son comandos secretos del juego.
Son los enemigos en CodeCombat.
No tienen ninguna función en el código.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo pasamos un argumento a una función en CodeCombat?
Escribiendo el valor entre paréntesis al llamar la función.
Usando la tecla Enter.
No es necesario pasar argumentos.
Presionando un botón en el juego.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué representa self.health en CodeCombat?
La cantidad de vida del héroe.
El nivel de dificultad del juego.
La velocidad del héroe.
La cantidad de oro en el mapa.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si una función attack(enemy) en CodeCombat recibe un argumento, ¿qué debemos enviarle?
Un número aleatorio.
El nombre de un enemigo.
Una palabra sin sentido.
Nada, porque la función se ejecuta sola.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál de las siguientes opciones cambia una propiedad del héroe en CodeCombat?
A) hero.speed = 10
B) hero.attack(10)
C) hero.run()
D) hero.moveRight(10)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué sucede si llamamos a una función sin pasarle los argumentos necesarios?
El héroe se mueve más rápido.
El juego se vuelve más difícil.
Aparece un error porque faltan los argumentos.
No pasa nada, la función se ejecuta igual.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo puedes obtener la cantidad de oro que tiene tu héroe en CodeCombat?
hero.speed
hero.gold
hero.attack
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
hoja de calculo

Quiz
•
6th Grade
20 questions
EVALUACIÓN FINAL DE COMPUTACIÓN

Quiz
•
7th Grade
16 questions
Virus y Antivirus

Quiz
•
8th Grade
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
16 questions
Conociendo mbot Ranger

Quiz
•
4th - 6th Grade
19 questions
ProA Desarrollo de Software 3° año

Quiz
•
1st - 12th Grade
20 questions
VideoGames

Quiz
•
KG - University
20 questions
EXAMEN DE OCTAVO GRADO

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade