Question: IT101-Homework 2 1. (6pts) Consider the following assembly language instruction which is located in a program you wrote Store the contents of variable Q into



IT101-Homework 2 1. (6pts) Consider the following assembly language instruction which is located in a program you wrote Store the contents of variable Q into register 5 The assembly program is stored on your hard disk. Explain how this instruction is processed. Inclu hard drive, RAM, nstruction fetch and decode, and registers. 2. (9pts) Consider the Linux/Unix folder structure shown below. TLevel IT101 Classes web Image1.jpg web index html Myfile.html HPage Notes1.txtot.txt Imagel jpg my The current working directory is Classes a. Label the root directory and a parent directory b. What is the absolute path of 'Notesl.txt'? c. What is the relative path for the file directory 'ITI01'? d. Can I have the files under HPage? Why? e. Can I have all the web' files/directories in this tree structure? Explain why or why not? IT101-Homework2 3. (8pts) The purpose of this problem is to interpret the specification information found on a computer Apple iPhone 8-Specifications Width Height Thickness Weight Write a review Specifications Display Caria a CPU Battery AR Prices Dimensions: 67.3 x 1384x7.3 mm Weight: 148 g SoC Apple A11 Bionic APL1W2 CPU: 2x Monsoon, 4x Mistral, 2100 MHz, Cores: 6 Cores: 3 RAM 2 6B Storage: 64 GB, 256 GB Display. 4.7 in, IPS, 750 x 1334 plxels, 24 bit Battery: 1821 mAh, Li-Hon os I05 11 Camera: 4032 x 3024 pixels, 3840 x 2160 pixels, 60 fps SIM card: Nano-SIM Prices Wi-Fiab,g.n, n 5GHz, ac, Dual band, Wi-Fi Hotspot USB: 20 Bluetooth 5.0 Positioning GPS, A-GPS, GLONASS, Wi-FL, Cell ID Add for comparisonSuggest an edit Provide a few sentences of explanation for each item in the specification above. Just providing the words that the acronyms stand for is not sufficient. You will probably have to do some research, as the class notes did not cover all of these terms. a. b. The display type is often referred to as Retina HD display. Do some research to find out what this means. Identify one upgrade to the iPhone 8 to make it more to your liking. Provide sufficient detail so someone could price shop for you. Finally, justify the upgrade (i.e., what will it do to make the machine "better") c. 4. (6pts) Use the specifications from the previous problem to answer the following questions. a. Assuming nothing is compressed, how many megabytes are required to hold the phone's display? Show your work to receive full credit How many times could you copy this information into RAM? There are two cameras. Pick one and show the storage size of a 30second video b. c. IT101-Homework2 5. In your AFS file space, do the following a. (2pts)Change thc permissions on your home dircctory and the IT101 dircctory (see in clasa lab) so that I (UCID llw2) can list and read your files. In your homework WORD document, type the command you used to make this permission change. b. (2pts)In your under the "IT10I" directory, make a new directory called "homework2" using mkdir. (It should automatically inherit the permissions from your home directory if you did step 5a first otherwise you will need to change permissions manually on homwork2). In your homework WORD document, type the commands you used to show the afs and UNIX permissions for homework2. (4pts)Create a short text file containing your name and major. Name the file IT101-HW2.txt and place it in your homework2 directory. It is probably easiest to create the file on your usual computer and then use MobaXterm to transfer the file to AFS. Use notepad or wordpad, not Word, to create the file c. d. (1pts)Use pwd to get the absolute path to directory homework2 Write the absolute path to directory homework2 into the WORD document you submit for this homework. I will grade this problem by trying to read your file, so double-check that the path is correct. 6. In your homework2 directory create the program described below using python, java, shell or any other programming language you prefer Provide the average for the follow lists. a. (3pts) In the Word homework document you submit to Moodle, provide me with the absolute path to the program and " " the command used to run it. Also, upload the source code to Moodle. b. (6pts) Write a program providing the following display: Listl 50 40 30 20 10 75 37.5 List 2 25 35 45 Average I will grade this problem by running your program in your account and examine the source code implemented. Make sure I have rl access to the directory with your program and to all parent directories up to and including your home directory. If you use a shell script, be sure to make it executable. C. (3pts) If you use control statements and variables in your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
