Question: Please do these questions 1. (6pts) Consider the following assembly language instruction which is located in a program you wrote: Store the contents of variable

Please do these questionsPlease do these questions 1. (6pts) Consider the following assembly language instructionwhich is located in a program you wrote: Store the contents ofvariable Q into register 5 The assembly program is stored on your

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. hard drive, RAM, instruction fetch and decode, and registers Include: 2. pts) Consider the Linux/Unix folder structure shown below. TLevel IT101 Classes web web Imagel jips web notesClass Index.htmlndexhtm Myfile html HPage Notes1.txt otesxmagel.jpg myfile html The current working directory is Classes a. Label the root directory and a parent directory. b. What is the absolute path of Notes1.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? the file directory T101 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 Thicknes Weight wite a review specifications Display Camera CPU Bathery SAR Prices Dimensions: 673 x 1384 x7.3 mm Weight: 148 g SoC Apple A11 BioniC APL1W72 CPL 2x Monsoon, 4x Mistral, 2100 Cores 3 RAM 2 0B Prices Z Cores: 6 Storage: 64 G8, 256 GB Display. 4.7 in, IPS, 750 x 1334 pixels, 24bt Battery: 1821 mAh, LHon os ios 11 Camera: 4032 x 3024 plxels, 3840 x 2160 piels, 60 fps SIM card Nano-SM Wi-Fk a b, gn,n 50Hz, ac Dual band, W-Fi Hotspot USB: 20 Bluetooth 5.0 Positioning GPS, A GPS, GLONASS, Wi Fi Cell ID 1000 Add for comparisongest 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.c., what will it do to make the c. 4. (6pts) Use the specifications from the previous problem to answer the following questions. Assuming nothing is compressed, how many mcgabytes are required to hold the phone's display? Showyor ork to receive full a. b. How many times coul d you copy this information into RAM? c. There are two cameras. Pick one and show the storage size of a 30second video. IT101-Homework2 5. In your AFS file space, do the following: (2pts)Change the permissions on your home directory and the IT101 directory (see in class lab) so that I (UCID llw2) can list and rcad your files. In your homework WORD document, typc the command you used to make this permission change. a. b. (2pts)In your under the "ITI01" 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. (opts) Write a program providing the following display: List 2 25 35 45 Listi 50 40 30 20 10 75 37.5 60 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. 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. hard drive, RAM, instruction fetch and decode, and registers Include: 2. pts) Consider the Linux/Unix folder structure shown below. TLevel IT101 Classes web web Imagel jips web notesClass Index.htmlndexhtm Myfile html HPage Notes1.txt otesxmagel.jpg myfile html The current working directory is Classes a. Label the root directory and a parent directory. b. What is the absolute path of Notes1.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? the file directory T101 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 Thicknes Weight wite a review specifications Display Camera CPU Bathery SAR Prices Dimensions: 673 x 1384 x7.3 mm Weight: 148 g SoC Apple A11 BioniC APL1W72 CPL 2x Monsoon, 4x Mistral, 2100 Cores 3 RAM 2 0B Prices Z Cores: 6 Storage: 64 G8, 256 GB Display. 4.7 in, IPS, 750 x 1334 pixels, 24bt Battery: 1821 mAh, LHon os ios 11 Camera: 4032 x 3024 plxels, 3840 x 2160 piels, 60 fps SIM card Nano-SM Wi-Fk a b, gn,n 50Hz, ac Dual band, W-Fi Hotspot USB: 20 Bluetooth 5.0 Positioning GPS, A GPS, GLONASS, Wi Fi Cell ID 1000 Add for comparisongest 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.c., what will it do to make the c. 4. (6pts) Use the specifications from the previous problem to answer the following questions. Assuming nothing is compressed, how many mcgabytes are required to hold the phone's display? Showyor ork to receive full a. b. How many times coul d you copy this information into RAM? c. There are two cameras. Pick one and show the storage size of a 30second video. IT101-Homework2 5. In your AFS file space, do the following: (2pts)Change the permissions on your home directory and the IT101 directory (see in class lab) so that I (UCID llw2) can list and rcad your files. In your homework WORD document, typc the command you used to make this permission change. a. b. (2pts)In your under the "ITI01" 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. (opts) Write a program providing the following display: List 2 25 35 45 Listi 50 40 30 20 10 75 37.5 60 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!