For a program of k variables, boundary value analysis yields .............. test cases. (A) 4k – 1 (B) 4k (C) 4k + 1 (D) 2k – 1

1 Answer

Answer :

(C) 4k + 1

Related questions

Description : For a function of two variables, boundary value analysis yields (A) 4n + 3 test cases (B) 4n + 1 test cases (C) n + 4 (D) None of the above

Last Answer : (B) 4n + 1 test cases

Description : If two springs having individual stiffness K, are in parallel, then their equivalent stiffness will be A. 2K B. K C. K/2 D. 4K

Last Answer : A. 2K

Description : A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ... A. 5, 6, 20 B. 4, 5, 80C. 4, 5, 99 D. 1, 20, 100

Last Answer : C. 0, 1,10,11, 50, 51, 75, 76,100,101

Description : One weakness of boundary value analysis and equivalence partitioning is (A) they are not effective. (B) they do not explore combinations of input circumstances. (C) they explore combinations of input circumstances (D) none of the above

Last Answer : (B) they do not explore combinations of input circumstances.

Description : Which one of the following statements is incorrect ? (A) Pareto analysis is a statistical method used for analyzing causes, and is one of the primary tools for quality management. (B) Reliability of ... (D) In white-box testing, the test cases are decided from the specifications or the requirements.

Last Answer : (D) In white-box testing, the test cases are decided from the specifications or the requirements.

Description : Equivalence partitioning is a .................. method that divides the input domain of a program into classes of data from which test cases can be derived. (A) White-box testing (B) Black-box testing (C) Orthogonal array testing (D) Stress testing

Last Answer : (B) Black-box testing

Description : Which of the following statement(s) is/are TRUE with regard to software testing? I. Regression testing technique ensures that the software product runs correctly after the changes during maintenance. II. Equivalence partitioning is a ... (1) only I (2) only II (3) both I and II (4) neither I nor II

Last Answer : (1) only I 

Description : Sources of regression test cases are A. Boundary tests and other pre planned tests. B. Tests that reveal bugs in the program C. Customer reported bugs D. All of the above

Last Answer : D. All of the above

Description : A perfect gas has a value of R= 319.2 J/ kf.K and k= 1.26. If 120 kJ are added to 2.27 kf\g of this gas at constant pressure when the initial temp is 32.2°C? Find T2.  a. 339.4 K  b. 449.4 K  c. 559.4K  d. 669.4K formula: cp = kR/ k-1 Q= mcp(T2-T1)

Last Answer : 339.4 K

Description : State true or false for Java Program. i) All class variables are instance variables ii) All protected methods are friendly methods A) i-false, ii-false B) i-false, ii-true

Last Answer : B) i-false, ii-true

Description : Which one of the following describes the syntax of prolog program ? I. Rules and facts are terminated by full stop (.) II. Rules and facts are terminated by semicolon (;) III. Variables names must start with upper case alphabets. ... alphabets. Codes : (A) I, II (B) III, IV (C) I, III (D) II, IV

Last Answer : (C) I, III

Description : If 2k + 1, 6, 3& + 1 are in AP, then find the value of k. -Maths 10th

Last Answer : For an AP a, b, c; 2b = a + c ⇒ (2k + 1) + (3k + 1) = 2×6 5k+2=12 ⇒ 5k = 10 ⇒ k = 2

Description : If the point (2k – 3, k + 2) lies on the graph of the equation 2x + 3y +15 = 0, find the value of k. -Maths 9th

Last Answer : Solution :-

Description : We use the output of the requirement analysis, the requirement specification as the input for writing :- a) User Acceptance Test Cases b) Integration Level Test Cases c) Unit Level Test Cases d) Program specifications

Last Answer : a) User Acceptance Test Cases

Description : Coverage based analysis is best described as: A. A metric used to show the logic covered during a test session providing insight to the extent of testing. B. A tool for documenting the unique ... their status through to resolution. D. The most traditional means for analyzing a system or a program

Last Answer : A. A metric used to show the logic covered during a test session providing insight to the extent of testing.

Description : A computer program selects an integer in the set {k : 1 ≤ k ≤ 10,00,000} at random and prints out the result. This process is repeated 1 million times. What is the probability that the value k = 1 appears in the printout atleast once ? (A) 0.5 (B) 0.704 (C) 0.632121 (D) 0.68

Last Answer : (C) 0.632121

Description : In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed ... of these is a valid Boundary Value Analysis test case? A. £28000. B. £33501. C. £32001. D. £1500

Last Answer : B. £33501.

Description : Assume postal rates for 'light letters' are: $0.25 up to 10 grams; $0.35 up to 50 grams; $0.45 up to 75 grams; $0.55 up to 100 grams. Which test inputs (in grams) would be selected using boundary value analysis? A. 0, 9,19, ... C. 0, 1,10,11, 50, 51, 75, 76,100,101 D. 25, 26, 35, 36, 45, 46, 55, 56

Last Answer : C. 0, 1,10,11, 50, 51, 75, 76,100,101

Description : Test data planning essentially includes A. Network B. Operational Model C. Boundary value analysis D. Test Procedure Planning

Last Answer : C. Boundary value analysis

Description : A couple consists of a force P acting at a point A whose coordinates are (-1,2,4) m and force - F acting at a point whose coordinates are (2,3, -2)m. If F = 3i + 2j - 4k in kg units the moment of the couple in kg - m ... .8i - 6j - 3k b.12i - 3j + k c.16i - 12j - 6k d.4i - 3j + k e.8i + 5j + 3k

Last Answer : a. 8i - 6j - 3k

Description : Find ‘a’ if  A = 3i - 2j + 4k and B = ai + 2j - k are perpendicular to one another.

Last Answer : Find ‘a’ if A = 3i - 2j + 4k and B = ai + 2j - k are perpendicular to one another.

Description : In coulomb damping, the amplitude of motion in each cycle is reduced by A. F/K B. 2F/K C. 4F/K D. F/4K

Last Answer : C. 4F/K

Description : A helical spring of constant k is cut into four equal pieces and the four pieces are then combined in parallel. The equivalent spring constant will be (a) k/16 (b) k/4 (c) 4k (d) 16k

Last Answer : (d) 16k

Description : Using which keyword we can access value of the instance variables and class variables of that class inside the method of that class itself. A) super B) final C) this D) either super or this

Last Answer : C) this

Description : For Q 45, Tangent vector for line L2 a.i+4j-k b.2i+4j+k c.i-4j-2k d.i+4j+2k

Last Answer : d.i+4j+2k

Description : Consider the following statements : 1. a^n + b^n is divisible by a + b if n = 2k + 1, where k is a positive integer. -Maths 9th

Last Answer : Statement (1) is correct as for k = 1, n = 2 × 1 + 1 = 3. ∴ a3 + b3 = (a + b) (a2 + b2 – ab) which is divisible by (a + b), statement (2) is also correct as for k = 1, n = 2, ∴ a2 – b2 = (a – b) (a + b) which is divisible by (a – b).

Description : If the three points (k, 2k), (2k, 3k) and (3, 1) are collinear then k is equal to -Maths 9th

Last Answer : (d) 3Let (x, y) be the co-ordinates of the third vertex of the triangle. Then\(rac{0+2+x}{3}\) = 1 and \(rac{0+0+y}{3}\) = 1⇒ 2 + \(x\) = 3 and y = 3 ⇒ \(x\) = 1, y = 3. ∴ Co-ordinates of vertices of the triangle ... - y3) + x2 (y2 - y3) + x3(y1 - y2)]= \(rac{1}{2}\) [0+6+0] = \(rac{6}{2}\) = 3.

Description : Find the angle between the vectors A = i + 2j - k and  B = -i + j - 2k.

Last Answer : Find the angle between the vectors A = i + 2j - k and B = -i + j - 2k.

Description : If vectors P = 2i + 3j - k and Q = 2i - 5j + 2k. Find i. P + Q ii. 3P - 2Q

Last Answer : If vectors \(\overset\rightarrow{P}\) = 2i + 3j - k and \(\overset\rightarrow{Q}\) = 2i - ... \overset\rightarrow{P}\) - 2\(\overset\rightarrow{Q}\)

Description : Find unit vector parallel to the resultant of the vectors A = i + 4j - 2k and B = 3i - 5j + k.

Last Answer : Find unit vector parallel to the resultant of the vectors \(\overset\rightarrow{A}\) = i + 4j - 2k and \(\overset\rightarrow{B}\) = 3i - 5j + k.

Description : The critical radius of insulation for a spherical shell is (where, K = thermal conductivity of insulating material h0 = heat transfer coefficient at the outer surface) (A) K/h0 (B) 2K/h0 (C) h0 /K (D) h0 /2K

Last Answer : (B) 2K/h0

Description : The critical radius 'r' of insulation on a pipe is given by (A) r = 2k/h (B) r = k/h (C) r = k/2h (D) r = h/k

Last Answer : (B) r = k/h

Description : The critical radius of insulation for cylindrical pipe is (where, hi = heat transfer coefficient at inside of the pipe) (A) K/h0 (B) 2K/h0 (C) hi /K (D) 2hi /K

Last Answer : (A) K/h0

Description : Given B= (10/r)i+( rcos θ) j+k in spherical coordinates. Find Cartesian points at (- 3,4,0) a) -2i + j b) 2i + k c) i + 2j d) –i – 2k

Last Answer : a) -2i + j

Description : For a given material, if E, C, K and m are Young's modulus, shearing modulus, bulk modulus and Poisson ratio, the following relation does not hold good (A) E = 9KC/3K + C (B) E = 2K (1 + 2/m) (C) E = 2C (1 + 1/m) (D) E = 3C (1 - 1/m)

Last Answer : (C) E = 2C (1 + 1/m)

Description : The combined mass of car and passengers travelling at 72 km/hr is 1500 kg. Find the kinetic energy of this combined mass. (Formula: K =mv2 / 2k )  a. 300 kJ  b. 200 kJ  c. 500 kJ  d. None of the above

Last Answer : 300 kJ

Description : The relationship between Young’s modulus (E), Bulk modulus (K) and Poisson’s ratio (μ) is given by a. E=2K(1-2μ) b. E=3K(1-2μ) c. E=2K(1-2μ) d. E=2K(1-3μ)

Last Answer : b. E=3K(1-2μ)

Description : An animal drawn seed drill has k number of furrow openers 180mm apart. If the speed of operation is 2.0kmph, the area covered (ha), in 8-11day is given by: A. 1.85/1000k B. 28.8 x 10-2k C. k/6.56 D. 1.762k

Last Answer : B. 28.8 x 10-2k

Description : An animal drawn seed drill has k number of furrow openers 180mm apart. If the speed of the operation is 2.0kmph then the area covered (ha), in 8 hr day is given by: a) 1.85/1000k b) 28.8 * 10-2k c) k/6.456 d) 1.762k

Last Answer : b) 28.8 * 10-2k

Description : Which of the following techniques yields a simple random sample? a. Choosing volunteers from an introductory psychology class to participate b. Listing the individuals by ethnic group and choosing a ... from the table. d. Randomly selecting schools, and then sampling everyone within the school.

Last Answer : c. Numbering all the elements of a sampling frame and then using a random number table to pick cases from the table

Description : How many times the word 'print' shall be printed by the following program segment? for(i=1, i≤2, i++) for(j=1, j≤2, j++) for(k=1, k≤2, k++) printf("print/n") (A) 1 (B) 3 (C) 6 (D) 8

Last Answer : (D) 8

Description : A specific editor has 200 K of program text, 15 K of initial stack, 50 K of initialized data, and 70 K of bootstrap code. If five editors are started simultaneously, how much physical memory is needed if shared text is used ? (A) 1135 K (B) 335 K (C) 1065 K (D) 320 K

Last Answer : (B) 335 K

Description : We use Factorial Analysis: (A) To know the relationship between two variables (B) To test the Hypothesis (C) To know the difference between two variables (D) To know the difference among the many variables

Last Answer : (C) To know the difference between two variables

Description : Various machine level components are: a. Address register > Program counter c Data register d. Accumulator register e. Memory of 2K,16 bits/word RAM f. Multiplexers g. Allof these

Last Answer : g. Allof these

Description : ACALL instruction allows specifying ______address in the instruction and calling subroutine within ______ program memory block. a) 2byte, 3K b) 11bit, 2K c) 9bit, 2K d) 1byte, 3K

Last Answer : c) 9bit, 2K

Description : Consider the two class classification task that consists of the following points: Class C1: [1 1.5] [1 -1.5] Class C2: [-2 2.5] [-2 -2.5] The decision boundary between the two classes using single perceptron is given by: (A) x1+x2+1.5=0 (B) x1+x2-1.5=0 (C) x1+1.5=0 (D) x1-1.5=0

Last Answer : (C) x1+1.5=0 

Description : Reasoning strategies used in expert systems include ............... (A) Forward chaining, backward chaining and problem reduction (B) Forward chaining, backward chaining and boundary ... chaining, backward chaining and back propagation (D) Backward chaining, problem reduction and boundary mutation

Last Answer : (A) Forward chaining, backward chaining and problem reduction

Description : Which of the following is used for the boundary representation of an image object? (A) Quad Tree (B) Projections (C) Run length coding (D) Chain codes

Last Answer : (D) Chain codes

Description : In Java variables, if first increment of the variable takes place and then the assignment occurs. This operation is also called ............................. . A) pre increment B) post increment C) incrementation D) pre incrementation

Last Answer : A) pre increment

Description : State True or False. i) A satic function can have access to only other static members (functions or variables) declared in the same class. ii) A static member function can be called using the class name (instead of its objects) A) True, True B) True, False C) False, True D) False, False

Last Answer : B) True, False