Python Programming

Python Programming

University

15 Qs

quiz-placeholder

Similar activities

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

University

12 Qs

cpp-while-loop

cpp-while-loop

University

10 Qs

Exploring Python Data Types

Exploring Python Data Types

11th Grade - University

10 Qs

Module 1-Flow Control_5th_Semseter

Module 1-Flow Control_5th_Semseter

University

10 Qs

Data Structures Training Quiz2

Data Structures Training Quiz2

University

15 Qs

Python Compound Data Types and their Method Set-2

Python Compound Data Types and their Method Set-2

11th Grade - University

10 Qs

BUSM4567 WEEK11 - MEASURING RESULTS

BUSM4567 WEEK11 - MEASURING RESULTS

University

14 Qs

Current Affairs

Current Affairs

12th Grade - Professional Development

15 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?