Search Header Logo

Basics of programming

Authored by Sindhusaranya B

Other

University

Basics of programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of programming does Python support?

Object-oriented programming

Structured programming

Functional programming

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is correct extension of the Python file?

.python

.pl

.py

.p

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following character is used to give single-line comments in Python?

//

#

!

/*

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is pip stands for?

Pip installs Python

Pip installs Packages

Preferred installer program

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is a built-in function in Python?

Factorial()

print()

Seed()

Sqrt()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following types of loops are not supported in Python?

for

While

do-while

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid set operation in Python?

Union

Intersection

Difference

None of the above

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?