CSE 6R Midterm Review

Quiz
•
Computers
•
University
•
Hard
Jackson Conte
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you never created a variable called state prior to this code snippet, will this code snippet cause an error?
Yes
No
Not enough information
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Given the following logical expression, what values of booleans a and b will make it evaluate to False? Select all that apply.
a = False, b = False
a = False, b = True
a = True, b = False
a = True, B = True
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
You are given a string called my_string such that len(my_string) is 8215. What negative index is equivalent to the positive index 523? (Write a negative sign first, and do NOT use a comma separator).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to store a scatterplot of 2D coordinates (x and y) as a nested data structure. However, you do not want to store any duplicate points. The most appropriate way to store these coordinates would be a: ___________ of ____________
Set of Tuples
Dict of Tuples
Set of Lists
List of Lists
List of Tuples
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you never created a variable called is_registered prior to this code snippet, will this code snippet cause an error?
Yes
No
Not enough information
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: Every for loop can be rewritten as a while loop.
True
False
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following data structures can be used as VALUES in a dict? Select all that apply.
List
Dict
Set
Tuple
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Qûîz

Quiz
•
University
12 questions
WMAD-Unit2-2023-24

Quiz
•
University
7 questions
Red Hat System Administration I - Test 11

Quiz
•
University
15 questions
Database concepts

Quiz
•
University
10 questions
0xDebug - Python

Quiz
•
University
10 questions
Intro to Programming Quiz

Quiz
•
University
15 questions
PYHTON BASIC 1

Quiz
•
University
10 questions
ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 6

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University