modula
) by using the command:
ssh modula
Say yes when it asks you about the RSA fingerprint.
Enter your password.
who
to see who else is logged into
the machine. Copy the output from this command into a file called
"linux_practice.txt" in the lab2
directory. Label the
output appropriately.
top
to see how different users are
using the machine's resources. In the file
linux_practice.txt
, note about how much CPU and Memory
is being used and how the resource usage changes as other people
login and use modulo
as well.
sum_square.py
program using the command:
cat sum_square.py
sum_square.py
program.
top
again to see if users are
using the system differently. Note any observations in
linux_practice.txt
************************************************** This program simulates the Pick 4 VA Lottery game ************************************************** What is your guess for the Pick 4 number (in format ####)? 1234 The Pick 4 Winner is 8-2-7-2 You lose! Good thing you didn't bet any money. You had 1 digit right
************************************************** This program simulates the Pick 4 VA Lottery game ************************************************** What is your guess for the Pick 4 number (in format ####)? 123 Your pick does not have enough digits
************************************************** This program simulates the Pick 4 VA Lottery game ************************************************** What is your guess for the Pick 4 number (in format ####)? 1234 The Pick 4 Winner is 0-2-3-2 You lose! Good thing you didn't bet any money. You had 2 digits right.
Requirements:
Note: This requirement means that the user cannot guess a number that starts with 0. We will discuss solutions to this limitation later in the course.
Hints: