PYTHON REVISION

PYTHON REVISION

11th Grade

20 Qs

quiz-placeholder

Similar activities

Data Manipulation IGCSE (Introduction to database) Grade 10

Data Manipulation IGCSE (Introduction to database) Grade 10

10th - 11th Grade

20 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

Kiểm tra kiến thức về phần mềm chỉnh sửa ảnh và làm phim

Kiểm tra kiến thức về phần mềm chỉnh sửa ảnh và làm phim

11th Grade

20 Qs

Database Concepts

Database Concepts

11th - 12th Grade

15 Qs

KS4 - Representing Images

KS4 - Representing Images

9th - 11th Grade

15 Qs

Stuchell Photoshop ACA - Setting Project Requirements

Stuchell Photoshop ACA - Setting Project Requirements

6th - 11th Grade

22 Qs

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

9th - 12th Grade

20 Qs

LATIHAN SIMDIG

LATIHAN SIMDIG

9th - 12th Grade

20 Qs

PYTHON REVISION

PYTHON REVISION

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Prema Selvam

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")
Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("12"*3)
What would this print?
36
121212
24
12*3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would this out put? print(users[2][1])

error

16

brown

smith

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

30

200

1020

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose a function called add() is defined in a module called adder.py. Which of the following code snippets correctly show how to import and use the add() function? Select all that apply.

import add from adder

result = add(2, 3)

from adder import add

result = add(2, 3)

from adder import add

result = adder.add(2, 3)

import add

result = adder.add(2, 3)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This command will open MyFile = open("MyText.txt")

To read the file

To append to the file

To write to the file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python shell can be in ________________ways

2

3

1

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?