100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

D335 Section 2: Introduction to Python (Terms) ALL DEFINED FOR EASIER UNDERSTANDING

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
15-08-2024
Written in
2024/2025

D335 Section 2: Introduction to Python (Terms) ALL DEFINED FOR EASIER UNDERSTANDING A computer program consists of basic instructions such as: Input: A program gets data, perhaps from a file, keyboard, touchscreen, network, etc. Process: A program performs computations on that data, such as adding two values like x + y. Output: A program puts that data somewhere, such as to a file, screen, or network.

Show more Read less
Institution
WGU D335
Course
WGU D335









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
WGU D335
Course
WGU D335

Document information

Uploaded on
August 15, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

D335 Section 2: Introduction to Python
(Terms)

A computer program consists of basic instructions such as:

Input: A program gets data, perhaps from a file, keyboard, touchscreen, network, etc.

Process: A program performs computations on that data, such as adding two values




A
like x + y.




VI
Output: A program puts that data somewhere, such as to a file, screen, or network.




TU
IS
What is Python?
OM

a high-level general-purpose programming language.

Is Python an interpreted language?

Yes, Python is an interpreted language. An interpreted language is a programming
NA


language that executes instructions directly by an interpreter.

When was Python originally released?

1991
JP




Python 1.0 was released in what year?

1994

Why was it named Python?

The name Python came from Guido van Rossum (the creator) being a fan of the TV

show Monty Python.

, The Python interpreter is

a computer program that directly executes code written in the Python programming

language.

Code is a common word for

the textual representation of a program (and hence programming is also called coding).

What is a statement?




A
A statement is a program instruction. A program mostly consists of a series of




VI
statements, and each statement usually appears on its own line.

What is an expression?




TU
Expressions are any code that return a value when it is evaluated by the program; for

example, the code "5 + 6" is an expression that computes a number by adding two
IS
values.

A new variable is created by
OM

performing an assignment statement using the = symbol, such as favoritecolor = red

What character denotes comments in Python?

The character '#' denotes comments
NA


For example:

# this is a comment
JP




How do you print text to the screen in Python?

The primary way to print output is to use the built-in function print(). Ex: print('hello

world').

What is text enclosed in quotes called?

A string literal.

Get to know the seller

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.
JPNAOMISTUVIA Arizona Western College
View profile
Follow You need to be logged in order to follow users or courses
Sold
122
Member since
3 year
Number of followers
55
Documents
1258
Last sold
3 weeks ago
Unlock Your Potential with Our Comprehensive Study Guides Based on RESEARCH AND VERIFIED WORK!

Are you ready to elevate your learning experience FOR GRADE A+ RESULTS ? Our expertly crafted study guides are designed to empower students of all levels. Whether you're preparing for exams or mastering a new subject, Choose from digital downloads, bundled packages to suit your study style. Good Luck As You Study!

4.4

36 reviews

5
24
4
6
3
4
2
0
1
2

Recently viewed by you

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

Frequently asked questions