unit 1 cmu graphics

0.0(0)
studied byStudied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:04 PM on 11/4/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

4 things a computer does?

  • take input

  • storage

  • processing

  • output

2
New cards

high level vs low level programming languages

high level

  • human friendly

  • portable

  • easy to read/understand

  • ex: python and java

low level

  • machine language (hexadecimal rep. of binary code)

  • harder to write and debug

  • faster memory-efficient code

  • ex: binary

3
New cards

compiler

a program that converts instructions into a machine-code or lower-level form so that they can be read and executed by a computer

4
New cards

integrated development environment (IDE)

a software application that helps programmers develop software code efficiently

5
New cards

autograder

  • check button

  • CMU will check code for correctness

6
New cards

code editor

type in code using python

7
New cards

inspector

gives info about shapes (top-left corner for rect, center for circle, diff x,y coordinates)

8
New cards

canvas

400×400 pixel grid where image is displayed

9
New cards

console

display text output of error messages

10
New cards

debugging in programs

process of identifying and removing errors from a program

11
New cards

syntax error

  • does not run

  • violates rules of programming language and program will NOT execute

12
New cards

logistic error

  • runs, typed wrong

  • mistake in code that results in unexpected output even though the program runs without error

13
New cards

runtime error

  • doesn’t run properly

  • error that occurs during the execution of the program

14
New cards

built-in functions and parameters

  • predefined functions that are part of programming language

  • may require parameters

  • ex: rect star, poly, circle

15
New cards

how to write rect

Rect(x,y,width,height,fill,border,borderWidth)
Rect(200,300,50,50,fill = None, border = ‘blue’, borderWidth = 7)

16
New cards

star special property

  • roundness

  • makes points spiker or rounder

17
New cards

label parameters

size - only number

fonts - either arial, monospace, caveat, cinzel, montserrat, grenze, sacramento, or orbitron

bold - either True or False

italic - either True or False

18
New cards

8 starting positions for gradient

left, right, top, bottom, left-top, right-top, left-bottom, right-bottom

19
New cards
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards

Explore top flashcards

TMJ and MoM
Updated 701d ago
flashcards Flashcards (32)
CMS II Final: Endo
Updated 261d ago
flashcards Flashcards (293)
Chapter 21
Updated 159d ago
flashcards Flashcards (29)
E1 Ortho- Cervical
Updated 372d ago
flashcards Flashcards (102)
Capibara 1-3
Updated 1062d ago
flashcards Flashcards (28)
TMJ and MoM
Updated 701d ago
flashcards Flashcards (32)
CMS II Final: Endo
Updated 261d ago
flashcards Flashcards (293)
Chapter 21
Updated 159d ago
flashcards Flashcards (29)
E1 Ortho- Cervical
Updated 372d ago
flashcards Flashcards (102)
Capibara 1-3
Updated 1062d ago
flashcards Flashcards (28)