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 5 pages
Exam (elaborations)

PYTHON -DATA SCIENCE TEST WITH VERIFIED SOLUTIONS -12.

Document preview thumbnail
Preview 2 out of 5 pages

PYTHON -DATA SCIENCE TEST WITH VERIFIED SOLUTIONS -12.

Content preview

PYTHON -DATA SCIENCE TEST WITH VERIFIED SOLUTIONS #12

Algorithm - correct answer A set of specific steps for solving a category of problems

Bug - correct answer an error in a program

Comment - correct answer in a program that is meant for other programmers (or anyone
reading the source code) and has no effect on the execution of the program

Token - correct answer basic elements of a language(letters, numbers, symbols)

High-level language - correct answer A programming language like Python that is
designed to be easy for humans to read and write.

Low-level langauge - correct answer A programming language that is designed to be
easy for a computer to execute; also called machine language or assembly language

Print - correct answer A function used in a program or script that causes the Python
interpreter to display a value on its output device.

Runtime error - correct answer An error that does not occur until the program has
started to execute but that prevents the program from continuing.

Semantic error - correct answer An error in a program that makes it do something other
than what the programmer intended.

Semantic - correct answer the meaning of a program

Syntax - correct answer The structure of a program

Syntax error - correct answer An error in a program that makes it impossible to parse —
and therefore impossible to interpret.

String - correct answer contains a string of letters

Variable - correct answer name that refers to a value

Assignment statement - correct answer gives value to a variable

Keyword - correct answer define the language's syntax rules and structure, and they
cannot be used as variable names

Statement - correct answer instruction that the Python interpreter can execute

Operators - correct answer special tokens that represent computations like addition,
multiplication and division

, Modulus operator - correct answer %, works on integers (and integer expressions) and
gives the remainder when the first number is divided by the second

Evaluate - correct answer To simplify an expression by performing the operations in
order to yield a single value.

Int - correct answer A Python data type that holds positive and negative whole numbers

Float - correct answer A Python data type which stores floating-point numbers. Floating-
point numbers are stored internally in two parts: a base and an exponent. When printed
in the standard format, they look like decimal numbers

Flow of execution - correct answer The order in which statements are executed during a
program run.

Function - correct answer A named sequence of statements that performs some useful
operation. Functions may or may not take parameters and may or may not produce a
result

Fruitful function - correct answer A function that returns a value when it is called.

Local variable - correct answer A variable defined inside a function. A local variable can
only be used inside its function. Parameters of a function are also a special kind of local
variable.

Parameter - correct answer A name used inside a function to refer to the value which
was passed to it as an argument.

Boolean function - correct answer A function that returns a Boolean value. The only
possible values of the bool type are False and True.

None - correct answer A special Python value. One use in Python is that it is returned
by functions that do not execute a return statement with a return argument.

Block - correct answer A group of consecutive statements with the same indentation.

Boolean expression - correct answer An expression that is either true or false.

Conditional statement - correct answer A statement that controls the flow of execution
depending on some condition. In Python the keywords if, elif, and else are used for
conditional statements.

Conditional statement - correct answer One program structure within another, such as a
conditional statement inside a branch of another conditional statement

Document information

Uploaded on
February 9, 2026
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$15.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.
Sold
99
Followers
44
Items
5696
Last sold
2 months 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