< Back

Lab 24: INQ 241A - Final Exam Review

Complete the following table. For each row, all 3 columns are the exact same value, in our 3 different bases.

Decimal Binary Hexadecimal
42
10011011
C5

For the following pieces of Blockly code, please write the values that would be displayed in a pop-up window on the page. what you believe the output of the program will be. If there is an error, write error.

For the following blockly programs, assume the input is an image of this form:


1)

2)

3)

4)

5)

6)

7)

8)


Coding Activity

Create a blockly program that allows a user to enter an image. Your program should create a blurred version of the input image. To blur an image, you must set each color value of each pixel to be the average of the average color value of the two pixels adjacent. This means you need to compute the average red value, average green value, and average blue value of the pixel to the left and to the right of the current pixel. Solution Area.

Before

After