100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
D335 Section 2: Introduction to Python (Terms) ALL DEFINED FOR EASIER UNDERSTANDING $8.99   Add to cart

Exam (elaborations)

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

 6 views  0 purchase
  • Course
  • WGU D335
  • Institution
  • WGU D335

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 addi...

[Show more]

Preview 2 out of 5  pages

  • August 15, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • WGU D335
  • WGU D335
avatar-seller
JPNAOMISTUVIA
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.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller JPNAOMISTUVIA. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78252 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.99
  • (0)
  Add to cart