
Conceptos de Funciones en Programación
Interactive Video
•
Computers
•
7th - 10th Grade
•
Practice Problem
•
Easy
Ethan Morris
Used 1+ times
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Por qué es importante optimizar el código repetitivo?
Para ahorrar tiempo y esfuerzo al escribir código.
Para hacer el código más complicado.
Para aumentar el tamaño del archivo de código.
Para evitar el uso de funciones.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el primer paso al definir una función?
Usar la palabra reservada seguida del nombre de la función.
Declarar las variables dentro de la función.
Llamar a la función inmediatamente.
Escribir el cuerpo de la función.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el propósito principal de una función en programación?
Eliminar la necesidad de variables.
Realizar una tarea específica y reutilizable.
Repetir el código sin cambios.
Hacer el código más difícil de entender.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es un parámetro en una función?
El nombre de la función.
Una variable global dentro de la función.
Un valor que se pasa a la función para que trabaje con él.
Un valor que se devuelve al final de la función.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué sucede cuando se llama a una función sin parámetros?
La función no se ejecuta.
La función se ejecuta con valores predeterminados.
La función devuelve un error.
La función se ejecuta pero no realiza ninguna acción.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué se debe hacer para que una función 'saludar' diga 'hola' a un nombre específico?
No se puede personalizar el saludo.
Agregar el nombre como un parámetro al llamar la función.
Modificar el cuerpo de la función cada vez.
Usar una variable global para el nombre.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace la función 'sumar' en el ejemplo dado?
Resta dos números.
Suma dos números.
Divide dos números.
Multiplica dos números.
Create a free account and access millions of resources
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
8 questions
Transforming Past Tense Verbs: Change 'y' to 'i'
Interactive video
•
6th - 10th Grade
6 questions
Exploring Spanish Personality Traits Through Adjectives
Interactive video
•
6th - 10th Grade
11 questions
Conjugating Irregular Imperfect Verbs
Interactive video
•
6th - 10th Grade
11 questions
Seed Germination and Dispersal Concepts
Interactive video
•
6th - 10th Grade
11 questions
Exploring NASCAR's Car Safety Innovations
Interactive video
•
6th - 10th Grade
11 questions
Essential Spanish Greetings You Need to Know
Interactive video
•
6th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
40 questions
TSDE Semester Final Review
Quiz
•
8th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
Computer/ Internet Company Trademark Logos
Quiz
•
7th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
20 questions
Logos
Quiz
•
2nd - 8th Grade
40 questions
Unit 2: Typing Test Review
Quiz
•
7th Grade