PYTHON INTRODUCTION

PYTHON INTRODUCTION

Professional Development

15 Qs

quiz-placeholder

Similar activities

Introduction to Computing_1

Introduction to Computing_1

4th Grade - Professional Development

17 Qs

Python - CDT

Python - CDT

Professional Development

20 Qs

SPARK FIDDLE

SPARK FIDDLE

Professional Development

20 Qs

ABREDES - Devasc Python

ABREDES - Devasc Python

Professional Development

14 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Python Interaction

Python Interaction

9th Grade - Professional Development

20 Qs

Python

Python

Professional Development

20 Qs

PYTHON INTRODUCTION

PYTHON INTRODUCTION

Assessment

Quiz

Computers

Professional Development

Medium

Created by

ramesh e

Used 38+ 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?