Search Header Logo

Python Basics Quiz

Authored by jemsheena ma

Information Technology (IT)

University

Used 2+ times

Python Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python was developed by:

Dennis Ritchie

Guido van Rossum

James Gosling

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is a:

Low-level language

Machine language

High-level programming language

Assembly language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which year was Python first released?

1991

2000

1989

1995

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used for comments in Python?

//

**

#

/* */

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct to print "Hello World" in Python?

echo "Hello World"

print("Hello World")

printf("Hello World")

console.log("Hello World")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid number data type in Python?

int

float

complex

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of type(3)?

  • <class 'float'>

  • <class 'int'>

  • <class 'str'>

  • <class 'complex'>

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?