INF1339ComputationalThinking-Week2-Slides-Part2

.pdf

School

University of Toronto *

*We aren’t endorsed by this school

Course

1339

Subject

Computer Science

Date

Oct 30, 2023

Type

pdf

Pages

56

Uploaded by hsoidsf

Report
INF1339 Introduction to Computational Thinking WEEK 2 SEPTEMBER 18 AND 20, 2023 – PART 2 (BREAKOUT ROOMS) 1
Agenda Going over Answers for Week 2 Quiz Objectives Binary, Hexadecimal, Decimal Number Systems: Reminder Practical example (a fun activity!) Logic Circuits Reminder Practical example (a fun activity!) Next Week Participation Quiz (one minute paper) 2
Agenda Going over Answers for Week 2 Quiz Objectives Binary, Hexadecimal, Decimal Number Systems: Reminder Practical example (a fun activity!) Logic Circuits Reminder Practical example (a fun activity!) Next Week Participation Quiz (one minute paper) 3
Week 2 Quiz 1. Which of the following statements are correct (more than one correct answer is possible)? a) The most popular image file types used to display images on the Internet are PNG, JPEG, and GIF b) PNG always uses lossy compression to reduce c) JPEG and GIF do not have file formats that support lossless compression d) Run-length encoding is used to encode multiple pixels as a single value 4
Week 2 Quiz 1. Which of the following statements are correct (more than one correct answer is possible)? a) The most popular image file types used to display images on the Internet are PNG, JPEG, and GIF b) PNG always uses lossy compression to reduce c) JPEG and GIF do not have file formats that support lossless compression d) Run-length encoding is used to encode multiple pixels as a single value 5
Week 2 Quiz 2. (exact answer, number) Assume we have one row of an image that is represented by the following 32-bit pixel sequence: 11111100000000000011111111110000 Assume, also we are storing each “run” as an 8-bit byte. How many bits of memory are needed to store that image row using run-length encoding: 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

Browse Popular Homework Q&A

Q: Convert the point (x, y, z) = (2, — 2, 1) to spherical coordinates. Give answers as positive values,…
Q: The rods AB and BC are connected by pins at A, B and C, as shown in the left side of Fig. 2. The…
Q: If motor skills are classified according to the stability of the environment, bowling would be…
Q: 8. Assume you already have a list defined, called numbers, containing only numeric values. Write an…
Q: Which function shows f (x) = 6¹ being horizontally stretched by a factor of 4? Of(x) = 6(4x) Ⓒf(x) =…
Q: 11. (a) Find the pmf of X, (b) find the values of E(X), (c) calculate Pr(1 ≤ x ≤ 2) when the…
Q: An unknown inorganic phosphate undergoes first-order dehydration in a drying oven. Initially, the…
Q: the rate law for a reaction allows the speed of a reaction to be related to the concentrations of…
Q: Author of Kansas Nebraska Act?
Q: Find the function y = y(x) which satisfies the separable differential equation dy/dx = 8+11x/(xy^2)…
Q: 3.13 Consider the following estimated area response model for sugar cane (area of sugar cane planted…
Q: During its first year of operations, Vader Corp. issued 15,000 shares of its $1 par common stock f…
Q: Which of the following is true? The default margins for Microsoft Word may not be 1 inch all around…
Q: Find the unit vector in the direction of =(-4,-2) Give EXACT answer. You do NOT have to simplify…
Q: Membrane walls of living cells have surprisingly large electric fields across them due to separation…
Q: Find the indicated function values for the function g(x)=7x-4. c. 9 (-77) C. a. g(0) b. g(8) a. g(0)…
Q: a pipe varies jointly with the internal pressure and the diameter of the pipe, and inversely with…
Q: 5. Consider the following function: def f(aList): print(aList) alist.append(3) Suppose that function…
Q: what is the answer to d?
Q: The population of a southern city follows the exponential law. If the population doubled in size…
Q: What rate of interest compounded annually would result in receipt of $21,000 in five years from an…
Q: 1. Let S = (0,7) U {7 +1³,... Define < on 5 by a<b if b-a€S. Show < is not an order on S.