Preguntas sobre Arreglos en Bash

Quiz
•
Computers
•
University
•
Medium
Loreta Villarnobo
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Part 2 - Command Line

Quiz
•
University
6 questions
PI - Taller 4: Arrays

Quiz
•
University
13 questions
Sistemas de información

Quiz
•
10th Grade - University
11 questions
CRUD en MySQL

Quiz
•
University
14 questions
Examen Diagnostico - Introducción a la Programacion

Quiz
•
University
9 questions
PWD_TP1_TP2_TP3

Quiz
•
University
15 questions
Arreglos en Java

Quiz
•
University
10 questions
Programacion pseudocodigo

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University