Search Header Logo

Python quiz for BCA Unit 4

Authored by DS Datascience

Computers

University

Used 1+ times

Python quiz for BCA Unit 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, everything is considered as a(n):

Variable

Object

Function

Module

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an attribute of a Python object?

Identity

State

Behavior

Operator

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Software objects are mainly used to represent:

Data only

Behavior only

Real-world entities

Functions only

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to check the type of an object in Python?

object()

type()

isinstance()

id()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python library is used for Turtle Graphics?

graphics

turtle

draw

painter

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function rotates the turtle 90 degrees to the right?

turtle.rt(90)

turtle.left(90)

turtle.turn(90)

turtle.rotate(90)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to change the turtle’s drawing color?

color()

pencolor()

bgcolor()

fillcolor()

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?

Discover more resources for Computers