343FinalExam

docx

School

University of the Fraser Valley *

*We aren’t endorsed by this school

Course

351

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

6

Uploaded by CoachWhale1592

Report
Title : Midterm (70 points total) Last/Family Name: ………………Bhavitavya…………………………………………….. Official First Name: Bhavitavya Student ID: 300186871 Exam Instructions: - Keep the exam closed at this page until instructed to begin! - Circle the MOST TRUE answer for multiple choice questions. - Answer written and diagram questions completely for full marks. 1
1. True or False? Put x mark. If any statement is not true, select False as your answer. Only one answer. [1 point each; total 6] True False 2. Fill in the blank. [6 points] a) ( Perception ) b) ( Limit ) c) ( World ) ( Local ) d) ( Global ) . e) ( Experience ) 3. [2 points] 4. [2 points] Based on direct color coding, write an appropriate hexadecimal number matching each color name. Hexadecimal Color Values #808080 #FF00FF 5. Image size estimation: Based on following code, what could be an approximate image size assuming no compression (TIF format)? Select one. [2 points] 2 Your answer: e) None of the Above Your answer: (e) Around 800KB
Division: Multiplication: 6. [4 points] 7. [3 points] 8. [2 points] 9. [2 points] 10. Briefly explain about the difference between top-down and bottom-up processing of visual attention theory. [4 points] a) Top-down processing - Previous information, aims, and anticipations are some of the things that can have impacts on how we perceive visual illustrations. This is a top-down approach because higher cognitive functions including familiarity, context and expectation guide and direct sensory input interpretations. It includes reliance upon present knowledge or context to affect construal of visual stimulus. b) Bottom-up processing - The second approach, known as bottom-up processing, is however guided by the characteristics of these stimuli themselves. Starting with an analysis of separate elements like hues, shapes and patterns to form a whole perception. On the other hand, this strategy depends on data only hence it does not require foreknowledge or expectations. Bottom-up processing is sometimes seen as perception 3 Addition: Your answer: (b) Your answer: (a) Your answer a) b) c) d)
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
being driven by sensory input from the environment. 11. [10 points] 4 // your answer float theta; void setup() { size(400, 400); theta = radians(45); } void draw() { background(255); stroke(0); translate(width / 2, height); line(0, 0, 0, -100); translate(0, -100); branch(100); } void branch(float len) { if (len > 4) { line(0, 0, 0, -len); translate(0, -len); pushMatrix(); rotate(theta); branch(len * 0.67); popMatrix(); pushMatrix(); rotate(-theta); branch(len * 0.67); popMatrix(); } }
12. [17 points] Write your answer on pde file. 13. [10 points] 5 Your answer: Design mirrorYaxis() to flip pixels across horizontal direction. [10 points]
6
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