Python basics

Python basics

Professional Development

5 Qs

quiz-placeholder

Similar activities

Python Training Day-4 Quiz-4

Python Training Day-4 Quiz-4

Professional Development

10 Qs

Python Basics

Python Basics

Professional Development

10 Qs

c programming-Test 1

c programming-Test 1

Professional Development

10 Qs

Introducción a python

Introducción a python

Professional Development

10 Qs

Excel Macro

Excel Macro

Professional Development

10 Qs

Power BI 02 - Connecting & Shaping Data

Power BI 02 - Connecting & Shaping Data

Professional Development

9 Qs

03 - Python - Basics

03 - Python - Basics

University - Professional Development

10 Qs

PythonDia1

PythonDia1

Professional Development

10 Qs

Python basics

Python basics

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Vimal Kumar

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable in Python?

  • A reserved keyword

  • A container for storing data values

  • A function in Python

  • A data type

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a valid Python variable name?

  • 1st_variable

  • my_variable

  • variable-1

  • $variable

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the data type of the variable x = '5.0'?

float

int

string

list

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the len() function do in Python?

  • Returns the length of a list or string

  • Converts a string to lowercase

  • Returns the square root of a number

  • Rounds a floating-point number

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a mutable data type in Python?

int

list

tuple

float