
Swift: Funciones, arrays y variables

Quiz
•
Instructional Technology
•
University
•
Hard
DANIELA ATAYDE REGALADO
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
¿Cuál es la forma correcta de declarar una constante en Swift?
let x = 10
const x = 10
var x = 10
constant x = 10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de colección es un array en Swift?
a) Mutable y ordenada
b) Inmutable y desordenada
c) Mutable y desordenada
d) Inmutable y ordenada
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cuál es la forma correcta de definir una función en Swift?
def miFuncion() {}
function miFuncion() {}
func miFuncion() {}
miFuncion() {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué método se utiliza para agregar un elemento a un array en Swift? a) add()
add()
insert()
append()
push()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el resultado de la siguiente expresión?
let a = 5
let b = 10
let resultado = a + b
5
10
15
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de dato se utiliza para almacenar un valor verdadero o falso en Swift?
String
Int
Char
Bool
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué función se utiliza para recorrer un array en Swift?
map()
forEach()
filter()
repeat()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
PHP BASIC

Quiz
•
University
15 questions
Preguntas de JavaScript

Quiz
•
University
10 questions
LINUX HISTORIA DIRECTORIOS Y COMANDOS

Quiz
•
University
15 questions
Python Internship Quiz

Quiz
•
12th Grade - University
10 questions
Programlanabilir Mantık Devreleri

Quiz
•
University - Professi...
15 questions
Güvenli İnternet

Quiz
•
1st Grade - University
10 questions
Fundamentos de JavaScript y DOM

Quiz
•
University
6 questions
Diagnósticos sobre C++ noveno

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Instructional Technology
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University