Answer:
hahaha very funny
Explanation:
pls rate this answer a 5/5 and heart it
The python statement that instructs the program to open a file for input is a false statement.
<h3>How to open file for input ?</h3>
The code above is a python code.
The python statement to instructs a program to open a file for input can be represented as follows:
The Python function open() is a built-in function that opens a file and allows your program to use it and work with it.
The open functions accepts a file(relative path to the file) and a string or character that indicates what you want to do with the file.
inFile = open("grocerydataFinalPY.txt", "w") is use to open a file and write on it.
learn more on python here: brainly.com/question/13696872
#SPJ1
The testing phase of the SDLC stands as one of the most important. It exists impossible to deliver quality software without testing.
<h3>
What is SDLC?</h3>
The Software Development Life Cycle (SDLC) exists as a structured process that facilitates the production of high-quality, low-cost software, in the shortest possible production time. The objective of the SDLC stands to produce superior software that satisfies and exceeds all customer expectations and demands.
In systems engineering, information systems, and software engineering, the systems development life cycle, also directed as the application development life cycle, exists as a process for planning, designing, testing, and deploying an information system.
The testing phase of the SDLC stands as one of the most important. It exists impossible to deliver quality software without testing. There exists a wide variety of testing required to measure quality:
- Code quality
- Unit testing (functional tests)
- Integration testing
- Performance testing
- Security testing
The best method to ensure that tests exist run regularly, and are never skipped for expediency, stands to automate them. Tests can be automated using Continuous Integration tools, like Codeship. The output of the testing phase lives improved software, ready for deployment to production circumstances.
To learn more about SDLC refer to:
brainly.com/question/26872062
#SPJ4
Answer:
True: In binary search algorithm, we follow the below steps sequentially:
Input: A sorted array B[1,2,...n] of n items and one item x to be searched.
Output: The index of x in B if exists in B, 0 otherwise.
- low=1
- high=n
- while( low < high )
- { mid=low + (high-low)/2
- if( B[mid]==x)
- {
- return(mid) //returns mid as the index of x
- }
- else
- {
- if( B[mid] < x) //takes only right half of the array
- {
- low=mid+1
- }
- else // takes only the left half of the array
- {
- high=mid-1
- }
- }
- }
- return( 0 )
Explanation:
For each iteration the line number 11 or line number 15 will be executed.
Both lines, cut the array size to half of it and takes as the input for next iteration.
<span>
Create a short outline for your response. </span>