9/11/26, 8:06 Python for IT Automation (WGU D522) |
PM Quizlet
Python for IT Automation (WGU D522) Questions and
Answers
Correct 20
100%
Incorrect 00
1 of 20
Term
What does the pop() method do?
Give this one a try later!
It enhances output formatting by embedding variables in strings.
(although 'f' strings are easier to read)
It is used as a shorthand for concatenation and assignment
It removes an item at the specified index position.
example:
devices = ['router1', 'switch2', 'firewall3']
removed_device = devices.pop(1)
1/16
,9/11/26, 8:06 Python for IT Automation (WGU D522) |
PM Quizlet
This removes 'switch2' from devices since it is in index 1 position,
and now it added to "removed_device.
1. can only contain letters, numbers, or an underscore.
2.MUST start with either a letter or underscore
3.Cannot start with a number
4. Cannot contain special characters.
5.Cannot be a Python keyword (such as: and, as, def, else, etc)
Don't know?
2 of 20
Term
What are the traits of Logic Programming?
Give this one a try later!
defines a sequence of organizes code around objects
imperative commands to that encapsulate data and
manipulate memory behavior
defines a set of logical
conditions and lets the focuses on the flow of control
system deduce solutions. and side effects within a
program
Don't know?
3 of 20
2/16
, 9/11/26, 8:06 Python for IT Automation (WGU D522) |
PM Quizlet
Term
What are the traits of Declarative Programming?
Give this one a try later!
describes the exact
sequence of steps the organizes code around mutable
computer must take to objects and their interactions.
solve a problem.
describes what the
program should focuses on the flow of control
accomplish without and side effects within a
specifying how to program
achieve it.
Don't know?
4 of 20
Definition
1. can only contain letters, numbers, or an underscore.
2.MUST start with either a letter or underscore
3.Cannot start with a number
4. Cannot contain special characters.
5.Cannot be a Python keyword (such as: and, as, def, else, etc)
Give this one a try later!
What are the 5 Variable What are the traits of
name rules in Python?
3/16
PM Quizlet
Python for IT Automation (WGU D522) Questions and
Answers
Correct 20
100%
Incorrect 00
1 of 20
Term
What does the pop() method do?
Give this one a try later!
It enhances output formatting by embedding variables in strings.
(although 'f' strings are easier to read)
It is used as a shorthand for concatenation and assignment
It removes an item at the specified index position.
example:
devices = ['router1', 'switch2', 'firewall3']
removed_device = devices.pop(1)
1/16
,9/11/26, 8:06 Python for IT Automation (WGU D522) |
PM Quizlet
This removes 'switch2' from devices since it is in index 1 position,
and now it added to "removed_device.
1. can only contain letters, numbers, or an underscore.
2.MUST start with either a letter or underscore
3.Cannot start with a number
4. Cannot contain special characters.
5.Cannot be a Python keyword (such as: and, as, def, else, etc)
Don't know?
2 of 20
Term
What are the traits of Logic Programming?
Give this one a try later!
defines a sequence of organizes code around objects
imperative commands to that encapsulate data and
manipulate memory behavior
defines a set of logical
conditions and lets the focuses on the flow of control
system deduce solutions. and side effects within a
program
Don't know?
3 of 20
2/16
, 9/11/26, 8:06 Python for IT Automation (WGU D522) |
PM Quizlet
Term
What are the traits of Declarative Programming?
Give this one a try later!
describes the exact
sequence of steps the organizes code around mutable
computer must take to objects and their interactions.
solve a problem.
describes what the
program should focuses on the flow of control
accomplish without and side effects within a
specifying how to program
achieve it.
Don't know?
4 of 20
Definition
1. can only contain letters, numbers, or an underscore.
2.MUST start with either a letter or underscore
3.Cannot start with a number
4. Cannot contain special characters.
5.Cannot be a Python keyword (such as: and, as, def, else, etc)
Give this one a try later!
What are the 5 Variable What are the traits of
name rules in Python?
3/16