CS172 Test 1 Review

Flashcard
•
Computers
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the official name of the string type in Python?
Back
str
2.
FLASHCARD QUESTION
Front
Which operator should we use to check if one variable is equal to another? Options: =, ==, !=, <=
Back
==
3.
FLASHCARD QUESTION
Front
To execute a statement n times, which loop should we use? Options: for line in f:, for item in n:, for i in range(len(n)):, for i in range(n):
Back
for i in range(n):
4.
FLASHCARD QUESTION
Front
To handle errors converting between types, what Python feature do we need to use?
Back
try/except block
5.
FLASHCARD QUESTION
Front
In Python, this is a mutable sequence of related data, usually all of the same type
Back
list
6.
FLASHCARD QUESTION
Front
Lists support this operation, but tuples do not. Options: Taking the length, Indexing, Unpacking, Appending
Back
Appending
7.
FLASHCARD QUESTION
Front
Which indices will the following slice access: myList[1:3]
Back
1,2
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Django Flashcard

Flashcard
•
12th Grade
15 questions
Django Flashcard

Flashcard
•
12th Grade
9 questions
Python Programming Basics Flashcard

Flashcard
•
12th Grade
15 questions
Getting Started with Python

Flashcard
•
11th Grade
20 questions
Python SaNook

Flashcard
•
University
10 questions
Digital Skills and Career Readiness

Flashcard
•
Professional Development
15 questions
CSE 102 Exam 3 Practice

Flashcard
•
University
15 questions
Python Programming Language: Canvas and Drawing

Flashcard
•
12th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University