Python Round 3

Quiz
•
Computers
•
University
•
Hard
Noor Malik
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How do you open a file named "myfile.txt" in read mode in Python?
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of these collections defines a LIST?
("apple", "banana", "cherry")
["apple", "banana", "cherry"]
{"apple", "banana", "cherry"}
{"name": "apple", "color": "green"}
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of these collections defines a TUPLE?
{"apple", "banana", "cherry"}
["apple", "banana", "cherry"]
("apple", "banana", "cherry")
{"name": "apple", "color": "green"}
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which collection is ordered, changeable, and allows duplicate members?
LIST
TUPLE
SET
DICTIONARY
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of these collections defines a DICTIONARY?
{"apple", "banana", "cherry"}
["apple", "banana", "cherry"]
{"name": "apple", "color": "green"}
("apple", "banana", "cherry")
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of these collections defines a SET?
["apple", "banana", "cherry"]
("apple", "banana", "cherry")
{"apple", "banana", "cherry"}
{"name": "apple", "color": "green"}
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How do you start writing a while loop in Python?
while x > y:
while x > y {x > y
while {while (x > y)
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Monster Tutorial PCL1

Quiz
•
University
10 questions
CSC126_Chapter3.1

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
15 questions
Quiz4

Quiz
•
University
15 questions
Scratch Text Operators

Quiz
•
KG - Professional Dev...
10 questions
ICT in Advertising

Quiz
•
KG - University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
Java Programming

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade