PYTHON UNIT I MCQS

PYTHON UNIT I MCQS

University

15 Qs

quiz-placeholder

Similar activities

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Computer Architecture Unit 3

Computer Architecture Unit 3

University

15 Qs

BCA

BCA

University

10 Qs

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

Quiz on neural network unit II

Quiz on neural network unit II

University

16 Qs

GIS Unit-1

GIS Unit-1

University

15 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

PYTHON UNIT I MCQS

PYTHON UNIT I MCQS

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

MS.SHYAMALADEVI C

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a feature of Python?

Strongly typed language

Static typing

Interpreted language

Compiler-based language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you run a Python script from the command line?

python script.py

execute script.py

start script.py

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid identifier in Python?

1variable

variable_1

global

break

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a reserved keyword in Python?

for

while

if

all of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a variable in Python?

var x = 5

x = 5

int x = 5

variable x = 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comments in Python?

They are used to improve the performance of the code.

They are used to make the code run faster.

They are used to explain the code and make it more readable.

They are used to add extra functionality to the code.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for indentation in Python?

Spaces

Tabs

Both spaces and tabs

None of the above

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?