Python packages

Python packages

Professional Development

25 Qs

quiz-placeholder

Similar activities

Alexa

Alexa

Professional Development

25 Qs

Fun activity

Fun activity

Professional Development

30 Qs

F100 Engine Block 3

F100 Engine Block 3

Professional Development

21 Qs

Python_Basics_1

Python_Basics_1

Professional Development

30 Qs

UBS Virtual 0704

UBS Virtual 0704

Professional Development

25 Qs

Czego nauczyły mnie lekcje informatyki przez 8 lat nauki-A.Palka

Czego nauczyły mnie lekcje informatyki przez 8 lat nauki-A.Palka

Professional Development

22 Qs

Quiz - Oficina do Futuro

Quiz - Oficina do Futuro

Professional Development

21 Qs

ES & IoT Quiz 2

ES & IoT Quiz 2

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?