placeholder image to represent content

11.4.2 Review

Quiz by Kwok Louie

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
15 questions
Show answers
  • Q1
    Which wildcard symbol is used in command prompt to represent one or more characters?
    #
    ?
    ^
    *
    30s
  • Q2
    Which wildcard character is used in command prompt to represent a single character in file names?
    % (percent)
    # (hash)
    * (asterisk)
    ? (question mark)
    30s
  • Q3
    Which command would you use to list all text files in a directory using wildcards in the command prompt?
    dir *.txt
    show *.*
    list *.txt
    get *.text
    30s
  • Q4
    What command would you use to change the current directory to a subfolder named 'Documents' in Command Prompt?
    change Documents
    set Documents
    cd Documents
    navigate Documents
    30s
  • Q5
    What command would you use to copy a file named 'example.txt' from the current directory to a folder named 'Backup'?
    move example.txt Backup
    cp example.txt Backup
    copy example.txt Backup
    duplicate example.txt Backup
    30s
  • Q6
    To rename a file called 'oldfile.txt' to 'newfile.txt' in Command Prompt, which command should you use?
    rename oldfile.txt newfile.txt
    change oldfile.txt newfile.txt
    mv oldfile.txt newfile.txt
    ren oldfile.txt newfile.txt
    30s
  • Q7
    What command would you use to create a new folder in the current directory using Command Prompt?
    createfolder
    newfolder
    mkdir
    addfolder
    30s
  • Q8
    What is the command used in a command line interface to change to the parent directory?
    cd /
    cd ..
    cd .
    cd ~
    30s
  • Q9
    If you want to change to a directory named 'Projects' that is a subdirectory of your current location, which command would you use?
    cd /Projects
    cd Projects
    cd ..Projects
    cd .Projects
    30s
  • Q10
    What is the purpose of the 'md' command in a command line interface?
    To delete a directory
    To create a new directory
    To move files between directories
    To list files in a directory
    30s
  • Q11
    Which of the following can be used to create a nested directory structure in one command using 'md'?
    md Parent_Ch@ld_Grandchild
    md Parent-Child-Grandchild
    md Parent\Child\Grandchild
    md Parent/Child/Grandchild
    30s
  • Q12
    What is the function of the rd command in a command-line interface?
    To create a directory
    To copy files between directories
    To remove a directory
    To list files in a directory
    30s
  • Q13
    Which of the following options is a valid way to use the copy command in Windows Command Prompt?
    copy file1 file2
    copy file1.txt file2.txt
    cp file1.txt file2.txt
    mv file1.txt file2.txt
    30s
  • Q14
    Which command is specifically designed for more advanced file copying in Windows, compared to the more basic Xcopy?
    Robocopy
    Copy
    Move
    Xcopy
    30s
  • Q15
    What is the correct syntax to use the type command to display a file named 'example.txt'?
    display example.txt
    show example.txt
    type example.txt
    cat example.txt
    30s

Teachers give this quiz to your class