You are on page 1of 4

1.

When testing a new application, issues will not be raised against:


• Client requirements
• Improvements suggested by users---corect
• Functional and technical documentation
• Design specification

3. When to stop testing? (explain your answer)


Dedline
minimum bugs
code is ok

4. The expected result of a test case that needs to describe the correct behavior is:
• Only important when testing the whole system
• Only important when testing the component (feature / behavior)
• Never specified in advance
• Derived from the code
• Most useful when specified in advance----corect

5. Testing using the 'error guessing' method is best used:


• After more formal techniques have been applied-----corect
• By inexperienced testers
• After the system has gone live
• Only by end users

6. Is it important to test beyond the limits\ specified in the requirements? Why?

Posibil in fuctie de situatie si de persoana...


SQL

8. Write a SQL statement in order to determine the number of people that placed an order with
a value higher than 300. Use table 'cust_order' table.

customer_id name order_no price


1 Alfred Horn 650 150
2 Ana Trujillo 730 40
3 Antonio Taqueria 250 200
4 Ana Hardy 630 6000
5 Thomas Moreno 689 540
6 Alfred Horn 321 150

SELECT COUNT(price)
FROM cust_order
WHERE price>300;

9. Write a SQL statement in order to display the name, order number and purchase date of the
customers that have their orders processed (if is_processed is 1 then the order has been
processed, if is_processed is 0 it has not been processed). Use 'cust_order' and 'order_details'
tables.

order_no seller purchase_date is_processed


457 Andy Marches 2018-02-06 0
650 Maria Bern 2011-05-23 1
258 Sandor Morris 2006-12-02 1
250 Andy Marches 2018-01-31 0
630 Irlana Venis 2008-04-14 1
441 Maria Bern 2004-07-27 1

SELECT name, order_no, purchase_date


FROM cust_order AND order_details
WHERE is_producess='1' OR is_producess='0';

10. Write a SQL statement in order to display the name, order number and purchase date of the
customers that have their orders processed (if is_processed is 1 then the order has been
processed, if is_processed is 0 it has not been processed). Use 'cust_order' and 'order_details'
tables.

11. Write a SQL statement in order to update every order such as all of them will be processed
(value for is_processed should be 1).

UPDATE order_details
SET is_processed='1';
API

16. Which are the most common HTTP methods?


CONECT, GET ,DELETE,PUT,HEAD,POST OPTIONS,CONNECT

You might also like