• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

D335 Python Study-Questions and Answers Verified 100% Correct

Document preview thumbnail
Preview 3 out of 19 pages

D335 Python Study-Questions and Answers Verified 100% Correct

Content preview

D335 Python Study-Questions and Answers Verified
100% Correct
overflow

error that results when the number of bits is not enough to hold the number

symbol for outputting certain number of digits after decimal point

:2f}' (for 2 digits after decimal point)

expression

combination of items, like variables, literals, operators, and parentheses, that evaluates to
a value, like 2 * (x + 1)

literal

specific value in code like 2

operator

symbol that performs a build-in calculation like + which does addition

**

exponent operator

floor division operator

Rounds the quotient down to a whole number after division

module

Python code located in another file. The programmer can import the module for use in their
own file, or in an interactive interpreter. The programmer first imports the module to the top
of a file.

,like the math module for advanced math operations

dot notation

Used to reference an object in an imported module.

import

executes the contents of a file containing python code and makes the definitions from that
file available

function call

process of invoking a function

code point

Python uses Unicode to represent every possible character as a unique number, known as
a code point.
For example, the character 'G' has the code point decimal value of 71.

raw string

a way to ignore escape sequences

created by adding an 'r' before a string literal, as in r'this is a raw string\'', which would
output as this is a raw string\'.

ord()

returns an encoded integer value for a string of length one.

chr()

converts an integer into a character. Thus, chr(ord('a') + 1) results in 'b'.

sequence type

specifies a collection of objects ordered from left to right

, len()

Returns the number of characters in a text
string ex: print(Len(George_v),

brackets

used to access a character at a specific index position
ex: alphabet[0]
is a

string concatenation

add new characters to the end of a string
ex: "New" + "York"

container

a construct used to group related values together and contains references to other objects
instead of data

list

container created by surrounding a sequence of variables or literals with
brackets Ex: my_list = [10, 'abc']

element

a list item

method

instructs an object to perform some action, and is executed by specifying the method
name following a "." symbol and an object.

append()

Document information

Uploaded on
March 12, 2025
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

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.
QUINTER
3.6
(73)
Sold
420
Followers
105
Items
39867
Last sold
3 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