Test7

Test7

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Quiz Simulasi Multimedia

Quiz Simulasi Multimedia

12th Grade - University

25 Qs

Latihan Ujian Semester 2025

Latihan Ujian Semester 2025

7th Grade - University

30 Qs

Latihan Informatika

Latihan Informatika

7th Grade - University

25 Qs

Jaringan Digital

Jaringan Digital

10th Grade

25 Qs

Ulangan Harian Informatika Kelas 9

Ulangan Harian Informatika Kelas 9

9th Grade

25 Qs

QUIZ PRA UTS INFORMATIKA KLS 12 - SMA MKGR SEPATAN 25/26

QUIZ PRA UTS INFORMATIKA KLS 12 - SMA MKGR SEPATAN 25/26

12th Grade

25 Qs

9 INFORMATIKA PERBAIKAN TUGAS 1

9 INFORMATIKA PERBAIKAN TUGAS 1

9th Grade - University

25 Qs

Data Types

Data Types

12th Grade

25 Qs

Test7

Test7

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

Hard

Created by

Rares Hampi

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

pygame.update()

pygame.display.update()

pygame.draw()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?