Search Header Logo

Introduction to Python and Data Analytics Basics

Authored by Mr. SAPTHAGIRI

Other

University

Used 1+ times

Introduction to Python and Data Analytics Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(2 ** 3)?

6

8

9

10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a variable in Python?

int x = 10;

x = 10

var x = 10;

declare x = 10;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in Python is immutable?

List

Ductionary

Tuple

Set

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a single-line comment in Python?

// Comment

# Comment

<!-- Comment -->

/* Comment */

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default return type of the input() function?

int

str

float

bool

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does len([1, 2, 3]) return?

3

2

1

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?

function

def

func

define

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?