COP 3767 - Operating Systems Student Name ____________________________________ program 4 OSpgm4d_4_25questions Fall 2025 Professor: Michael Robinson Use any text editor to answer this program 4 questions, make sure to enter your name on the first row, and upload it Canvas on due date or before. This program is worth 10 points total a) Questions Each Worth Total Grade 25 0.2 5 points b) Windows divide by zero 5 points ---------- total grade 10 points The answers MUST have been covered in class and be on our book: Operating Systems for IT ISBN 978-1-4652-8990-2 NO INTERNET ANSWERS WILL BE ACCEPTED Make sure to have the following documentation ************************************************** Author : Your Name Course : Operating Systems for IT Program : OSpgm4d_4_25questions Due Date : I certify that this work is my own alone. ..........{ your signature }.......... ************************************************** 1) What it the most common way to get hacked Answer: 2) What is Cyber Security Answer: 3) What is the name of the current prefered Linux OS for Cyber Security Answer: 4) What is Script Kiddies Hackers Answer: 5) What is a White-Hat Hacker Answer: 6) What is a Black-Hat Hacker Answer: 7) What is a Gray-Hat Hacker Answer: 8) What is a Suicide Hacker Answer: 9) What do "java -version" and "javac -version" must have in common?, as explained in class Answer: 10) Name the numerical systems, as learned in CLASS Answer: 11) From any location in Linux how do you go to your user root, as learned in CLASS Answer: 12) What is a Virtual Machine, as learned in CLASS Answer: 13) From any location in Windows how do you go to your user root, as learned in CLASS Answer: 14) Using Linux terminal mode shell commands, create a shell file named lastName period sh with 0 bytes Answer: 15) From any location in Linux how do you go to the OS root, as learned in CLASS Answer: 16) From any location in Windows how do you go to the Window OS folder, as learned in CLASS Answer: 17) Name three Virtual Machines Software, as explained in class Answer: 18) Why is terminal mode important in IT (Information Technology), as explained in class Answer: 19) What does the wget command do?, as explained in class Answer: 20) As taught in this class, what new benefit the System.out.printf provide us? Answer: 21) In our class program 2, what was the total size of RAM in the computer we used as an example Answer: 22) In our class program 2, if we display a chip number from the computer we used as an example, what does it mean?` Answer: 23) Name 5 (five) Linux editors, as learned in CLASS Answer: 24) 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. Answer: 25) Name 3 (three) properties of Primary Memory compared to Secondary Memory, as learned in CLASS Answer: ================================================================= ****************************************************** * USE WINDOWS TERMINAL MODE COMMANDS ONLY * * USE ANY EDITOR TO CREATE THE FOLLOWING PROGRAM * ****************************************************** -0.50 4 - Worth 0.50 points. - Using Windows terminal commands, create a Windows batch file named: yourLastNameFirstNameInitialWindowsOSpgm3.bat - Using a Windows editor, append the following data to your *.bat file USING MULTI-LINE COMMENTS (labels, goto) or single line comments: ******************************************************************** Author : Your Name Course : OS section. Example OS1, OS2 OS3, OS4 Professor : Michael Robinson Program # : Number and program Purpose/Description { A brief description of the program } Due Date : MM/DD/YYYY Certification: I hereby certify that this work is my own and none of it is the work of any other person. *********************************************************************/ 5) Worth 4 points. Using Windows batch. topic: Creating and using the variables FirstNumber and SecondNumber, Implement division by 0, with error trapping, using if and sumilating while loops Using the NOTEPAD editor, append to your *.bat file, all the commands needed so that when you execute your bat file, it will produce the following: How: a) using ANY Windows editor, append to your .bat file commands that will do the following: -0.50 b) Append your name and CURRENT running date and time to a NEW file called results.txt "CURRENT running date" means, when the program is executed the CURRENT running time will be appended to your results.txt file -0.50 c) Using the variables: FirstNumber and SecondNumber, use a while loop. -0.50 d) Ask the user to enter the FirstNumber. -0.50 e) If the user enters the value 22 for this FirstNumber, you must exit THIS Batch SECTION immediately. -0.50 f) Ask the user to enter the SecondNumber. -0.50 g) If the user enters the value 44 for this SecondNumber, you must exit THIS Windows batch SECTION immediately. -0.50 h) If the SecondNumber is ZERO inform the user that you CAN NOT divide by ZERO, and ask for a correct SecondNumber only, KEEPING YOUR FirstNumber. i) If the SecondNumber is NOT a zero, divide FirstNumber by SecondNumber then -0.75 display all numbers on this computation using labels, and -0.25 append all numbers on this computation using labels to the results.txt file. example: 4 divided by 1 = 4 ------- -5.00 Rename your *bat file to *ba Upload your Windows *ba program to canvas.fiu.edu on the due date. Please visit our FREE tutoring services