CCTC EXAM 1 PRACTICE TEST 2026 TEST
BANK QUESTIONS WITH SOLUTIONS
GRADED A+
⩥ wher.
Answer: find executables within the PATH variable
⩥ echo.
Answer: outputs strings passed to it
⩥ dir.
Answer: list folder contents
⩥ type.
Answer: output contents of a file
⩥ findstr.
Answer: windows grep
⩥ grep.
Answer: search the input files for line(s) containing a match to a given
pattern list
,⩥ hostname.
Answer: system hostname
⩥ date /t.
Answer: output system date (/t keeps it from trying to set)
⩥ time /t.
Answer: output system time (/t keeps it from trying to set)
⩥ .bat.
Answer: batch file
⩥ >.
Answer: redirect STDOUT. Create/Overwrite
⩥ >>.
Answer: redirect STDOUT. Create/Append
⩥ |.
Answer: piping sends output of one command to input of another
,⩥ & and ;.
Answer: execute second command regardless of success/failure of first
⩥ &&.
Answer: execute second command ONLY if the first is successful
⩥ ||.
Answer: execute second command ONLY if first fails
⩥ echo ..
Answer: print blank line
⩥ @echo off.
Answer: the @ suppresses display of the line in a batch file
⩥ echo A=%A%.
Answer: prints the variable
⩥ dir /s.
Answer: recursive
⩥ dir /a:h.
, Answer: show hidden files
⩥ net user.
Answer: list of all users
⩥ net user admin.
Answer: detailed output of admin account / local group membership
⩥ net localgroup.
Answer: view all local groups on computer
⩥ net localgroups administrators.
Answer: view members of administrator group
⩥ net use t:\\computername\c$ /persistent:no.
Answer: establish a temp drive
⩥ dir t:\users.
Answer: use temp drive
⩥ net use t: /delete.
Answer: remove the t: drive label
BANK QUESTIONS WITH SOLUTIONS
GRADED A+
⩥ wher.
Answer: find executables within the PATH variable
⩥ echo.
Answer: outputs strings passed to it
⩥ dir.
Answer: list folder contents
⩥ type.
Answer: output contents of a file
⩥ findstr.
Answer: windows grep
⩥ grep.
Answer: search the input files for line(s) containing a match to a given
pattern list
,⩥ hostname.
Answer: system hostname
⩥ date /t.
Answer: output system date (/t keeps it from trying to set)
⩥ time /t.
Answer: output system time (/t keeps it from trying to set)
⩥ .bat.
Answer: batch file
⩥ >.
Answer: redirect STDOUT. Create/Overwrite
⩥ >>.
Answer: redirect STDOUT. Create/Append
⩥ |.
Answer: piping sends output of one command to input of another
,⩥ & and ;.
Answer: execute second command regardless of success/failure of first
⩥ &&.
Answer: execute second command ONLY if the first is successful
⩥ ||.
Answer: execute second command ONLY if first fails
⩥ echo ..
Answer: print blank line
⩥ @echo off.
Answer: the @ suppresses display of the line in a batch file
⩥ echo A=%A%.
Answer: prints the variable
⩥ dir /s.
Answer: recursive
⩥ dir /a:h.
, Answer: show hidden files
⩥ net user.
Answer: list of all users
⩥ net user admin.
Answer: detailed output of admin account / local group membership
⩥ net localgroup.
Answer: view all local groups on computer
⩥ net localgroups administrators.
Answer: view members of administrator group
⩥ net use t:\\computername\c$ /persistent:no.
Answer: establish a temp drive
⩥ dir t:\users.
Answer: use temp drive
⩥ net use t: /delete.
Answer: remove the t: drive label