PYTHON INTRODUCTION

PYTHON INTRODUCTION

Professional Development

15 Qs

quiz-placeholder

Similar activities

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

Python Basic Celso Arauz

Python Basic Celso Arauz

Professional Development

11 Qs

Basics of programming - Quiz - 01

Basics of programming - Quiz - 01

University - Professional Development

20 Qs

SPARK FIDDLE

SPARK FIDDLE

Professional Development

20 Qs

Coding - Intermediate Level

Coding - Intermediate Level

4th Grade - Professional Development

18 Qs

Bertelsmann AI Track Quiz Initiative #3

Bertelsmann AI Track Quiz Initiative #3

University - Professional Development

20 Qs

Programación

Programación

Professional Development

20 Qs

BOP-1

BOP-1

University - Professional Development

15 Qs

PYTHON INTRODUCTION

PYTHON INTRODUCTION

Assessment

Quiz

Computers

Professional Development

Medium

Created by

ramesh e

Used 42+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?