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
15 questions
VECTORES Y MATRICES

Quiz
•
University
10 questions
JTable en Java

Quiz
•
University
10 questions
Arreglos

Quiz
•
7th Grade - Professio...
10 questions
Excel Avance 3

Quiz
•
6th Grade - University
10 questions
Programación II Parte 1

Quiz
•
University
10 questions
Estructuras de Control SC2

Quiz
•
University
9 questions
ed Hat System Administration I - Test 2B

Quiz
•
University
11 questions
Parcial 2 de Programación

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade