Test7

Test7

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

4. DESAIN GRAFIS KELAS 10

4. DESAIN GRAFIS KELAS 10

10th Grade

25 Qs

Dasar Tekik Jaringan Komputer dan Telekomunikasi Fase E v2

Dasar Tekik Jaringan Komputer dan Telekomunikasi Fase E v2

10th Grade

25 Qs

Kuis Informatika Kelas 9

Kuis Informatika Kelas 9

9th Grade

25 Qs

3S - Grafica e Visual Design (Gruppo A)

3S - Grafica e Visual Design (Gruppo A)

11th Grade - University

25 Qs

Quiz tentang Sharing Data dalam Jaringan

Quiz tentang Sharing Data dalam Jaringan

11th Grade - University

25 Qs

Quiz Informatika

Quiz Informatika

10th Grade

25 Qs

PENILAIAN HARIAN INFORMATIKA 8_REKAM JEJAK DIGITAL

PENILAIAN HARIAN INFORMATIKA 8_REKAM JEJAK DIGITAL

8th Grade - University

25 Qs

Microsoft Word

Microsoft Word

10th Grade

25 Qs

Test7

Test7

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Hard

Created by

Rares Hampi

Used 4+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?