Tag: testing
Questions Related to testing
Risk is defined as
What is the output of the following code snippet @echo off set var = 1 %var%+=1 echo var
What is the output of the following code snippet @echo off %1 %2\%3 .\ Save the above as “test.bat” Execute the batch file with the commandline parameters test.bat xcopy d: test.txt
What does the following code snippet do? IF EXISTS c:\test.txt del c:\test.txt Dir %WinDir%\ >> c:\test.txt
What is the output of the following code snippet?
@echo off
set /a number = 5
:loop
set /a number = %number% +1
If %number% == 10
(goto :label)
else
(echo %number% >> c:\test.txt)
goto :loop
What is the output of the following code snippet? @echo off Copy /? > d:\test.txt