Python Basic Level 2 | RoboticSchools

Python Basic Level 2 | RoboticSchools

10th Grade

70 Qs

quiz-placeholder

Similar activities

Non Standardize

Non Standardize

9th - 10th Grade

65 Qs

ôn tập từ bài 16 - 20 tin 10

ôn tập từ bài 16 - 20 tin 10

10th Grade - University

65 Qs

Google Certified Educator (Level 1)

Google Certified Educator (Level 1)

KG - University

73 Qs

R093 SAM 22 - iMedia

R093 SAM 22 - iMedia

9th - 12th Grade

66 Qs

Creative iMedia

Creative iMedia

10th - 11th Grade

68 Qs

Tin hoc

Tin hoc

10th - 11th Grade

74 Qs

Mr Browns Christmas Computer Science Quiz!

Mr Browns Christmas Computer Science Quiz!

9th - 12th Grade

69 Qs

Python Basic Level 2 | RoboticSchools

Python Basic Level 2 | RoboticSchools

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Robotic Schools

Used 7+ times

FREE Resource

70 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Which can be an Identifier among them in Python?

$123

_abc

@fg

1a

2.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

What will be the output of the following Python code?

>>>list1 = [1, 3]

>>>list2 = list1

>>>list1[0] = 4

>>>print(list2)

[1, 4]

[1, 3, 4]

[4, 3]

[1, 3]

3.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Which of the following is a Python tuple?

{1, 2, 3}

{}

(1, 2, 3)

[1, 2, 3]

4.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

  1. Predict the output
    str1="helloworld"

    str1[::-1]

dlrowolleh

hello

world

helloworld

5.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

What is the output of the following Code

aList = [4, 8, 12, 16]

aList[1:4] = [20, 24, 28]

print(aList)

[4, 20, 24, 28, 8, 12, 16]

[4, 20, 24, 28]

[20,24,28,12,16]

[4,20,24,28,16]

6.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Which is known as simple assignment operator?

==

=

+=

#

7.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

What will the output be from the following code?
print("Hello world!\nHello world!")
Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

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?