Search Header Logo

Python with ArcPY Final Quiz

Authored by AGSRT Assessment

Professional Development

Professional Development

Used 96+ times

Python with ArcPY Final Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.       Which of the following words is not a palindrome?

python

radar

level

madam

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You are performing spatial analysis using ArcPy. Which of the following functions performs a spatial join?

`arcpy.SpatialJoin_analysis`

`arcpy.JoinSpatial_analysis`

`arcpy.SpatialJoin`

`arcpy.JoinAnalysis`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

       What will be the output of the following Python code?

 

set1 = {1, 2, 3}

set2 = {3, 4, 5}

result = set1 & set2

print(result)

{1, 2, 3, 4, 5}

{3}

{1, 2}

{}

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You need to open a file for writing binary data. Which of the following is the correct mode?

`"wb"`

`"wb+"`

`"w"`

`"b"`

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You are setting up your Python environment for the first time. Which of the following commands would you use to check your Python version?

`python -v`

`python --version`

`python -V`

`python --ver`

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Scenario: You want to read JSON data from a file. Which of the following modules provides support for JSON?

`json`

`csv`

`xml`

`pickle`

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You want to write a multi-threaded Python program. Which of the following modules provides support for threads?

`threading`

`multiprocessing`

`concurrent`

`asyncio`

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 Professional Development