🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

quiz-4
5 Questions
0 Views

quiz-4

Created by
@DesirousChocolate

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What command should you use to copy the "examples" directory to your directory?

  • mv
  • cp -r (correct)
  • rm
  • ls
  • How do you build an executable for LINUX using gcc?

  • make C=test
  • gcc -o test test.c (correct)
  • mtip -f test.lnx
  • scp
  • What command should you use to transfer files from users.cs.umb.edu to tutor-vserver VM?

  • mtip -f test.lnx
  • make C=test
  • scp (correct)
  • ls
  • How should you download the test.lnx file to the tutor VM?

    <p>mtip -f test.lnx</p> Signup and view all the answers

    How do you execute the program in the tutor VM?

    <p>go 100100</p> Signup and view all the answers

    Study Notes

    1. Copy the "examples" directory to your directory using "cp -r" command.
    2. Navigate to examples/test_dir to find makefile and test.c.
    3. Build executables for LINUX using gcc and for Tutor using make.
    4. To run the LINUX executable, create it using "gcc -o test test.c" and execute it using "./test".
    5. To make a tutor VM executable, use "make C=test".
    6. Transfer files from users.cs.umb.edu to tutor-vserver VM using "scp".
    7. Download the test.lnx file to the tutor VM using "mtip -f test.lnx".
    8. Reboot the tutor VM by selecting the "Send Ctrl+Alt+Del" button.
    9. Download the test.lnx file to the tutor VM using "~d" command.
    10. Execute the program by typing "Tutor> go 100100".

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    More Quizzes Like This

    quiz 4
    10 questions

    quiz 4

    MarvelousEnlightenment avatar
    MarvelousEnlightenment
    Quiz 4 Part 1
    10 questions

    Quiz 4 Part 1

    Justine C. avatar
    Justine C.
    Quiz 4- NR vs R
    4 questions

    Quiz 4- NR vs R

    GlowingLanthanum avatar
    GlowingLanthanum
    Quiz #4 Lemon Verbena
    7 questions

    Quiz #4 Lemon Verbena

    InestimableVector avatar
    InestimableVector
    Use Quizgecko on...
    Browser
    Browser