Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

ENGR 102 Exam 1 Questions with Correct Answers | Updated (100% Correct Answers)

Document preview thumbnail
Preview 2 out of 6 pages

ENGR 102 Exam 1 Questions with Correct Answers | Updated (100% Correct Answers)

Content preview

1


ENGR 102 Exam 1 Questions with Correct
Answers | Updated (100% Correct Answers)
Which of the following environment variable for Python tells the
Python interpreter where to locate the module files imported into a
program? Answer: PYTHONPATH

Which of the following environment variable for Python contains the
path of an initialization file containing Python source code? Answer:
PYTHONSTARTUP

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? Answer: PYTHONCASEOK

Which of the following environment variable for Python is an
alternative module search path? Answer: PYTHONHOME

Is python a case sensitive language? Answer: true

Which of the following data types is not supported in python?

A - Numbers

B - String

C - List



© 2025 All rights reserved

, 2
D - Slice Answer: D- Slice

Which of the following is correct about tuples in python?

A - A tuple is another sequence data type that is similar to the list.

B - A tuple consists of a number of values separated by commas.

C - Unlike lists, however, tuples are enclosed within parentheses.

D - All of the above. Answer: D- All of the above

Which of the following is correct about dictionaries in python?

A - Python's dictionaries are kind of hash table type.

B - They work like associative arrays or hashes found in Perl and
consist of key-value pairs.

C - A dictionary key can be almost any Python type, but are usually
numbers or strings. Values, on the other hand, can be any arbitrary
Python object.

D - All of the above. Answer: D- All of the above

Which of the following function of dictionary gets all the keys from
the dictionary?

A - getkeys



© 2025 All rights reserved

Document information

Uploaded on
January 16, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Passit
3.5
(23)
Sold
128
Followers
6
Items
14482
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions