CIS 1100 midterm 1— some important stuff

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:30 AM on 10/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

7 Terms

1
New cards

random.random()

returns float from 0 to 0.99999…

2
New cards

random.randint(a,b)

generates random integer between a and b including a and b

3
New cards

what must I use with pd.next_key_types()

pd.has_next_key_typed()

4
New cards

penndraw boolean function that determines if the user clicks

pd.mouse_pressed()

5
New cards

what is command line argument

everything typed into the terminal after “python”

6
New cards

string = “ abc”

list=string.split()

what is the list?

[‘ ‘,’ ‘,’ ‘,’ ‘,’a’,’b’,’c’]

7
New cards

list = []

print(list[0])

what happens?

crash/error