

Mr. Lee's U2L5 Day 1 Do Now
Presentation
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
TSEE LEE
Used 6+ times
FREE Resource
4 Slides • 4 Questions
1
Hotspot
Spot the bug, if any.
(Click on the block you think is wrong. If nothing looks wrong, click on the hat block.)
2
The shopping list is reset to an empty list every time the sprite is clicked, then an item is added to it. So "shopping list" will ever only contain the last item added to it.
3
Hotspot
Spot the bug, if any.
Again, choose a hat block if no bug is found.
4
The list "shopping list" will never get updated. list(shopping list) creates a new one-item list in which the only item is itself a list (the full shopping list). But that list is never stored anywhere, in a variable, so it disappears as soon as that instruction finishes.
5
Hotspot
Assume this is the only script for the add item sprite. Find the bug, if any.
6
This is a rare run-time error in Snap. Like what it sounds like, it happens while the program is running. Run-time errors stop the program from continuing (crashing the app). Explain on the next slide what the bug is.
7
Open Ended
Explain the bug in the previous slide.
8
Append: (v.) “Add” to the end
● Append “juice” to “orange”: “orangejuice”
● Append “5” to “10”: “105”
● Append 5 to [10] (a list containing number 10): [10, 5]
● Append “juice” to [“beet”, “root”]: [“beet”, “root”, “juice”]
Spot the bug, if any.
(Click on the block you think is wrong. If nothing looks wrong, click on the hat block.)
Show answer
Auto Play
Slide 1 / 8
HOTSPOT
Similar Resources on Wayground
8 questions
Digitális platformok online workshop
Presentation
•
KG
9 questions
Brain Scans
Presentation
•
12th Grade
4 questions
Refleksi
Presentation
•
12th Grade
9 questions
Module 2 Lesson 2B: Creating your RESUME
Presentation
•
12th Grade
6 questions
Algebra - Lesson Quadratic of Best Fit
Presentation
•
12th Grade
7 questions
Windows Desktop Elements
Presentation
•
12th Grade
6 questions
Sains Komputer T4
Presentation
•
12th Grade
8 questions
Gay-Lussac Law
Presentation
•
12th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade