
Test7
Authored by Rares Hampi
Information Technology (IT)
9th - 12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the default behavior of open('file.txt')?
Open for reading
Create new file
Open in binary mode
Append to file
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What happens if you try to read a file opened with 'w' mode?
Reads normally
Raises UnsupportedOperation
Returns empty string
Appends content
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following correctly opens a .csv file for reading with csv.reader?
open('data.csv')
open('data.csv', 'r')
csv.reader('data.csv')
csv.reader(open('data.csv'))
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In csv.reader, what is the type of each row returned in the loop?
List
Tuple
String
Dictionary
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What happens if csv.writer is used with a file not opened in text mode?
Works fine
Raises an error
Writes binary output
Automatically converts mode
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is required to draw a rectangle in pygame?
pygame.draw.rect(screen, color, rect)
pygame.rectangle(...)
pygame.render.rect(...)
ygame.screen.draw(...)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function updates the screen in pygame?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Quiz Literasi Digital
Quiz
•
12th Grade
25 questions
PTS TIK 8D
Quiz
•
2nd Grade - University
30 questions
Quiz Analisis Data kelas 8 24/25
Quiz
•
8th Grade - University
25 questions
Pemahaman Jaringan Komputer
Quiz
•
8th Grade - University
25 questions
SAS 1 Informatika 7
Quiz
•
7th Grade - University
25 questions
Latihan Ujian Akhir semester kelas IX
Quiz
•
9th Grade
25 questions
BAB 4 BEKERJA DENGAN SUBPROGRAM KELAS 9
Quiz
•
9th Grade
30 questions
SOAL INFORMATIKA KELAS XI
Quiz
•
11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade