Imagem de fundo

Sobre as I linguagens de script: Shell Scripts (bash); Windows PowerShell 3.0; Python, ...

Questão 46

Sobre as I linguagens de script: Shell Scripts (bash); Windows PowerShell 3.0; Python, analise os códigos abaixo.


I -

mkdir src

new-item src\list-directory-contents. py

II -

count = O

while count < 5:

print( count)

count += 1

III -

# !/bin/bash

function valor {

read -p "Digite um número qualquer: " num

echo $[num]

}

saida= 'valor'

echo "O valor do status retornado é $saida"


Assinale a alternativa que contenha a sequência correta com a linguagem do código que está descrito nos itens I, II e III, respectivamente.

A

PowerShell, Python e Shell Scripts (bash).

B

PowerShell, Shell Scripts (bash) e Python.

C

Python, PowerShell e Shell Scripts (bash).

D

Python, Shell Scripts (bash) e PowerShell.

E

Shell Scripts (bash), Python e PowerShell.