Flashcards
Exam 2 OS
Flashcards do conjunto (45)
- 1What is a VM?Software that allows you to run multiple OSs on host machine
- 2Use System.out.printf to display: 5 times 3 equals 15, using 5, 3 and (5*3) in the data sectionSystem.out.printf()
- 3What does this command do? cat filename | lessShows contents of file and allows you to go forward or back when viewing
- 4mv source targetmoves source file to target location
- 5Name 4 VMsHyper-V
Parallel
Virtual Box
VM-Ware - 6What is an OS?Software that allows user to control hardware
- 7Convery hex DF71101 1111 0111
- 8Convert 1011 1011 01112999
- 9Covert 975 to binary1111 001111
- 10What is ASCII?A table that translates letters into numerical values
- 11What is Unicode?An extension of ASCII
- 124 windows systems?FAT12, 16, 32, NTFS
- 135 Linux file systems?Hadoop, GFS, EXT 2,3,4
- 14How to accept variables in windows batchset /p fn = Enter first number
- 15Windows Batch If user enters 99 program exitsif "%fn%" == "99" GOTO EXIT
- 16Windows batch: Divide fn and sn and display answer:set /a answer = %fn% / %sn%
echo %fn% divided by %sn% equals %answer% - 17Linux Shell: Ask user for variable FNecho "enter first number"
read FN - 18Linux Shell: If FN equals 99 exit the programif [ $FN -eq 99 ];
then
break;
fi - 19Linux Shell: Write a loop that if the user enters 0 it will ask the user to enter non-zero numberwhile [ SN -eq 0]
do
echo "Cannot divide by 0. Please enter number."
read SN
done - 20Linux shell: Divide FN and SN and display the answerecho "$FN divided by $SN equals `expr $FN/$SN`"
- 21Name 5 external portsHDMI, USB, VGA, Ethernet, Display Port
- 22Current slot on motherboards?PCI
- 234 parts found in magnetic HDhead, arm, spindle, platter
- 24Write speed and name of current fastest magnetic HDSCSI 15000RPMs
- 25Draw OS functionsDUMPS
- 26Draw linux OS architectureApplication - User Mode
System Calls
v
Device Drivers Kernal Mode
v
Hardware - 274 linux text editorsgedit, nano, pico, vim
- 283 secondary storagesHD, CDs, Tapes
- 29Convert155
- 30What is a major problem of VMs?If host machine fails all users are disconnected. There can also be issues if original installer did not use correct configs
- 31Current windows block size4kb
- 324 numerical systems used in classASCII, binary, hexadecimal, decimal
- 33What is an OS?software that allows user to control hardware
- 34what is a file system?Software that manages data
- 35What is Swapping in OSs?When a computer swaps memory usage to secondary storage when it runs out
- 36What is Time Splicing?The time the OS assigns to processor to execute tasks
- 373 input ports found on computersps/2, USB, serial
- 38First ProgrammerAda Lovelace
- 39Name 2 types of cables we use in computers todaypower and data
- 40What is purpose of firmware thats installed on BIOS hardwareAllows user to adjust preboot configurations or something along those lines lol
- 413 input peripheralskeyboard, mouse, touch monitor
- 423 output peripheralsspeakers, headphones, projectors
- 43Most expensive computer storageRAM
- 44Least expensive computer storageTapes
- 45—