
Scripting
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Sebastian Mérida
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
TEST1.PY
Quiz
•
10th Grade - University
16 questions
hardware y software.sy
Quiz
•
9th - 12th Grade
15 questions
Ôn tập Python
Quiz
•
9th - 12th Grade
20 questions
Uso del Aula VIrtual
Quiz
•
1st Grade - University
20 questions
ASK T3 : 1.1 Pembangunan Aturcara
Quiz
•
1st - 12th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
21 questions
Word I
Quiz
•
8th - 12th Grade
16 questions
Microcontrolere Noțiuni generale. Structura internă
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
