
Scripting

Quiz
•
Computers
•
12th Grade
•
Easy
Sebastian Mérida
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Cuál es la forma correcta de comentar una línea en un script de Bash?
! Comentario de una línea en Bash
// Comentario en Bash
# Este es un comentario en Bash
/* Esto es un comentario en Bash */
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué comando se utiliza para ejecutar un script de Python desde la terminal?
execute nombre_del_script.py
start nombre_del_script.py
python nombre_del_script.py
run nombre_del_script.py
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
En Bash, ¿cómo se asigna un valor a una variable?
variable=valor
variable := valor
variable => valor
variable == valor
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Cuál es la estructura de control básica en Python para tomar decisiones?
switch
for
if
else
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Cómo se puede leer el contenido de un archivo en Bash?
leer nombre_del_archivo
cat nombre_del_archivo
open nombre_del_archivo
echo nombre_del_archivo
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué palabra clave se utiliza para definir una función en Python?
function
func
define
def
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Cuál es la diferencia entre 'echo' y 'printf' en Bash?
printf adds a newline character automatically, while echo does not
printf is faster than echo in terms of execution speed
La diferencia principal es que 'echo' agrega automáticamente un salto de línea al final de la salida, mientras que 'printf' no lo hace.
echo is used for printing formatted output, while printf is used for plain text
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CSS

Quiz
•
12th Grade
20 questions
PYTHON Y EL ANÁLISIS DE DATOS

Quiz
•
12th Grade
20 questions
Prueba de Word

Quiz
•
9th - 12th Grade
17 questions
Tinkercad 2020

Quiz
•
10th - 12th Grade
17 questions
Different Kinds of Code (Machine, assembly, compiled, scripting)

Quiz
•
12th Grade
17 questions
Evaluación-1 de Python

Quiz
•
1st Grade - University
20 questions
2do Parcial_Diseño_Digital

Quiz
•
12th Grade
19 questions
ProA Desarrollo de Software 3° año

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade