1
GATE CSE 2010
MCQ (Single Correct Answer)
+1
-0.3
What does the following program print?
#include < stdio.h >
void f (int *p, int *q) {
     p = q;
    *p = 2;
}
int i = 0, j = 1;
int main ( ){
     f(&i, &j);
     printf ("%d %d \ n", i, j);
     return 0;
}
A
2 2
B
2 1
C
0 1
D
0 2
2
GATE CSE 2010
MCQ (Single Correct Answer)
+1
-0.3
The Cyclomatic complexity of each of the module $$A$$ & $$B$$ shown below is $$10.$$ What is the cyclomatic complexity of the sequential integration show on the right hand side? GATE CSE 2010 Software Engineering - Software Engineering Question 23 English
A
$$19$$
B
$$21$$
C
$$20$$
D
$$10$$
3
GATE CSE 2010
MCQ (Single Correct Answer)
+1
-0.3
What is the appropriate pairing of items in the two columns using listing various activities encountered in a software use cycle? GATE CSE 2010 Software Engineering - Software Engineering Question 22 English
A
$$P - 3,\,\,Q - 2,\,\,R - 4,\,\,S - 1$$
B
$$P - 2,\,\,Q - 3,\,\,R - 1,\,\,S - 4$$
C
$$P - 3,\,\,Q - 2,\,\,R - 1,\,\,S - 4$$
D
$$P - 2,\,\,Q - 3,\,\,R - 4,\,\,S - 1$$
4
GATE CSE 2010
MCQ (Single Correct Answer)
+2
-0.6
The following program is to be tested for statement coverage:
begin
if $$\left( {a = \,\, = b} \right)\,\,\left\{ {S1;\,\,exit;} \right\}$$
else if $$\left( {c = \,\, = d} \right)\,\,\left\{ {S2;} \right\}$$
else $$\left\{ {S3;\,\,exit;} \right\}$$
$$S4;$$
end

The test cases $${T_1},\,{T_2},\,{T_3}\,\,\& \,{T_4}$$ given below are expressed in terms of the properties satisfied by the values of variables $$a, b, c$$ and $$d.$$ The exact values are not given.
$${T_1}:\,a,\,b,\,c\,\& \,d$$ are all equal
$${T_2}:\,a,\,b,\,c\,\& \,d$$ are all distinct
$${T_3}:\,a = b\,\,\,\& \,\,\,\,c\,!\, = \,d$$
$${T_4}:\,a! = b\,\,\,\& \,\,\,\,c\, = \,d$$

Which of the test suites given below ensures coverage of statements $${S_1},\,{S_2},\,{S_3}\,\,\& \,{S_4}$$ ?

A
$${T_1},\,{T_2},\,{T_3}$$
B
$${T_2},\,{T_4}$$
C
$${T_3},\,{T_4}$$
D
$${T_1},\,{T_2},\,{T_4}$$
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12