220-1002 · Question #448
Which of the following extensions identify files that are typically implemented as scripts? (Select TWO).
The correct answer is A. .vbs E. .bat. .vbs (VBScript) and .bat (batch) files are both script formats that contain interpreted commands executed by a Windows scripting engine or command processor. The remaining options are plain text, compiled binaries, an unrecognized extension, or a spreadsheet format.
Question
Which of the following extensions identify files that are typically implemented as scripts? (Select TWO).
Options
- A.vbs
- B.txt
- C.exe
- D.Up
- E.bat
- F.xlsx
How the community answered
(56 responses)- A95% (53)
- C2% (1)
- F4% (2)
Why each option
.vbs (VBScript) and .bat (batch) files are both script formats that contain interpreted commands executed by a Windows scripting engine or command processor. The remaining options are plain text, compiled binaries, an unrecognized extension, or a spreadsheet format.
.vbs files are VBScript source files interpreted by the Windows Script Host (wscript.exe or cscript.exe), enabling automation of Windows tasks through scripted VBScript commands that are processed line by line at runtime without prior compilation.
.txt is a plain-text file format that stores unformatted human-readable content and has no execution or scripting capability recognized by the operating system.
.exe files are compiled binary executables that the OS loads directly into memory for execution; they are not scripts because they are not interpreted by a scripting engine from source text.
.Up is not a recognized standard script, executable, or data file extension in Windows environments.
.bat files are Windows batch script files executed sequentially by the Command Processor (cmd.exe), containing series of shell commands for automating repetitive tasks and representing one of Windows' oldest scripting mechanisms.
.xlsx is the Microsoft Excel Open XML spreadsheet format; although Excel files can contain embedded VBA macros, the .xlsx extension itself does not identify a script file.
Concept tested: Script file extension identification .vbs and .bat
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands
Topics
Community Discussion
No community discussion yet for this question.