Problem -1: LO-2
Develop JUnit tests for the Stack class, the class is uploaded on Moodle in the file Stack.java.
Note: Make sure your tests check every method, but we will not evaluate the quality of your
test designs and do not expect you to satisfy any test criteria.
1- Test all the methods in Stack class
2- Explain your test code and submitted on TurnitIn
3- Screenshots showing the results of each test.
4- JUnit test file (JAVA files)
Graph coverage criteria define test requirements TR in terms of properties of test paths in a
graph G. (For all the below points explain your answer with a simple graph)
a) Node coverage.
b) Edge coverage.
c) Edge pair coverage.
d) Complete path.
e) Simple path.
f) Prime path.
Consider any real-world example to model software using the following scenarios.
a) Data flow graph coverage.
b) Structural graph coverage.
ase study will address the concept of inflation – the rise in average level of prices sustained over time that corresponds to a fall in the internal (domestic) purchasing power of money – with regards to Venezuela. The goal here is to explore several trains of enquiry in order to critically evaluate the impact inflation has had – and may potentially have – on the national income and economic growth of Venezuela. As it stands, Venezuela’s inflation rate – 282972.8% – significantly exceeds that which holds 2nd position – Zimbabwe -175.66% (WorldEconomicForum 2019). In order to better decipher the notable disparity in inflation rates between Venezuela and the rest of the world, several areas will be analysed. This macroeconomic issue will be addressed with regards to challenges surrounding it alongside any potential benefits, it’s impact on the labour market, it’s fiscal impact in terms of taxes and government spending and potential policies that could be implemented in hope of combating it. Venezuela holds the highest recorded oil reserves in the world – possessing approximately 300 billion barrels – even surpassing Saudi Arabia. Evidently, oil is one of Venezuela’s most valuable commodities accounting for 95% of Venezuela’s exports and 25% of its gross domestic product (Independent 2018). However, during a period of time in which the global price of oil dropped, foreign demand to buy Venezuelan oil dipped simultaneously. A key factor that lead to Venezuela’s current crisis, is evidently their sole dependence on a single commodity – oil. As University of Florida’s Gamarra explains, this means “you are bound to the ups and downs of the oil price,”. Without a range of high value added assets, an economy lacks diversity and is vulnerable to ‘moments of downturns in your principal commodities (CNBC 2019).’ On an individual basis, hyperinflation renders any savings worthless due to its eroding impact on money. Consequently, people may hoard goods for instance, food due to the soaring prices. Situations such as these may lead to shortages of food supply, contributing to the issue further.>GET ANSWER