Search Header Logo

Lession 47 - Test-6

Authored by NotchUp .co

Education, Professional Development

5th - 8th Grade

Used 14+ times

Lession 47 - Test-6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used to read the single line of the file ?

readline()

read()

readlines()

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default the file opening mode is ?

read

write

append

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used to move the cursor to the specific position ?

seek()

tell()

move()

update()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module is used to plot graphs ?

matplotlib

os

pygame

random

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to choose any list element randomly ?

choice()

choose()

random()

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in pygame is used to set the size of the window ?

pygame.display.set_mode()

pygame.display.set_size()

pygame.display.set_screen()

none

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to compare expressions ?

all of them

==

!=

<=

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?