Scripting, Cloud, Virtualization Flashcards
(114 cards)
What is a script?
Text file containing commands to automate tasks
What are the benefits of scripting?
Automate repetitive tasks, reduce human error
What is the difference between interpreted and compiled scripts?
Scripts run by interpreter, programs pre-compiled
What is the purpose of a variable in scripting?
Store and manipulate data during execution
What is a loop function?
Repeat code block multiple times
What is a conditional statement?
Execute code based on true/false conditions
What is the file extension for Windows batch files?
.bat
What is the file extension for PowerShell scripts?
.ps1
What is the extension for Visual Basic Scripts?
.vbs
What is the extension for Linux shell scripts?
.sh
What is the extension for Python scripts?
.py
What is the extension for JavaScript files?
.js
What are the types of variables in programming?
- Boolean
- Integer
- Float
- Character
- String
What is the purpose of a for loop?
Repeat when number of iterations known
What is the purpose of a while loop?
Repeat while condition is true
What is the purpose of an if-then-else statement?
Execute different code based on conditions
What is the definition of a function?
Reusable block of code with specific purpose
What is the purpose of comments in code?
Document code for human understanding
What is an example of system restart automation?
Schedule reboots during maintenance windows
What is an example of software installation automation?
Deploy applications across multiple systems
What is an example of file backup automation?
Copy important data to backup locations
What is an example of user account management automation?
Create, modify, or disable user accounts
What is the definition of Infrastructure as a Service (IaaS)?
Rent virtual machines, storage, networks
What is the definition of Platform as a Service (PaaS)?
Development platform without infrastructure management