2024.03.19 CS101 HW08

docx

School

Purdue University *

*We aren’t endorsed by this school

Course

101

Subject

Computer Science

Date

Apr 3, 2024

Type

docx

Pages

10

Uploaded by KidSummer14526

Report
CS 10100 Homework 08 This is Question 1 on Page 1 CS 10100 Homework 08 - Due 11:00pm Tuesday, Mar. 19, 2024 Purdue Local time Delete nothing from this file. Edit this file to add your typewritten answers to each question. When your answer includes a diagram make sure that it is clear and large enough to read. Ensure that your answer fits on the same page as its question. If you change the pagination of this file or if your complete answer to a question does not fit on the page with that question, then you may receive a lower score. Export your completed Word file to PDF. Upload your PDF file to Gradescope.com. It is your responsibility to upload this assignment to its correct place in Gradescope. You may upload multiple times. Your final upload will be scored. Use the download capability to check your upload. Uploading will be blocked after the due time (plus grace period). Max score = 20 points; 2 points per question. The above directions apply for all assignments uploaded to Gradescope. Why should your answer be on the same page with its question? Answer: Gradescope has been programmed to expect that your PDF file will have exactly one question and your entire answer to it on one page. This allows Gradescope to automatically find and display your answers to the instructional team for scoring. HW08 Q1. A friend shows you some pictures that they took over Fall Break. They decide to present them in class, but when the pictures are viewed on the auditorium projector you notice while standing near the 10 meter (diagonal measure) screen that the image is full of little rectangles of color. What causes the rectangles to appear? First of all, the image can fill up a 10m screen, indicating that the resolution of the image itself is sufficient. So the reason you see rectangles is that the resolution of the display screen is not large enough.
CS 10100 Homework 08 This is Question 2 on Page 2 HW08 Q2. When a user runs an app that plays an MP3 song, does the app use compression or decompression? Explain. This process is decompression. The device will compress files in order to reduce file size, and then the user will use other devices (MP3 in this case) to decompress files, then back to original file. It is worth noting that because MP3 is used here, it is a lossy process, so there will be some innocuous loss of the original file.
CS 10100 Homework 08 This is Question 3 on Page 3 HW08 Q3. Your friend Mark is a self-declared audiophile. He says he only wants to load WAV files onto his music player for listening because he "doesn't want to miss a thing" and he heard that MP3 is "lossy." Mark asks you what you think of this idea. If Mark uses the wired earbuds that he bought for less thanUS$ 5.00, what can you tell Mark is wrong about his idea? Where would you suggest Mark go to truly “not miss a thing”? (Hint: think about where music is recorded). Compared with the lossy compression of MP3, WAV files are raw digital audio, that is, uncompressed, which retains the good quality of the music. However, headphones that cost less than $5 are unlikely to have the quality required to accurately reproduce the details found in high-quality WAV files. My advice is to buy headphones that offer a wider frequency range, or attend a live performance and hear the music directly from the instruments and voices.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
CS 10100 Homework 08 This is Question 4 on Page 4 HW08 Q4. According to the lecture, digital phone calls are sampled at 8,000 samples per second, and music is typically sampled at 44,100 samples per second. What is the main reason that phone calls are not sampled at a higher rate like music? The pursuit of sound quality for music will be higher than the sound quality of phone calls. So the circuits in the phone sample the microphone at a much lower frequency than the circuits used to sample music.
CS 10100 Homework 08 This is Question 5 on Page 5 HW08 Q5. A friend of you has just finished recording his new mixtape in the studio and wants to send a copy to his producer. The copy will be remixed and then published. Your friend needs your help picking the audio file to send. Would you recommend a format that uses lossless compression or lossy compression? Explain. I would recommend lossless compression format. Because lossless sound quality is crucial for professional audio work, it means that the audio quality remains consistent with the original recording. Although lossless files are larger than lossy files, the larger file size is well worth it when quality is a priority.
CS 10100 Homework 08 This is Question 6 on Page 6 HW08 Q6. Imagine your friend sends you a picture via text message (SMS) of a recent road trip you took together. You are looking at the photo and you notice that it doesn't look nearly as good on your phone as it does on your friend's phone. The phone company tells you that to fit SMS messages into the phone's storage, they "make digital objects smaller." What do they mean? In the case of the picture, you cannot see some of the detail your friend can see, even though you have the same make and model phone. Explain. When the phone company mentions that they "make digital objects smaller" to fit SMS messages into the phone's storage, they're referring to a process known as compression. This usually means that lossy compression is applied to the image before the SMS is sent, raw Some data from the image will be permanently discarded to reduce file size. While this makes the image smaller and suitable for transmission via SMS, it results in a loss of quality. That's why even if you and your friend use the same make and model of phone, you still won't be able to see as good a picture as your friend.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
CS 10100 Homework 08 This is Question 7 on Page 7 HW08 Q7. Your grandfather tells you that he's having a hard time reading the computer screen to read the ebook that you recently got him for his birthday. Should he increase or decrease his screen resolution setting? Explain why this has the desired effect. The resolution should be reduced. This is because lowering the screen resolution means fewer pixels will be used to display information on the screen. As a result, all elements on the screen, including text, icons, and images, appear larger.
CS 10100 Homework 08 This is Question 8 on Page 8 HW08 Q8. Watch the following YouTube video: https://youtu.be/3BJU2drrtCM      a.     List 3 differences between the display on the analog television vs the digital televisions. 1. Analog TV transmits continuous analog signals. Digital TV transmits digital signals, that is, data represented in binary form. 2. The picture and sound quality of analog TV are easily affected by various environmental factors. While digital TV has higher resolution and clearer picture quality, as long as the signal is of sufficient quality to be decoded correctly, the picture and sound quality will not be affected. 3. Analog TV has a limited number of channels, which is limited by analog signal transmission. Digital TV can provide more channels and services, and digital compression technology can contain more content and data. In addition, in the video, we also know that the screen display of CRT TV lights up an active pixel line, and the display screen is retained through human vision. Digital TV not only lights up an active pixel line, but the entire screen lights up to display the picture.      b.     What are the differences between the two digital televisions they talk about in the video? What repercussion might that have in regard to the television’s power consumption? LCD TVs with LED screens use a backlight source, usually an LED light, to illuminate the screen, which makes it unable to express some dark colors, especially black, well. OLED can emit light by itself and therefore does not require a backlight. No energy is consumed when displaying black pixels because they are turned off. This makes OLED screens more energy efficient when displaying dark scenes. LED screens, on the other hand, continue to consume energy because the backlight must remain bright.
CS 10100 Homework 08 This is Question 9 on Page 9 HW08 Q9. Look at the following gigapixel image (preferably using a laptop or desktop): https://gigapixel.panoramas.com/purdue/football/20170923/ Scroll around the field and zoom in as far as you can (i.e., use digital zoom to enlarge an area of the image as much as possible). If you used the digital zoom on a conventional photo to zoom in as much, what would you see? Explain. Gigapixel images enable extremely fine details not seen in standard resolution images. Take this picture as an example. When the picture is enlarged enough, you can even see the faces of each viewer clearly. But when you use zoom on a traditional photo to zoom in as much as possible, only the outline of that part is visible, and no further detail is revealed. This happens because digital zoom simply enlarges the pixels in the image, each pixel becomes more noticeable and the image becomes blurry.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
CS 10100 Homework 08 This is Question 10 on Page 10 HW08 Q10. Look at 3D image https://www.magiceye.com/portfolio-items/through-the-hoop/ To see the 3D effect tell your eyes to look not at your computer screen but at an imaginary screen that is located about as far behind your actual screen as your face is distant from your actual screen.     a.    When you see the 3D image and then move your head from left to right, what appears to happen in the image? When I look at the 3D image and move your head from left to right, some of the fish appear to be shallow and some deep.     b.     If you move your head far enough left or right, can you see what's “behind” a 3D object in the image? Doesn't let me see "behind" 3D objects in stereoscopic images. Although the image enhances the 3D effect, it does not provide a full 360-degree view around the object.