Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CGS3767 FINAL EXAM STUDY GUIDE QUESTIONS & ANSWERS(RATED A+), Exams of Advanced Education

What does the wget command do? - ANSWERIs a terminal mode command used to download files thru the URL In our class program 2, how many RAM chips where in the computer we used as an example - ANSWER8 Name three Virtual Machines

Typology: Exams

2024/2025

Available from 07/15/2025

Classrep02
Classrep02 🇺🇸

5

(1)

2.2K documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CGS3767 FINAL EXAM STUDY
GUIDE QUESTIONS &
ANSWERS(RATED A+)
What does the wget command do? - ANSWERIs a terminal mode command used to
download files thru the URL
In our class program 2, how many RAM chips where in the computer we used as an
example - ANSWER8
Name three Virtual Machines Software, as explained in class - ANSWERVMware,
Virtual Box, Parallels
What is a nibble number - ANSWERthe equivalent of one hexadecimal number
How many bits does a nibble contain - ANSWER4
As taught in this class, what new benefit the System.out.printf provide us? -
ANSWERAllows to easily align reports in columns
Why is terminal mode important in IT(Information Technology)? - ANSWERit allows
us to have full control of our computers
In Ubuntu, using terminal mode, create a folder named pgm1 - ANSWERmkdir pgm1
What is the largest decimal number in one nibble number is: - ANSWER15
In the following sequence of events, Using Linux terminal mode commands, Create a
directory named pgm4,Go into folder pgm4,Display all files and directories -
ANSWERmkdir pgm4, cd pgm4, ls
In our class program 2, if we display a chip number from the computer we used as
an example, what does it mean? - ANSWERThis chip is damaged and needs to be
replaced
In the following sequence of events,
What are the BASES for the following systems:
hexadecimal, binary, decimal - ANSWER16, 2, 10
What is a Virtual Machine (VM)? - ANSWERSoftware that can be installed in a Host
Computer, allowing us to install multiple Operating Systems, using the Host's
hardware
Using shell, what does ../../../chmod 755* do? - ANSWERNo such file or directory
pf3
pf4
pf5

Partial preview of the text

Download CGS3767 FINAL EXAM STUDY GUIDE QUESTIONS & ANSWERS(RATED A+) and more Exams Advanced Education in PDF only on Docsity!

CGS3767 FINAL EXAM STUDY

GUIDE QUESTIONS &

ANSWERS(RATED A+)

What does the wget command do? - ANSWERIs a terminal mode command used to download files thru the URL In our class program 2, how many RAM chips where in the computer we used as an example - ANSWER Name three Virtual Machines Software, as explained in class - ANSWERVMware, Virtual Box, Parallels What is a nibble number - ANSWERthe equivalent of one hexadecimal number How many bits does a nibble contain - ANSWER As taught in this class, what new benefit the System.out.printf provide us? - ANSWERAllows to easily align reports in columns Why is terminal mode important in IT(Information Technology)? - ANSWERit allows us to have full control of our computers In Ubuntu, using terminal mode, create a folder named pgm1 - ANSWERmkdir pgm What is the largest decimal number in one nibble number is: - ANSWER In the following sequence of events, Using Linux terminal mode commands, Create a directory named pgm4,Go into folder pgm4,Display all files and directories - ANSWERmkdir pgm4, cd pgm4, ls In our class program 2, if we display a chip number from the computer we used as an example, what does it mean? - ANSWERThis chip is damaged and needs to be replaced In the following sequence of events, What are the BASES for the following systems: hexadecimal, binary, decimal - ANSWER16, 2, 10 What is a Virtual Machine (VM)? - ANSWERSoftware that can be installed in a Host Computer, allowing us to install multiple Operating Systems, using the Host's hardware Using shell, what does ../../../chmod 755* do? - ANSWERNo such file or directory

Using System.out.printf display the number 3767.01 so that the integer part displays using 12 spaces and the decimal part displays using 4 spaces - ANSWERUsing System.out.printf("%17.4f", 3767.01); In our class program 2, what was the total size of RAM in the computer we used as an example - ANSWER32 gigs In Ubuntu, using terminal mode, move to your pgm1 folder - ANSWERcd pgm What do "java -version" and "javac -version" must have in common? - ANSWERThey have to be the same version Why did we install JDK in our ubuntu VM? - ANSWERNeeded to create our program 2 assignment Name three benefits of Virtual Machines (VMs) - ANSWERVMs can be used to train employees, VM can be cloned, VM can be moved to other computers The decimal value of the binary number 1100 0101 1111 is - ANSWER Name the current Virtual Machines (VMs) used in this class - ANSWERVirtual Box What is the largest decimal number in one Hexadecimal number is: - ANSWER Name the Current Linux text editors explained in this class, used in the ocelot.aul.fiu.edu - ANSWERvi, gedit, nano, pico, vim What is the binary value of the hexadecimal number 164? - ANSWER0001 0110 0100 What is the decimal value of the number 1C7? - ANSWER What is the largest decimal number in one Binary number is: - ANSWER Name three benefits of Virtual Computers - ANSWERCan be moved from one Host to another, If one gets a virus it will not contaminate the others, Easy to clone What is the decimal value of the hexadecimal number AC2 - ANSWER Using shell, enter/append into a new file named robinson.sh your own multi-line comments named anyThing and the name Michael - ANSWERecho "<<anyThing" > robinson.sh echo "Michael" >> robinson.sh echo "anyThing" >> robinson.sh In Windows, using terminal mode, create a folder named pgm1 - ANSWERmkdir pgm The decimal value of the binary number 1101 1101 1100 is - ANSWER

GOTO

while :END Using shell commands, display your current directory name - ANSWERecho "My current directory name is: $PWD"; What is the Major Problems of Virtual Machines explained in this class - ANSWERWhen the host fails all VMs get disconnected OR If the file server fails (turns off, etc) all virtual machines get disconnected Using shell commands, select the command that display a new empty screen - ANSWERclear What is the decimal value of the hexadecimal number AC9 - ANSWER What is the binary value of the decimal number 356 - ANSWER0001 0110 0100 What is the decimal value of the hexadecimal number 9CA - ANSWER Using shell, write the code to append the first 5 lines in x.sh to an existing file named test.txt - ANSWERcat x.sh | head -5 >> test.txt Select the structure of the case shell command - ANSWERcase $CHOICE in esac Using shell, display My user name is ?? Todays date and time is ?? - ANSWERecho "My user name is $USER Todays date and time is date" Using shell, find out and display the total amount of ACGT substrings found in the last 1,995 lines in a file named TheData - ANSWERtail -1995 TheData | grep ACGT - o | wc -l Using shell, write the code to append your last 15 lines in x.sh to your temp file - ANSWERcat x.sh | tail -15 >> temp Write the code to create a for loop in shell - ANSWERfor NUM in $NUMBERS Display the total amount of bytes in a file named abc.dat - ANSWERwc -c abc.dat Using shell, if firstNumber is higher or equal than secondNumber display first number is larger or equal otherwise display second number is larger - ANSWERif [ $firstNumber ] -ge [ $secondNumber ]; then echo "first number is larger or equal" else echo "second number is larger" fi

What is the binary value of the decimal number 765 - ANSWER0010 1111 1101 Using any loop accept 5 numbers, waiting 1 second between each number - ANSWERCOUNTER= while true do sleep 1 COUNTER=expr $COUNTER + 1 echo "Program has been running for $COUNTER seconds..." if [ "$COUNTER" -gt 5 ]; then break fi done Using batch commands, select the command that display a new empty screen - ANSWERcls Name the Numerical systems and their bases, learned in class - ANSWERDecimal 10, Hexadecimal 16, Binary 2 Write the code to create an endless while loop in shell - ANSWERwhile true do done Select the structure of the if shell command - ANSWERif [ $myname == mr ]; then else fi Using Linux terminal mode shell commands, create a shell file named lastName period sh with 0 bytes - ANSWERtouch lastName.sh Using the Windows Batch language, display the label "Type 1, 2, 3, 4 or 0 then press ENTER :"requesting the input of values 1, 2, 3, 4 or 0, then assign the input to the variable named keyboard - ANSWERSET /P keyboard=Type 1, 2, 3, 4 or 0 then press ENTER : How do I offer Tutoring to all my students - ANSWERIn person and online using ZOOM Name the current Virtual Machines (VM) used in this class - ANSWERVirtual Box or/and Parallel Using Shell language, display the label "Type 1, 2, 3, 4 or 0 then press ENTER :" requesting the input of values 1, 2, 3, 4 or 0, then assign the input to the variable named keyboard - ANSWERecho Type 1, 2, 3, 4 or 0 then press ENTER : read keyboard Using shell, append into an existing file named robinson.sh the calculation of the following number 4 *3 - ANSWERecho expr 4 \*3 >> robinson.sh