Test7

Test7

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

SOAL POST TESt TIK kelas IX

SOAL POST TESt TIK kelas IX

9th Grade

34 Qs

UJIAN TIK KELAS 4 BULANAN 1

UJIAN TIK KELAS 4 BULANAN 1

9th Grade - University

25 Qs

JavaScript Qui1 M1-M3

JavaScript Qui1 M1-M3

12th Grade

25 Qs

Sistem Komputer

Sistem Komputer

10th Grade

25 Qs

3S - Grafica e Visual Design (Gruppo A)

3S - Grafica e Visual Design (Gruppo A)

11th Grade - University

25 Qs

SAT TIK KELAS 4

SAT TIK KELAS 4

4th Grade - University

26 Qs

Ulangan INF 9 - TIK - Blog

Ulangan INF 9 - TIK - Blog

9th Grade

28 Qs

SAS INFORMATIKA KELAS 9 SMPN 2 TULUNGAGUNG

SAS INFORMATIKA KELAS 9 SMPN 2 TULUNGAGUNG

9th Grade

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

Create a free account and access millions of resources

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?