Home
Explore
Exams
Login
Get started
Home
Engineering
Computer Science
Intro to Comp. Sci. Final
0.0
(0)
Rate it
Studied by 2 people
Call Kai
Locked
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Knowt Play
Card Sorting
1/38
Earn XP
Description and Tags
Computer Science
10th
All Modes
Learn
Practice Test
Matching
Spaced Repetition
Call with Kai
Chats
Last updated 4:27 AM on 12/18/22
Update
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat
No analytics yet
Send a link to your students to track their progress
39 Terms
View all (39)
Star these 39
1
New cards
Grid -
A network of horizontal and vertical lines that provide coordinates for locating points on an image
2
New cards
Bug -
An error in a program
3
New cards
Debugging -
Finding and fixing problems in your algorithm or program
4
New cards
Program -
An algorithm that has been coded into something that can be run by a machine
5
New cards
fill ("color"); -
The color of the inside of a shape
6
New cards
ellipse (x,y,w,h); -
An elongated circle, or oval shape
7
New cards
x coordinate -
Tells how far something is from the left side of the display area
8
New cards
rect (x,y); -
Creates a square.
9
New cards
coordinates -
These are used to place shapes on the grid
10
New cards
y coordinate -
Tells how far something is from the top of the display area.
11
New cards
What does \n fill("yellow"); \n rect(350, 0); \n create and where is it located?
Will create a yellow square in the top right hand corner of the grid.
12
New cards
Parameter -
An extra piece of information is passed on to a function to customize it for a specific need.
13
New cards
noStroke() -
Turns off the border of a shape.
14
New cards
Parameters -
Additional information provided as input to a block to customize it's functionality
15
New cards
Which number will make the ellipse taller or shorter? ellipse(3500,300,100,250); or ellipse(3500,300,100,250);
250
16
New cards
randomNumber (min,max) -
Generates different numbers each time the program is run.
17
New cards
Variable -
A placeholder for a piece of information that can change
18
New cards
Labels can include spaces -
False
19
New cards
var circleSize = randomNumber(0,250); -
Part of the code that will change the size of the circle each time the program is run.
20
New cards
Labels cannot begin with a number -
True
21
New cards
If you spell a word wrong, your code will not work. -
True
22
New cards
camelCase -
A convention for naming variables that capitalizes the first letter of every word without spaces
23
New cards
Sprite -
A graphic character on the screen with properties that describe its location, movement, and look
24
New cards
Property -
Attributes that describe an object's characteristics such as height and width
25
New cards
sprite.scale -
Controls how large or small the sprite is
26
New cards
drawSprites(); -
Will draw all of the sprites on your screen
27
New cards
What is the name of the sprite in this code? var kite = createSprite(300, 50); -
kite
28
New cards
Which code will make the kite smaller? kite.scale = 0.3; or kite.scale = 0.5; -
kite.scale = 0.3;
29
New cards
This command will create words in your scene. -
text
30
New cards
The order of the code is very important. -
True
31
New cards
drawSprites is usually where in your code? -
At the end.
32
New cards
background -
Fills the screen with color.
33
New cards
textSize -
This command changes the appearance of your text
34
New cards
Animation -
A series of images that create the illusion of motion by being shown rapidly one after the other
35
New cards
Draw loop -
The draw function runs the same code over and over in a loop
36
New cards
Dot notation -
Used to connect the sprite label with the property
37
New cards
arc( x,y,w,h, start,stop) -
Draws an arc onto the display from start to stop with the angle, centered at x and y
38
New cards
shape(x1, y1, x2, y2, ..., xn, yn) -
Connects the points to draw a shape
39
New cards
What does fill("yellow"); rect(350, 350); create and where is it located?
Will create a yellow square in the lower right-hand corner of the grid.