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

D522 WGU STUDY GUIDE QUESTIONS & CORRECT ANSWERS

Rating
-
Sold
-
Pages
19
Grade
A+
Uploaded on
16-11-2024
Written in
2024/2025

D522 WGU STUDY GUIDE QUESTIONS & CORRECT ANSWERS / D522 WGU STUDY GUIDE QUESTIONS & CORRECT ANSWERS

Institution
D522 WGU
Course
D522 WGU

Content preview

D522 WGU STUDY GUIDE QUESTIONS & CORRECT
ANSWERS



Python - ANSWER-interpreted programming language known for its simplicity,
readability, and versatility


supports multiple programming paradigms, including procedural, object-oriented,
and functional programming, making it adaptable to different coding styles.


Python is - ANSWER-readable
dynamically typed
extensive standard library
cross plat
versatile
interpreted nature


Programming Paradigm - ANSWER-a fundamental style or approach to
programming that dictates how tasks should be structured and executed in each
programming language. It encompasses principles, concepts, and patterns that
guide the design and organization of code.


imperative/procedural programming - ANSWER-focuses on describing a sequence
of steps to perform a task, procedures or routines.


object-oriented programming (OOP) - ANSWER-organizes code around objects,
which encapsulate data and behavior

,functional programming - ANSWER-emphasizes the use of functions and
immutable data for computation


declarative programming - ANSWER-describes what the program should
accomplish without specifying how to achieve it


event-driven programming - ANSWER-reacts to events and user actions,
triggering corresponding functions


logic programming - ANSWER-defines a set of logical conditions and lets the
system deduce solutions


indentation - ANSWER-defines blocks of code. crucial for structure and nesting of
code blocks


(4 spaces)


comments - ANSWER-#


ignored by interpreter, for humans


Variable - ANSWER-used to store data, created by assigning a value to a name


Data Types - ANSWER-integers, floats, strings, lists, tuples, dictionaries


conditional statements - ANSWER-if, else, elif (else if)

, Classes - ANSWER-(also objects) fundamental to object oriented programming in
python.


print () - ANSWER-used to output data to the console


print ("hello")


functions - ANSWER-defined using def


def greet(name):
print ("Hello, name")


run python script in cmd prompt - ANSWER-python script.py


How to run phython script in Python3 - ANSWER-python3 script.py


Integrated Development Environments (IDEs) - ANSWER-provide a more user-
friendly environment for coding, debugging, and running Python scripts


Markdown file - ANSWER-simple format used frequently to add styled text,
images, code snippets and more to coding repos serving as documentation


human readable


.md - ANSWER-markdown file

Written for

Institution
D522 WGU
Course
D522 WGU

Document information

Uploaded on
November 16, 2024
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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.
NurseSue Johns Hopkins University
View profile
Follow You need to be logged in order to follow users or courses
Sold
50
Member since
2 year
Number of followers
4
Documents
1076
Last sold
1 month ago

3.9

8 reviews

5
4
4
1
3
2
2
0
1
1

Trending documents

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