A developer issues the Linux command pip3 freeze in an activated Python 3 virtual environment. What is the function that is provided by the command?
to output a list of installed Python packages
What are two characteristics of the Git version control system? (Choose two.)
It is a distributed VCS.
It is open source
What characteristic describes a formal code review?
The entire code base is reviewed in a series of meetings.
Which fundamental Lean principle forms the basis from which all other Lean principles flow?
eliminate waste
When a unified diff file is being reviewed, which symbol is used to indicate that a line has been added?
/dev/null
@@
+
+
What special characters are used to enclose JSON objects?
forward slash /
square brackets []
curly braces {}
parenthesis ()
curly braces {}
What are two features of the formal code review? (Choose two.)
Which statement describes the Waterfall methodology of software development?
Each step in the process must be completed before the next step starts
What is clean code?
code that is easy to read and understand
What is the role of the view component in the Model-View-Controller (MVC) flow?
It accepts selected data and displays the visual representation to the user.
A developer is constructing some functions in Python. When is a function referred to as a module in Python?
when the function is packaged in a single Python file
A student is learning Python using the interactive interpreter mode. The student issues these commands:
> > > class Uri():
… def_init__(self, host, prot):
… self.host = host
… self.prot = prot
… self.url = self.prot + “://” + self.hostWhich command should the student use to create an object with one attribute being a valid URL?
> > > url2 = Url(URL, ‘http://’, ‘www.cisco.com’)
url2 = Url(‘http’, ‘://’, ‘www.cisco.com’)
url2 = Url(‘www.cisco.com’, ‘http’)
url2 = Url(‘http’, ‘www.cisco.com’)
> > > url2 = Url(‘www.cisco.com’, ‘http’)
A developer issues a Linux command python3 -m venv devenv . What is the developer trying to achieve?
to create a Python 3 virtual environment named devenv
How does an application use a module in Python?
through the import statement
Which two programming components are defined as blocks of code that perform tasks when executed? (Choose two.)
functions
methods
parameters
objects
arguments
functions
methods
Which software development methodology prescribes that developers follow a strict process order by completing one step in the SDLC process before proceeding to the next step.
Waterfall
Agile
Lean
Scrum
Waterfall
A developer wants to find the location of the Python 3 executable file. Which command should the developer use?
locate python3
where python3
which python3
find python3
which python3
Which SDLC phase concludes with functional code that satisfies customer requirements and is ready to be tested?
maintenance
testing
deployment
implementation
implementation
Which SDLC development methodology employs many quick iterations known as sprints?
Extreme Programming
Waterfall
Lean
Agile
Agile
What are the three states of a Git file? (Choose three.)
secured
staged
committed
locked
modified
deleted
staged
committed
modified
Which code review method involves the developer going through the code line-by-line with the reviewer, allowing the developer to make changes on the spot?
email pass-around
formal
change-based
over-the-shoulder
over-the-shoulder
Which term is used to describe the first line of an XML document?
preamble
opening
prologue
introduction
prologue
When a unified .diff file is being reviewed, which symbol is used to indicate that a line has been added?
@@
/dev/null
+
-
+
What is the role of the controller component in the Model-View-Controller (MVC) flow?
It accepts selected data and displays it to the user.
It provides visual representations and presentations of the data.
It takes user input and manipulates it to the proper format for the model.
It takes in user input and manipulates it to fit the format for the model or view.
It takes user input and manipulates it to the proper format for the model.