
Preguntas sobre Arreglos en Bash
Authored by Loreta Villarnobo
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es un arreglo en Bash?
Un tipo de variable que puede almacenar solo un valor.
Una estructura de datos que permite almacenar múltiples valores en una sola variable.
Un comando de Bash que imprime texto en la pantalla.
Un archivo que contiene comandos de Bash.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se define un arreglo en Bash?
arreglo[1] = "valor"
arreglo=("valor1" "valor2" "valor3")
definir arreglo = valor1, valor2
crear arreglo: ["valor1", "valor2"]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la forma correcta de acceder al primer elemento de un arreglo llamado frutas?
frutas[0]
frutas{0}
frutas.0
frutas(0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Para modificar un elemento en un arreglo, se usa la siguiente sintaxis:
arreglo[1] = "nuevo_valor"
arreglo[1]: "nuevo_valor"
modificar arreglo[1] con "nuevo_valor"
cambiar arreglo[1] a "nuevo_valor"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué comando se usa para recorrer un arreglo en Bash?
while
for
loop
repeat
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Los arreglos en Bash son de tamaño fijo una vez que se definen.
Verdadero
Falso
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Los índices de un arreglo en Bash comienzan en 1.
Verdadero
Falso
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
12 questions
Cloud Computing - Introducción
Quiz
•
University
10 questions
Servidor Web
Quiz
•
University
10 questions
Marco Teórico
Quiz
•
University
15 questions
Preguntas sobre Excel 2016
Quiz
•
6th Grade - University
10 questions
Diagnóstico Páginas Web
Quiz
•
University
10 questions
internet
Quiz
•
University
12 questions
Tecnología - Almacenamientonube_10
Quiz
•
University
10 questions
Repaso teoría 1er Parcial - SISOP UTN-FRBA
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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