Python Practice 2

Python Practice 2

Professional Development

11 Qs

quiz-placeholder

Similar activities

TOUCH 4GAMES

TOUCH 4GAMES

1st Grade - Professional Development

11 Qs

Recap for DepEd ELSA Newly Hired Teachers

Recap for DepEd ELSA Newly Hired Teachers

Professional Development

10 Qs

Chapter 12 review

Chapter 12 review

3rd Grade - Professional Development

8 Qs

Super Family

Super Family

Professional Development

10 Qs

Trivia Quiz II

Trivia Quiz II

Professional Development

13 Qs

Historical Sports Starring - Muhammed Ali

Historical Sports Starring - Muhammed Ali

6th Grade - Professional Development

10 Qs

Kuis Gratifikasi

Kuis Gratifikasi

Professional Development

10 Qs

Pressure Vessel: General Design Requirement

Pressure Vessel: General Design Requirement

11th Grade - Professional Development

10 Qs

Python Practice 2

Python Practice 2

Assessment

Quiz

Other

Professional Development

Medium

Created by

Assoc.Prof,IT Chennai

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a keyword in Python language?

  1. val

  1. raise

  1. try

  1. with

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output of print(math.pow(3, 2))?

9.0

9

6

6.0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following has the same precedence level?

  1. Division, Power, Multiplication, Addition and Subtraction

  1. Division and Multiplication

  1. Subtraction and Division

power and Division

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following has the highest precedence in the expression?

  1. Division

  1. Subtraction

  1. Power

parentheses

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in Python is used to store a sequence of characters?

Integer

Float

Boolean

String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet?

x = 3.14

print(type(x))

int

integer

float

Float

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the variable “x” in the following code snippet?

x = True

Integer

string

float

boolean

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?