Search Header Logo

PYTHON INTRODUCTION

Authored by ramesh e

Computers

Professional Development

Used 43+ times

PYTHON INTRODUCTION
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

10 sec • 1 pt

What is an integer constant in Python?

A number with a decimal point
A positive number only
A number without a decimal point
A negative number only

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is an example of an integer constant?

-10

3.14

"ram"

True

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a float constant in Python?

A number with a decimal point
A positive number only
A number without a decimal point
A negative number only

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is an example of a float constant?

100
-5
4.2
Hello

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a string constant in Python?

A number with a decimal point
A positive number only
A collection of characters enclosed in quotes
A negative number only

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a Python variable?

A value with a decimal point
A positive number only
A name given to a computer memory location to store a value
A negative number only

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What are the naming rules for Python variables?

Variables can begin with any character

Variables cannot contain numbers

Variables cannot contain underscores

Variables must begin with an alphabetic letter or an underscore.

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?