ח-2 שבוע לומדים אחרת

ח-2 שבוע לומדים אחרת

8th Grade

26 Qs

quiz-placeholder

Similar activities

BCHS - Y8 Python

BCHS - Y8 Python

8th Grade

25 Qs

Python

Python

6th - 8th Grade

24 Qs

Python Middle Schooler

Python Middle Schooler

8th Grade

24 Qs

พื้นฐาน Python ม2

พื้นฐาน Python ม2

1st Grade - University

21 Qs

The Cannot Possibly Fail Python Programming Test (Yr 8)

The Cannot Possibly Fail Python Programming Test (Yr 8)

8th Grade

21 Qs

Python Beginner

Python Beginner

6th - 12th Grade

30 Qs

Python Revision

Python Revision

7th - 8th Grade

22 Qs

Artificial Intelligence Quiz1

Artificial Intelligence Quiz1

4th - 8th Grade

26 Qs

ח-2 שבוע לומדים אחרת

ח-2 שבוע לומדים אחרת

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Levy Roni.Aharon

Used 4+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the result of the following code?

s = "hello"

print(s[1:4])

h

ell

llo

hel

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following command print?

s = "python"

print(s.upper())

python

PYTHON

PyThOn

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result?

s = "welcome"

print(len(s))

7

8

6

Error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of the following code?
s = "abc" + "def"
print(s)

abc

def

abcdef

Error

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following command print?
s = "python"
print(s[0] + s[-1])

pn

ph

py

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following command print?

s = "hello world"

print(s.split(" ")[1])

hello

world

Error

Space

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of the following code?

s = "123"

print(s * 2)

123

246

123123

Error

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?