4.8 Scripting Flashcards
Identify the basics of scripting
Shell script
Text-based file that contains commands that can be interpreted and
presented to the computer
Batch file
Text-based file containing Windows commands and is interpreted from
the command line environment
From where can batch files be operated?
The command-line environment
What is the naming scheme for PowerShell commandlets?
verb-noun
Advantage of PowerShell over batch files
Allows for more complex scripts
Give three things PowerShell can change/interact with
- Windows components
- Windows features
- Active Directory
Where does .vbs run from?
Inside other applications, mainly Office products
Describe how Linux Shell Script (.sh) works
Similar to a batch script inside of Windows
Where is JavaScript designed to be implemented?
Inside a web-based interface
Aside from websites and web apps, where is .js used?
Scripting languages on macOS desktops and servers
What systems can Python run on?
Windows, Mac and Linux
Why is Python considered an interpreted language?
Because it is cross-platform in nature
What three scripts only run on Windows
.vbs
.ps1
.bat
Boolean
A form of data with only two possible values (T or F)
Give the three names for a variable that stores a decimal number
Float, decimal, real number