1/26
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
.vbs (Visual Basic)
Used within Windows inside Visual Basic
Not mainly used because of .ps1 but it does run from other application MS Word, MS Excel, and other MS office products
.bat (Batch File)
Used within Windows inside the command prompt environment
.ps1 (PowerShell)
Used within Windows inside the PowerShell environment and allows for more complex scripts than using batch file
.sh (Bash Script)
used within Linux
.js (JavaScript)
Used for automations in webpages and macOS systems
.py (Python)
Generic scripting language used in Windows, Linux, and Mac
Pseudocode
Generic language used to teach new learners how to program a computer
Shell Script
Text-based file that contains commands that can be interpreted and presented to the computer
Variable
Used to store values and data for different data types
Boolean
A form of data with only two possible values (True or False)
Integer
A variable that stores an integer or a whole number that may be positive or negative
Float/Decimal/Real Number
A variable that stores a decimal number
Character
A variable that can only store one ASCII Character
String
A variable that can store multiple characters
Constant
Like a variable, but cannot be changed within the program once defined
Loop
A type of flow control that controls which order the code will be executed in a given program
For Loop
Used when the number of times to repeat a block of code is known
For i = 1 to 10 OUTPUT(i)
Endfor
While Loop
Used when the number of times to repeat a block of code is not known and will only stop until something happens
i = 0
While i < 10
OUTPUT(i)
i = i + 1
Endwhile
Do Loop
Used when there’s an indefinite iteration that needs to happen and will only stop until some condition is met at the end of the loop
Do
OUTPUT(i)
i = i + 1
Until i > 10
Logical Control
Used to provide condition based on different logical tests
Echo
Printing on screen
If [condition]
Logical construct
$1
Variable
Basic Automations
Simple or routine task
Machine Restart
Restart machines using scripts
Network Drive Remapping
Done within normal command line interface using a batch file (.bat) or PowerShell
Application Installation
Can use a batch file or PowerShell in Windows or a shell file in Linux