Python packages

Python packages

Professional Development

25 Qs

quiz-placeholder

Similar activities

Taxation

Taxation

Professional Development

24 Qs

TechTag Quiz Competition

TechTag Quiz Competition

12th Grade - Professional Development

25 Qs

Coding Assignment

Coding Assignment

Professional Development

30 Qs

Intro to Python by AUG Problem solving module

Intro to Python by AUG Problem solving module

University - Professional Development

24 Qs

SFS & AMAZON-GURGAON SPAZE 184

SFS & AMAZON-GURGAON SPAZE 184

Professional Development

21 Qs

កម្រងសំណួរប្រព័ន្ធធនាគារស្នូល​ FlexCube 14.7

កម្រងសំណួរប្រព័ន្ធធនាគារស្នូល​ FlexCube 14.7

Professional Development

22 Qs

PBU - Broker Sales - Test - Jan'23

PBU - Broker Sales - Test - Jan'23

Professional Development

27 Qs

MIS Working Assessment Jul+Aug'22

MIS Working Assessment Jul+Aug'22

Professional Development

25 Qs

Python packages

Python packages

Assessment

Passage

Other

Professional Development

Easy

Created by

Random Outlaw

Used 5+ times

FREE Resource

25 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the highest possible number produced by this function?
print(randrange(1 , 50))

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What file is required to be at the base directory of a python package?


__script__.py

__program__.py

__base__.py

__package__.py

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What subfolder is created when loading a module?


__python__

__package__

init

__pycache__

__module__

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are random numbers in computing referred to as pseudorandom?


The numbers produced can only be valued between 1 and 100

The algorithm that produces the numbers only accepts positive values

The random values are hand-coded by an administrator

Their values are determined using a pre-defined algorithm

Random is reserved for nature, where pseudorandom is reserved for science


5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is returned by the python_implementation function when used on a standard Python install?


Python

JPython

CPython

Pypi

py

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How would you load just the pi variable from the math module using x as an alias?


7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command displays all packages installed with pip?


pip all

pip packages

pip help

pip show

pip list


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?