
Python Programming Basics
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Jose Ortega
Used 2+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se declara una matriz en Python utilizando listas anidadas?
matriz = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
matriz = ((1, 2, 3), (4, 5, 6), (7, 8, 9))
matriz = {1, 2, 3; 4, 5, 6; 7, 8, 9}
Ejemplo: matriz = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la función en Python para encontrar la longitud de una lista?
len()
length()
size()
count()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es el concepto de ámbito de una variable en Python?
El ámbito de una variable en Python se refiere a la cantidad de veces que se puede modificar la variable
El ámbito de una variable en Python se refiere a la posición de la variable en la memoria
El ámbito de una variable en Python se refiere a la región del código donde la variable es accesible.
El ámbito de una variable en Python se refiere al tamaño de la variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la forma correcta de llamar a una función en Python?
call nombre_funcion(parametros)
run nombre_funcion(parametros)
execute nombre_funcion(parametros)
nombre_funcion(parametros)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se accede al tercer elemento de una lista en Python?
lista[2]
lista{2}
lista[3]
lista(2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué sucede si intentas modificar una tupla existente en Python?
No sucederá nada al intentar modificar la tupla
La tupla se convertirá automáticamente en una lista
Python arrojará un error al intentar modificar una tupla existente.
Python permitirá modificar la tupla sin problemas
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué método se utiliza en Python para eliminar un elemento específico de una lista?
remove()
delete()
discard()
pop()
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué método se utiliza en Python para agregar un elemento al final de una lista?
add()
append()
insert()
extend()
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la forma correcta de acceder al último elemento de una lista en Python?
lista[-1]
lista[last]
lista[end]
lista[last_element]
Similar Resources on Wayground
12 questions
GCSE AQA 04 Computer Systems - Languages & Translators
Quiz
•
10th - 11th Grade
10 questions
Arduino
Quiz
•
7th - 12th Grade
10 questions
Función CONTAR
Quiz
•
KG - Professional Dev...
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
10 questions
Redes Informaticas
Quiz
•
10th Grade
10 questions
Quizzone Gmail
Quiz
•
9th - 12th Grade
10 questions
Outsourcing
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
