Search Header Logo

Script_programming_test

Authored by Pavel Taskov

Computers, Science

University

Used 5+ times

Script_programming_test
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

1 min • 1 pt

Q 1 - Which of the following is correct about Python?

A - Python is a high-level, interpreted, interactive and object-oriented scripting language.

B - Python is designed to be highly readable.

C - It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.

D - All of the above.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q 2 - Which of the following is correct about Python?

A - It supports functional and structured programming methods as well as OOP.

- It can be used as a scripting language or can be compiled to byte-code for building large applications.

C - It provides very high-level dynamic data types and supports dynamic type checking.

D - All of the above.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q 3 - Which of the following is correct about Python?

A - It supports automatic garbage collection.

B - It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.

C - Both of the above.

D - None of the above.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q 4 - Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program?

A - PYTHONPATH

B - PYTHONSTARTUP

C - PYTHONCASEOK

D - PYTHONHOME

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q 5 - Which of the following environment variable for Python contains the path of an initialization file containing Python source code?

A - PYTHONPATH

B - PYTHONSTARTUP

C - PYTHONCASEOK

D - PYTHONHOME

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q 6 - Which of the following environment variable for Python is used in Windows to instruct Python to find the first case-insensitive match in an import statement?

A - PYTHONPATH

B - PYTHONSTARTUP

C - PYTHONCASEOK

D - PYTHONHOME

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q 7 - Which of the following environment variable for Python is an alternative module search path?

A - PYTHONPATH

B - PYTHONSTARTUP

C - PYTHONCASEOK

D - PYTHONHOME

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?