Search Header Logo

Python and SQL Quiz

Authored by pinky sravs

Other

Professional Development

Used 1+ times

Python and SQL Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(type(5))?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is a:

Compiled Language

Markup Language

Low-level Language

Interpreted Language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1name

name_1

class

first-name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of int('5.3')?

5

Error

5.3

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will type(3.0) return?

int

float

double

decimal

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?

func

define

def

function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of: x = 10 if x > 5: print("High") else: print("Low")

Low

High

10

None

Access all questions and much more by creating a free account

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

Already have an account?