Reference no: EM131309219
1) Answer the following questions for each method or method signature below. You may assume that these functions do not access or modify any memory not allocated within the function itself (i.e., global or class-level data).
I.
int foo(boolean a, boolean b, boolean c);
A). How many test cases are required to exhaustively test this function? B). Is it possible to perform an functionality-based partitioning given the information above? You do not need to provide a partitioning
II.
int biz(boolean a, boolean b, boolean c){ if(a==b){
return 1; }
if(b==c){ return 1;
}
return 0;
}
a). How many test cases are required to exhaustively test this function?
b). Is it possible to perform an interface-based partitioning given the information above? You do not need to provide a partitioning
III.
int bar(int a){
int k = 1; while(k<a){
k+=k
}
}
a) How many test cases are required to exhaustively test this function? You may assume a 32-bit `int` data type and an accurate approximation will receive full credit.
b) Give one possible functionality-based partitioning for the code above.
2). Consider the following function signature
String[] findFilesandFoldersInDirectory (
String directoryName, String filePartialName) throws FileNotFoundException;
This method takes as input a directory name and a partial string representing part of a file or folder. It finds out all the folders and files within the given directoryName whose names contain filePartialNa me by recursively searching all subdirectories of directoryName . A FileNotFoundException is thrown only if directoryName is not a valid directory.
Design a random testing scheme for the method function. Provide either a verbal explanation of your scheme (250 words or less) or pseudocode.
Develop a simple but attractive webpage using css
: CE206 - Assignment 1. OBJECTIVE: To develop a simple but attractive webpage using CSS and following HCI criteria. Read the design brief to get a good understanding of the requirements of the client (Head of School). Search the web for webpages that ..
|
Discuss starbucks need for a new strategy
: Discuss Starbucks' need for a new strategy in the late 2000s. Based on the analysis, what are the strengths and weaknesses of Starbuck's current strategy?
|
New product and strengthen the product portfolio
: Selected Organizational Goal: Offering the world a portfolio of drinks brands that anticipate and satisfy people's desires and needs Team: Research and development -New product and strengthen the product portfolio
|
Northouse text-challenging work space
: 1. What similarities and differences can you identify between North American and Japanese working styles? 2. In what way did this company reflect the characteristics of other Confucian Asia countries?
|
Design a random testing scheme for the method function
: Design a random testing scheme for the method function. Provide either a verbal explanation of your scheme (250 words or less) or pseudocode.
|
Life examples of the global implication
: What would be two real life examples of the global implication that status has for an international manager in eastern culture?
|
Constructive internal narrative of success
: What can Tim do to develop an alternative, more constructive internal narrative of success? As a coach, how would you work with Tim to confront his fear of success?
|
Processes and culture at cloudflare
: Formulate a specific action plan for any changes you recommend in management approaches and/or organizational structure/processes/culture. Be sure to describe how Prince and/or Zatlynshould communicate any changes to CloudFlare's employees.
|
Develop a plan for user acceptance testing
: Develop a plan for user acceptance testing. Include key stakeholders who should perform the test and how they will record any issues that they find.
|