Python Programming

Python Programming

University

15 Qs

quiz-placeholder

Similar activities

Lean Manufacturing

Lean Manufacturing

University

20 Qs

Weekly Contest #11

Weekly Contest #11

University

10 Qs

Python Internship Quiz

Python Internship Quiz

12th Grade - University

15 Qs

Cancer Medications

Cancer Medications

University

20 Qs

Why Do these Rules Matter?

Why Do these Rules Matter?

4th Grade - University

15 Qs

Pedagogical support in the educational process of modern sch

Pedagogical support in the educational process of modern sch

University

15 Qs

Medical Statistics

Medical Statistics

University

15 Qs

Quick Quiz Closing Journal

Quick Quiz Closing Journal

11th Grade - University

10 Qs

Python Programming

Python Programming

Assessment

Quiz

Education

University

Medium

Created by

sudheer kumar

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of int(3.99)?

3.0

3

3.0 or 3

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the operation: 11//2 ?

5.5

5.0

1

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of x after the following is run:

x=4 x=x/2

2

4

2.0

1.0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following: print("AB\nC\nDE")?

AB\nC\nDE

AB

C

DE

AB

CD

E

ABCDE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of following?

"hello Mike".find("Mike")

Mike

5

6.0

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following code segment:

1//2 ?

1

0.5

0

2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, if you executed name = 'Lizz' , what would be the output of print(name[0:2]) ?

Liz

Li

iz

zz

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?