0% found this document useful (0 votes)
12 views116 pages

Question Text Choice1 Choice2 Choice3 A C T I o N S U B B A N Q U e S T I o

Uploaded by

shobit98200
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views116 pages

Question Text Choice1 Choice2 Choice3 A C T I o N S U B B A N Q U e S T I o

Uploaded by

shobit98200
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 116

ASQuestion Text QChoice1 Choice2 Choice3

cu u
tb e
i s
oB t
na i
AnAWhich of the given options are TRUE about 'varchar' o
MHolds a variable Its maximum size All listed options
DNdatatype? Clength string (can is specified in
DS Qcontain letters, parenthesis.
I numbers, and
S special
Q characters).
L
_
D
D
L
_
D
M
L
AAWhich of the given options are TRUE about TCL? MTCL contains the TCL consists of 2 All listed options
DN Ccommands which commands:
DS Qare required for COMMIT and
I Transaction ROLLBACK
S Management.
Q
L
_
D
D
L
_
D
M
L
AAWhich of the given options are TRUE regarding MConstraints are The NOT NULL All listed options
DN'Constraints'? Cused to limit the constraint
DS Qtype of data that enforces a column
I can go into a table to NOT accept
S NULL values.
Q
L
_
C
o
n
t
AAStatement 1: 'AND' Returns TRUE if both component M
Only statement 1 Only statement 2 Both statement 1
DNconditions are TRUE. Returns FALSE if either is FALSE; C and statement 2
DSotherwise returns UNKNOWN. Q
I
SStatement 2: 'EXISTS' returns FALSE if a sub-query
Qreturns at least one row.
L
_Which of the above statements are TRUE?
C
o
n
t
s
_
O
p
s
AAStatement 1: 'UNION' returns all distinct rows selected M
Only statement 1 Only statement 2 Both statement 1
DNby either query. C and statement 2
DS Q
IStatement 2: 'INTERSECT 'returns all distinct rows
Sselected by both queries.
Q
LWhich of the above statements is TRUE?
_
C
o
n
t
s
_
O
p
s

AAWhich operator returns all distinct rows selected by M


UNION MINUS INTERSECT
DNthe first query but not the second? C
DS Q
I
S
Q
L
_
C
o
n
t
s
_
O
Ap
AWhich of the given options is TRUE? MCOUNT function is SUM function All listed options
DN Cused to count the allows selecting
DS Qnumber of the total for a
I columns in a numeric column.
S database table.
Q
L
_
F
u
n
s
AAWhich of the given options return rows when there is M
JOIN WHERE GROUP BY
DNat least one match in both tables? C
DS Q
I
S
Q
L
_
J
o
i
n
s

AAWhich type of join does not require each record in the M


Inner join Outer Join Self join
DNtwo joined tables to have a matching record? C
DS Q
I
S
Q
L
_
J
o
i
n
s

AAStatement 1: Clustered index physically rearranges the M


Only statement 1 Only statement 2 Both statement 1
DNdata that users inserts in your tables. C and statement 2
DS Q
IStatement 2: There can be 2000 non-clustered index
Sper table.
Q
LWhich of the above statement are TRUE?
_
S
u
b
q
s
_
V
i
e
w
_
I
n
d
e
x
AAWhat is the standard way to separate each SQL M
Semicolon Colon Comma
DNstatement in database systems that allow more than C
DSone SQL statement to be executed in the same F42call Q
Ito the server.
S
Q
L
_
D
D
L
_
D
M
L

AADDL part of SQL does which of the following? Mallows database Defines indexes Specifies links
DN Ctables to be (keys) between tables,
DS Qcreated or deleted and imposes
I constraints
S between tables
Q
L
_
D
D
L
A_AANSI is the official U.S. representative to the M
1 FALSE
DNInternational Organization for Standardization (ISO). C
DSState whether the above statement is true or false Q
I
S
Q
L
_
D
D
L
_
D
M
L
AAWhich statement is used to query the database and M
INSERT RETRIEVE SELECT
DNretrieve selected data that match the criteria that you C
DSspecify? Q
I
S
Q
L
_
D
D
L
_
D
M
L

AAStatement1: Data types specify what the type of data M


Only statement 1 Only statement 2 Both statement 1
DNcan be for that particular column C and statement 2
DS Q
IStatement 2: Varchar is a datatype in SQL
S
QWhich of the above statements is TRUE?
L
_
D
D
L
_
D
M
L
AAStatement 1: The DELETE statement is used to delete M
Only statement 1 Only statement 2 Both statement 1
DNcolumns in a table. C and statement 2
DS Q
IStatement 2: The UPDATE statement is used to update
Sexisting records in a table.
Q
LWhich of the above statements are TRUE?
_
D
D
L
_
D
M
L

AAStatement 1: DCL contains the commands which M


Only statement 1 Only statement 2 Both statement 1
DNprotect data from unauthorized access. C and statement 2
DS Q
IStatement 2: DCL consists of 2 commands: COMMIT
Sand ROLLBACK
Q
LWhich of the above statements are TRUE?
_
D
D
L
_
D
M
L
AAStatement 1: GRANT, DENY and REVOKE are DCL M
Only statement 1 Only statement 2 Both statement 1
DNcommands C and statement 2
DSStatement 2: CREATE, ALTER, DROP, TRUNCATE are Q
IDDL commands
S
Q
L
_
D
D
L
_
D
M
L

AAWhich of the given options are TRUE regarding MThe UNIQUE A PRIMARY KEY All listed options
DN'Constraints'? Cconstraint constraint does
DS Quniquely identifies not automatically
I each record in a have a UNIQUE
S database table. constraint defined
Q on it.
L
_
C
o
n
t
s
_
AAYou can have many UNIQUE constraints per table, but M
1 FALSE
DNonly one PRIMARY KEY constraint per table. C
DSState whether the above statement is TRUE or FALSE. Q
I
S
Q
L
_
C
o
n
t
s
_
O
p
s
AAStatement 1:Each table can have only ONE primary key M
Only statement 1 Only statement 2 Both statement 1
DNper table C and statement 2
DS Q
IStatement 2: A primary key column can contain NULL
Svalues
Q
LWhich of the above statements are TRUE?
_
C
o
n
t
s
_
O
p
s
AAStatement 1: A FOREIGN KEY in one table points to a M
Only statement 1 Only statement 2 Both statement 1
DNPRIMARY KEY in another table. C and statement 2
DS Q
IStatement 2: If you define a CHECK constraint on a
Ssingle column it allows only certain values for this
Qcolumn.
L
_Which of the given options are TRUE?
C
o
n
t
s
_
O
p
s
AAStatement 1: Operators are used to specify conditions M
Only statement 1 Only statement 2 Both statement 1
DNin an SQL statement and to serve as conjunctions for C and statement 2
DSmultiple conditions in a statement. Q
I
SStatement 2: Arithmetic operators manipulate
Qnumeric operands.
L
_Which of the above statements are TRUE?
C
o
n
t
s
_
O
p
s
AAStatement 1: If you want to select rows that satisfy at MOnly statement 1 Only statement 2 Both statement 1
DNleast one of the given conditions, you can use the C and statement 2
DSlogical operator, AND. Q
I
SStatement 2: <> Checks if the value of two operands
Qare equal or not, if values are not equal then condition
Lbecomes true.
_
CWhich of the above statements are TRUE?
o
n
t
s
_
O
p
s
AAStatement 1: SQL aggregate functions return a single M
Only statement 1 Only statement 2 Both statement 1
DNvalue, calculated from values in a column. C and statement 2
DS Q
IStatement 2: AVG() returns the average value
S
QWhich of the above statements is TRUE?
L
_
F
u
n
s
_
C
l
a

AALIKE clause is used to compare a value to similar values M


1 FALSE
DNusing logical operators. State whether the above C
DSstatement is TRUE or FALSE. Q
I
S
Q
L
_
F
u
n
s
_
C
l
a
AAThe GROUP BY clause follows the WHERE clause in a M 1 FALSE
DNSELECT statement and precedes the ORDER BY clause. C
DS Q
IState whether the above statement is TRUE or FALSE.
S
Q
L
_
F
u
n
s
_
C
l
a

AAThe HAVING clause places conditions on the selected M


1 FALSE
DNcolumns, whereas the WHERE clause places conditions C
DSon groups created by the GROUP BY clause. Q
I
SState whether the above statement is TRUE or FALSE.
Q
L
_
F
u
n
s
_
C
l
a
AAWhich of the given options is TRUE about LIKE clause? MThe percent sign The underscore Both statement 1
DN Crepresents zero, represents a single and statement 2
DS Qone, or multiple number or
I characters, when character.
S used with LIKE
Q clause.
L
_
F
u
n
s
_
C
l
AaAGROUP BY clause is used in collaboration with the M
1 FALSE
DNSELECT statement to arrange identical data into C
DSgroups. Q
I
SState whether the above statement is TRUE or FALSE.
Q
L
_
F
u
n
s
_
C
l
a
AAStatement 1: Numeric functions accept numeric input MOnly statement 1 Only statement 2 All of the above
DNand return string values. C
DS Q
IStatement 2: Single-row functions return a single
Sresult row for every row of a queried table or view.
Q
LWhich of the above statements are TRUE?
_
F
u
n
s
_
C
l
a

AAThe percent sign and the underscore cannot be used in M


1 FALSE
DNcombinations, when using LIKE clause. C
DS Q
IState whether the above statement is TRUE or FALSE.
S
Q
L
_
F
u
n
s
_
C
l
a
AAThe ROUND() function is used to round a numeric field M
1 FALSE
DNto the nearest hundred. C
DSState whether the above statement is TRUE or FALSE. Q
I
S
Q
L
_
F
u
n
s
_
C
l
a

AASQL joins are used to query data from two or more Ma relationship a relationship All listed options
DNtables, based on ___________________. Cbetween certain between certain
DS Qcolumns in tables rows in tables.
I
S
Q
L
_
J
o
i
n
s

AAWhich of the given options return all rows from the M


JOIN LEFT JOIN RIGHT JOIN
DNleft table, even if there are no matches in the right C
DStable? Q
I
S
Q
L
_
J
o
i
n
s
AAA Self Join is a type of sql join which is used to join a M
1 FALSE
DNtable to itself, particularly when the table has a C
DSFOREIGN KEY that references its own PRIMARY KEY. Q
I
SState whether the above statement is TRUE or FALSE.
Q
L
_
J
o
i
n
s
AAStatement 1: CROSS JOIN returns the Cartesian M
Only statement 1 Only statement 2 Both statement 1
DNproduct of the sets of rows from the joined tables. C and statement 2
DS Q
IStatement 2: You can have multiple conditions for the
SON clause just like you can in a WHERE clause.
Q
L Which of the above statements is TRUE?
_
J
o
i
n
s
AAStatement 1: In case of Natural Joins, common M
Only statement 1 Only statement 2 Both statement 1
DNcolumns are columns that have the same number of C and statement 2
DSrows in both tables. Q
I
SStatement 2: JOIN ON syntax is much more readable
Qand maintainable than the natural join syntax.
L
_Which of the above statements are TRUE?
J
o
i
n
s
AAStatement 1: The FULL OUTER JOIN will return all rows, M
Only statement 1 Only statement 2 Both statement 1
DNas long as there's matching data in one of the tables. C and statement 2
DS Q
IStatement 2: FULL OUTER JOIN includes all the rows
Sfrom both the participating tables and does not select
Qeither the LEFT or RIGHT table from the JOIN key word.
L
_Which of the above statements are TRUE?
J
o
i
n
s

AAWhich type of join combines the results of both left M


Inner join Cross Join Full Outer Join
DNand right outer joins? C
DS Q
I
S
Q
L
_
J
o
i
n
s
AAYou cannot add a subquery to a SELECT clause as a M
1 FALSE
DNcolumn expression in the SELECT list. C
DS Q
IState whether the above statement is TRUE or FALSE.
S
Q
L
_
S
u
b
q
s
_
V
i
e
w
_
I
n
d
e
x

AAStatement 1: A view can be accessed with the use of MOnly statement 1 Only statement 2 Both statement 1
DNSQL SELECT statement like a table. C and statement 2
DS Q
IStatement 2: A view can be made up by selecting data
Sfrom more than one tables.
Q
LWhich of the above statements are TRUE?
_
S
u
b
q
s
_
V
i
e
w
_
I
n
d
e
x
AAView can be removed using which command? M
DELETE VIEW DROP VIEW REMOVE VIEW
DN C
DS Q
I
S
Q
L
_
S
u
b
Aq
AStatement 1: The SQL subquery is a SELECT query that M
Only statement 1 Only statement 2 Both statement 1
DNis embedded in the main SELECT statement. C and statement 2
DS Q
IStatement 2: A subquery cannot return more than one
Srows
Q
LWhich of the above statements is TRUE?
_
S
u
b
q
s
_
V
i
e
w
_
I
n
d
e
x
Choice4 Choice5 Grade1 Grade2 Grade3 Grade4 Grade5 A
u
t
h
o
r
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
None of the )
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
None of the )
listed options
0 0 1 0

None of the
listed options
1 0 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
UNION ALL 0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

0 1 0 0

None of the
listed options
ORDER BY 1 0 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

Equi Join 0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

1 0 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
All listed 1 0 0 0 R
options a
z
i
a

(
2
6
1
7
4
6
)

All listed 0 0 0 1
options

1 0 R
a
z
i
a

(
2
6
1
7
4
6
)
UPDATE 0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
1 0 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
1 0 0 0

None of the
listed options
1 0 R
a
z
i
a

(
2
6
1
7
4
6
)
1 0 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 1 R
a
z
i
a

(
2
6
1
7
4
6
)
1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

0 1 R
a
z
i
a

(
2
6
1
7
4
6
)
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
None of the )
listed options
1 0 R
a
z
i
a

(
2
6
1
7
4
6
)
0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 1 R
a
z
i
a

(
2
6
1
7
4
6
)
0 1 R
a
z
i
a

(
2
6
1
7
4
6
)

1 0 0 0

None of the
listed options
CROSS JOIN 0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)
1 0 R
a
z
i
a

(
2
6
1
7
4
6
)
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 1 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
All of the above 0 0 1 0
0 1 R
a
z
i
a

(
2
6
1
7
4
6
)

0 0 1 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
All listed 0 1 0 0
options

1 0 0 0 R
a
z
i
a

(
2
6
1
7
4
6
)

None of the
listed options
Question Text Choice1 Choice2 Choice3 Choice4

MAbstraction, Hierarchy, Abstraction,


What are the major elements in CEncapsulation and concurrency and encapsulation and
an object model? Qpersistence typing hierarchy Typing

Which of the following is not a M


type of object oriented C Abstraction of Abstraction of
abstraction? Q
Abstraction of data function structure Abstraction of name

A pure virtual function or pure


virtual method is a virtual
function that is required to be M
implemented by a derived class C
that is abstract. Q 0 TRUE

Wrapping up of data & functions M


together in a class is known as C
_____. Q
Overloading Data Abstraction Polymorphism Encapsulation
Including only necessary details
and ignoring additional details M
while defining a class is known as C
____. Q
Overloading Data Abstraction Polymorphism Encapsulation

Preventing direct access of data- M


members of the class from C
outside world is known as ____. Q Polymorphism Inheritance Data Hiding scope resolution.

M
State the object oriented C
languages Q
C++ Java Eiffel All of the above

M
C a reference is an used to rename an
What is a reference? Q
an operator alias for an object object None of these

A library function exit() causes an M the block in which it the program in which
exit from Cthe loop in which it occurs the function in it occurs
Q
occurs which it occurs

M
C
In Object-oriented programming,
Q
classes & objects functions structures modules
M
C
A class is ____ datatype. Q
primitive derived user-defined All of these

data-members, data-members,
member functions member functions,
M and main() and include
A class is a collection of ____ and Cdata-members & main() statements
_____. Qmember functions None of these

M collection of data-
Ca variable of class just like a global members alone
An object is …… Qdatatype same as a class. variable

M
C
In OOPS unit of data is called as Q
Bits Blocks Structures Targets

There is no difference between M


an object and an instance.State C
true or false Q 0 TRUE
A pure virtual function or pure
virtual method is a virtual
function that is required to be M
implemented by a derived class C
that is abstract. Q 0 TRUE

Creating a new class using one or M


more existing classes is known as C
____. Q
Polymorphism Encapsulation overloading inheritance

Ability of an operator or function M


call to take different forms is C
known as ____. Q
Polymorphism Encapsulation overloading inheritance
If a class C is derived from class B,
which is derived from class A, all
through public inheritance, then M protected and
a class C member function can Cpublic data only in C protected and public private data in A protected data in A
access Qand B. data only in C and B. and B

RunTime Polymorphism is M function overloading


achieved by ______ C virtual function operator
Q
friend function overloading

Protected members Public members of Protected derivation


Private members of of the base class the base class does not affect private
Which of the statements is true the base class become public become protected and protected
in a protected derivation of a Mbecome protected members of the members of the members of the
derived class from a base class? Cmembers of the derived class derived class derived class.
Qderived class

Mechanism of deriving a class M


from another derived class is C Multilevel Message Passing
known as____ Q
Polymorphism Single Inheritance Inheritance
Overloaded operator The overloaded
must have at least operators follow the
Which of the following MOnly existing one operand of its syntax rules of the
statements is NOT valid about Coperators can be class type. original operator. none of the above.
operator overloading? Qoverloaded.

Which of the following is the


valid class declaration header for
the derived class d with base M class d : class b1,
classes b1 and b2? Cclass d : public b1, class b2 class d : public b1, class d : b1, b2
Qpublic b2 b2

A class defined within another M


class is: C
QNested class Inheritance Containership Encapsulation

To facilitate the
Mconversion of data To help modular To extend the To hide the details of
The major goal of inheritance in Ctypes. programming. capabilities of a base class.
c++ is: Q class

The following can be declared as M a private data


friend in a class C a class a public data member
Qan object member
Which of the following operator
can be overloaded through friend M
function? C-&gt;
Q () equal to *

A class cannot inherit members M


from more than one class. (State C
whether true or false) Q 1 FALSE

By default, all members of a class M


have ___________ access for all C
its members Q
Public Protected No access private

Functions can be declared with


default values in parameters. We
use default keyword to specify
the value of such parameters M
State whether the statement is C
true or false Q 1 FALSE
M
C
Overloaded functions are Q
Very long functionsOne function containTwo or more functioNone of the listed options

M
C
Identify the correct statement regaQGlobal variables are
Local
declared
variables
in a are
separate
dGlobalfile
variables
and accessible
ar Localfrom
variables
any program.
are declared in t

M
C
You can use C++ as a procedural, aQ 1 FALSE

M
C
Q
When the compiler cannot differoverloaded destructed ambiguous dubious

M
C
To be called object-oriented, a Q
Overloading polymorphism inheritance All of the above

M
C
Q
Header files in C++ often have t.H .HE .HEA .HEAD

M
C
When a child class function is c Q
class of the object immediate ancestor base class descendant class
Paying attention to the important M
properties while ignoring C
inessential details is known as Q
selectiveness polymorphism abstraction summarizing

M
C
Q
A base class may also be calledchild class subclass derived class parent class

M
C
Which of the following statementQ
Base class pointer cDerived class pointePointer to derived cPointer to base class cannot be

M
C
Which of the following is not th Q
Static function Friend function Const function Virtual function

M
C
How many instances of an abstrQ 1 5 13 0

M
C
Which of the following concept Q
Encapsulation Abstraction Data hiding Data binding

M
C
Which of the following is not a Q
Operator overloadi Namespaces Inheritance Reflection
M
C
Overloading the function operator Q
requires a class wi requires a class withallows you to createusually make use of a constructo

How many access specifiers are


present in C++ programming M
class? C
Q 1 2 3 4

Which of the following is a valid M


class declaration? Cclass A { int x; }; class B { } class B { } object A { int x; };
Q

To overload an operator
_____________keyword must be M
used along with the operator to C
be overloaded. Q
Over Overload void Operator

Scalability Inheritence Polymorphism


When an object has many forms,
it has _____. M
C
Q Encapsulation
it should accept
generic
M it should have commands and
By polymorphism of a C polymorphic data interpret
subsystem we mean Q
it should be reusable types appropriately None of the listed options

ii, iii, iv
i, ii, iii

All objects have


(i) attributes
(ii) states M
(iii)a set of operations C
(iv) a unique identity Q i, iii, iv i, ii, iii, iv

M
Which of the following operator CScope resolution Assignment
can not be overloaded ? Qoperator Equality operator Operator None of the listed options

Which of the following statement M


is correct? C
Q
C++ allows static typ C++ allows dynamicC++ allows static mNone of the listed opt

Which of the following ways are


legal to access a class data M
member using this pointer? C
Q
this-&gt;x this.x *this.x *this-x
Which special character is used to M :
mark the end of class? C
Q
; # $
M
C
Procedure oriented Programs are cStructured
Q programmObject oriented prog Functional programmNone of the listed options
M
C
A __________ is an abstract idea t Q
class object loop data type
M
C
Automatic Initialization of object Q
friend casting reference parameter constructor.
M
C
In C++ a class can allow non-membprivate
Q protected Friend public
M
C
In c++ ___________ Operator is u Q
Scope resolution Conditional New Membership access

The advantages of OOP are ,


1. increased programming
productivity
2. decreased maintenance costs. M
3. less time to execute C
4. easy to understand Q
1& 3 1& 2 3& 4 2& 3
State True or False
1. Public data members can be
accessed directly in the main
function without an object. M
2. Constructors can be C
overloaded. Q
1-F, 2-F 1-F, 2-T 1-T, 2-T 1-T, 2-F
rp
ie
pr
tt
ii
Grad Grade Gra Grad Grade oe
Choice5 e1 2 de3 e4 5 ns

0 0 1 0

0 0 0 1

1 0

0 0 0 1
0 1 0 0

0 0 1 0

0 0 0 1

0 1 0 0

0 0 0 1

1 0 0 0
0 0 1 0

1 0 0 0

1 0 0 0

0 0 1 0

1 0
1 0

0 0 0 1

1 0 0 0
0 0 0 1

0 1 0 0

0 0 1 0

0 0 1 0
0 0 0 1

1 0 0 0

1 0 0 0

0 0 1 0

0 1 0 0
0 0 0 1

0 1

0 0 0 1

0 1
he listed options 0 0 1 0

ables are declared in t 0 1 0 0

1 0

0 0 1 0

0 0 0 1

1 0 0 0

1 0 0 0
0 0 1 0

0 0 0 1

base class cannot be 0 1 0 0

0 1 0 0

0 0 0 1

0 0 1 0

0 0 0 1
ake use of a constructo 1 0 0 0

0 0 1 0

1 0 0 0

0 0 0 1

0 0 1 0
he listed options 0 0 1 0

0 0 0 1

he listed options 1 0 0 0

C++ allows 1 1 0 0 0

1 0 0 0
1 0 0 0

he listed options 1 0 0 0

1 0 0 0

0 0 0 1

0 0 1 0

0 0 1 0

0 1 0 0
0 1 0 0
Question Text Choice1 Choice2 Choice3 Choice4

In requirements validation the


requirements model is
reviewed to ensure its M
technical feasibility. State C
True/False Q 1 FALSE

M
Software engineering aims at C Cost Effective Reliable and cost
developing Q
Reliable Software Software effective Software None Of Above

MBetter
Software Engineering approach Cperformance of Quality software
is used to achieve Qh/w Error free s/w Reusable software product

send them to the use a checklist of have the


The best way to conduct a Mdesign team and questions to customer look
requirements validation review Csee if they have examine each over the examine the system
is to Qany concerns requirement requirements model for errors

M
Project risk factor is considered C
in Q
Water fall Spiral Prototype All of the above
Management of software M
development is dependent C
upon Q
People Product Process All of the above

M
CKnow the cost of Know the status Know the user
Milestones are used to Qthe project of the project expectations None of the above

The review is one of the M


methods of V&V. The other C
methods are Q
Inspection Walkthrough Testing All of the above

M Neither Something to fear


Which of the following is not CInherent in every intrinsically good but not something
Risk characteristic Qproject not bad to manage Probability of loss

M
CWorking model of Mini model of Mini model of
The Prototype is a Qexisting system existing system processed system None of the above

Plan how and by


whom each Plan resources for
Which is not the responsibility Macceptance providing information
of customer/ user of the Cactivity will be Prepare the Prepare resource on which to base
software Qperformed acceptance plan plan acceptance decisions
Software Engineering is the
systematic approach to the
development, operation,
maintenance and retirement M
of software. This definition is C
given by_________ Q
IEEE Bauer Boehm Charles Babbage

Software engineering umbrella


activities are only applied
during the initial phases of M
software development C
projects. State True or False Q 1 FALSE

Which of the items listed M


below is not one of the C
software engineering layers Q
Process Manufacturing Methods Tools
A stakeholder is anyone who
will purchase the completed M
software system under C
development. State True/False Q 1 FALSE

The potential loss


MThe probability or impact
Major component of Risk Cthat the negative The potential associated with
Analysis are Qevent will occur loss is very high the event A and C.

Change cannot be easily


accommodated in most
software systems, unless the
system was designed with M
change in mind. State C
True/False Q 1 FALSE

M
Which phase is not available in C Installation &
s/w life cycle Q
Coding Design Specifications Maintenance
The work products produced M size of the
during requirement elicitation Cproduct being size of the software process
will vary Qbuilt budget being used stakeholders needs

M
The term module in the design C
phase refers to Q
Functions Procedures Sub programs All of the above

Mainly used at The primary


MThe modern systems output of the
Which of the following is the Cversion of specification system design
correct definition for DFD Qflowchart stages phase All the above

M Parallel hardware
In system design, we do CHardware design Software design and software No hardware design
following Qafter software after hardware design needed

M
In object oriented design of Cattributes and operations and attributes, name
software , objects have Qnames only names only and operations None of above

M
Informational cohesion is a C structured
realization of Q
data abstraction programming Modularity Concurrency
Software is a product and can
be manufactured using the
same technologies used for M
other engineering artifacts. C
State True or False Q 1 FALSE

Object-oriented analysis
techniques can be used to
identify and refine user task
objects and actions without M
any need to refer to the user C
voice. State True/False Q 1 FALSE

Which of these criteria are


useful in assessing the M
effectiveness of a particular C
design notation Q
size maintainability simplicity modularity
Which of these is a graphical M
notation for depicting C
procedural detail Q
decision table process diagram flowchart ER diagram

Which of the following Classes are


comments about object MObjects inherit defined based on an object can
oriented design of software, is Cthe properties of the attributes of belong to two classes are always
not true Qclass objects classes different

depicts
Mrelationships indicates system depicts functions indicates how data are
Cbetween data reactions to that transform the transformed by the
The entity relationship diagram Qobjects external events data flow system

The data flow diagram must be


augmented by descriptive text
in order to
describe the functional M
requirements for a software C
product. State True/False Q 1 FALSE

M
Which is not a software life C Capability Maturity
cycle model Q
Water fall Spiral Prototype Model
If requirements are M
understandable, easy, defined, C
which model is best suited Q
Water fall Spiral Prototype None

If requirements are frequently M


changing, which model is best C
suited Q
Water fall Spiral Prototype RAD

Relationship that
M The attributes connect data
A data model consists of the C that describe object to one
following information Q
Data Object data object another All of the above

The best
approach to use
A good approach A reasonable for projects with
Mwhen a working approach when large A revolutionary model
The incremental model of Ccore product is requirements development that is not used for
software development is Qrequired quickly are well defined teams. commercial products

The best
approach to use A risky model A useful approach
for projects with that rarely when a customer
Mlarge produces a cannot define A reasonable approach
The prototyping model of Cdevelopment meaningful requirements when requirements are
software development is Qteams product clearly well defined
Which of following is not a
UML diagram used creating a M
system analysis C
model QDataflow diagram Class diagram Activity diagram State diagram

M needed to model used in place of


Cevent driven required for all data flow useful for modeling
Control flow diagrams are Qsystems. systems. diagrams. real-time systems.

The object relationship pair of M


data model is represented C Entity relationship
graphically by using Q
Data flow diagram Flow chart diagram All of the above

Using software process M


improvement model will help a CTo decrease To meet To decrease the
company Qdevelopment time schedule defect rate To increase profitability

M
Data structure suitable for the C architectural
application is discussed in ? Q
data design design procedural design interface design

eliminate the do not waste


Mneed for make extensive development time emphasize
Process models are described Ccumbersome use of prototype on planning maneuverability and
as agile because they Qdocumentation creation activities adaptability
Software processes can be
constructed out of pre-existing
software patterns to best meet M
the needs of a software C
project. State True or False Q 1 FALSE

The following s/w process


model can be represented
schematically as a series of M Concurrent
major technical activities and CIncremental Component development
there associated sate Qmodel assembly model All of the above

Which one is the most M


important feature of spiral CQuality Risk Performance
model Qmanagement Management Management Efficiency management

M
To produce a good quality C
product, process should be Q
Complex Efficient Rigorous None
QA is a higher QC is a higher
M activity in the activity in the QA is done by the client
If Quality Control and Quality CBoth are literally management management and QC is done by the
Assurance are compared Qthe same Hierarchy Hierarchy software vendor

M
Who is essentially responsible C Development
for the quality of a product Q
Customer QA Manager Manager

What is used to measure the M


characteristics of the C Software Quality
documentation and code Q
Process metrics Product metrics metrics None of the above

M
What are the qualities of a C
good s/w Q
Reusability Portability Inter Operability All The Above

are thoroughly
A key concept of quality Mare delivered on have measurable tested before
control is that all work Ctime and under specifications for delivery to the have complete
products Qbudget process outputs customer documentation

affect the
Software safety is a quality Mreliability of a prevent profitable
assurance activity that focuses Csoftware may result from marketing of the may cause an entire
on hazards that Qcomponent user input errors final product system to fail
A single software A test or analysis
product that may A quantitative conducted after
Mor may not fully measure of the an application is
Csupport a current level of moved into
What exactly Baseline means Qbusiness function performance production None of the above

the identification in object-oriented


of the programming, the
configuration of a management of objects
overall management of system at discreet that control the
What is configuration Mmanagement of the configurable points in time to configuration of some
management in software Cthe design of the components in a control changes to other function(s) in the
engineering Qsystem system the configuration system

Which of the following tasks is M


not part of software C statistical quality
configuration management? Q change control version control reporting control

M
Which of these are valid C
software configuration items? Q
documentation software tools test data executable programs
make sure that
evaluate the change allow revision of
performance of information is project schedules
The primary purpose of Msoftware communicated and cost
configuration status reporting Cdevelopers and to all affected estimates by
is to Qorganizations parties project managers none of the above

A new __________ is defined


when major changes have M
been made to one or more C
configuration objects. Q
variant entity item version

In software quality assurance


work there is no difference
between software verification M
and software validation. State C
True/False Q 1 FALSE
People who perform software
quality assurance must look at M
the software from the C
customer's perspective. Q 1 FALSE

M
C
Variation control in the context Q
process applied product quality aresources expen all of the above

The goal of quality assurance is


to provide management with
the data needed to determine M
which software engineers are C
producing the most defects. Q 1 FALSE
The purpose of software
reviews is to uncover errors in
work products so they can be
removed before moving on to M
the next phase of C
development. Q 1 FALSE

The ability to track


relationships and changes to
configuration objects is one of M
the most important features of C
the SCM repository. Q 1 FALSE
A basic configuration object is
a __________ created by a
software engineer during some M
phase of the software Cprogram data unit of a software
development process. Qstructure information component all of the above

When software configuration


management is a formal
activity, the software M
configuration audit is Cquality assurance development
conducted by the Qgroup team senior managers testing specialists
Choice5 Grade1 Grade2 Grade3 Grade4 Grade5

T
E
X
0 1 T

T
E
X
0 0 1 0 T

0 0 0 1

T
E
X
0 1 0 0 T

0 1 0 0
0 0 0 1

0 1 0 0

T
E
X
0 0 0 1 T

T
E
X
0 0 1 0 T

T
E
X
1 0 0 0 T

T
E
X
0 0 1 0 T
T
E
X
1 0 0 0 T

T
E
X
0 1 T

T
E
X
0 1 0 0 T
T
E
X
0 1 T

T
E
X
0 0 0 1 T

T
E
X
1 0 T

T
E
X
0 0 0 1 T
T
E
X
1 0 0 0 T

0 0 0 1

T
E
X
0 0 1 0 T

T
E
X
0 0 1 0 T

T
E
X
0 0 1 0 T

T
E
X
1 0 0 0 T
T
E
X
0 1 T

T
E
X
0 1 T

b,c and d 0 0 0 0 1
T
E
X
0 0 1 0 T

T
E
X
0 0 1 0 T

T
E
X
1 0 0 0 T

T
E
X
1 0 T

0 0 0 1
T
E
X
1 0 0 0 T

T
E
X
0 0 1 0 T

T
E
X
0 0 0 1 T

T
E
X
1 0 0 0 T

T
E
X
0 0 1 0 T
T
E
X
0 0 1 0 T

both a and d 0 0 0 1 0

T
E
X
0 0 1 0 T

all of them 0 0 0 0 1

T
E
X
1 0 0 0 T

T
E
X
0 0 0 1 T
T
E
X
1 0 T

T
E
X
0 0 1 0 T

T
E
X
0 1 0 0 T

0 1 0 0
T
E
X
0 0 1 0 T

T
E
X
0 0 1 T

T
E
X
0 1 0 0 T

T
E
X
0 0 0 1 T

T
E
X
0 1 0 0 T

T
E
X
0 0 0 1 T
T
E
X
0 1 0 0 T

T
E
X
0 0 1 0 T

T
E
X
0 0 0 1 T

all of the abo 0 0 0 0 1


T
E
X
0 1 0 0 T

T
E
X
0 0 0 1 T

T
E
X
0 1 T
T
E
X
1 0 T

T
E
X
0 0 0 1 T

T
E
X
0 1 T
T
E
X
1 0 T

T
E
X
1 0 T
T
E
X
0 0 1 0 T

T
E
X
1 0 0 0 T
o
n

T
y
p
Question Text eChoice1 Choice2 Choice3 Choice4

Match the following.


A) Self review B) Formal
review C) Informal review
1. Conducted by one or more
peers in the team
2. Conducted by one or more
reviewers or SME M
3. Conducted by the author C
himself QA - 1, B - 2, C - 3 A - 2, B - 3, C - 1 A - 3, B - 2, C - 1 A - 3, B - 1, C - 2

M
Review of Test case Artifact is C
done with the help of? QChecklist Self review Peer review Author

Developers tend to
neglect test
What are the possible causes M approach to the
for ending up into 0.1 % CMisunderstood Less knowledge on developed
defective application? Arequirements Defective code development language product.
In causal analysis which M
attributes among below assist C Requirement
in analyzing the effect? AReason Cause Test Approach gathering

Requirement
M satisfaction and
Software testing ensures which CUsage of design Use of proper test usage of best
of the below? Qarchitecture approach Proper causal analysis design architecture

State whether true or false. M


Selenium tools helps to develop C
Automated test scripts Q1 FALSE

M
Test environment check up is C
part of _________ . QTest Scenario Test Execution Test Design Test Development

State whether true or false. QC M


is used for logging the outcome C
of the test execution. Q1 FALSE
Requirement Requirement
Analysis - Test Analysis - Test
Planning Requirement Analysis Planning
- Test Design
Design and Code - Requirement Analysis - Design and Code -
Test Design Design and Code - Test Planning Unit Testing
Test Planning
Testing - Design and Code - Test Testing -
Which of the following map the MComponent Testing - Component Design Component
corresponding phases from CIntegration testing Integration testing Integration testing
SDLC with STLC. Qand System testing and System testing Testing - Unit Testing and System testing

M Helps to identify
Which of the statements is CHelps in identifying Helps prevent the Helps to provide a completeness of
applicable to software testing? Adefects defects reliable system the software

State whether True or False.


Iterative model is an example M
of a methodology used for C
software development. Q1 FALSE
State whether True or False.
Each SDLC model follows the
same life cycle in order to M
ensure success in the process C
of software development Q1 FALSE

Includes verification
Mon right arm and Integration test plan System test plan is
Which statements are Cvalidation on left is prepared based on prepared based on user Acceptance testing
applicable to V model? Aarm of the V shape detailed design phase requirements is the last phase

State whether True or False.


Test Design is done after M
requirement analysis and C
before test execution Q1 FALSE

State whether True or False. M


Test Design involves the activity C
of prioritizing the test cases Q1 FALSE
State whether True or False. M
Test Design process involves C
only Test development process Q1 FALSE

State whether True or False.


Unit testing is done -
To test the smallest piece of M
code C
Is done on source code Q1 FALSE

State whether True or False.


Regression test cases are M
identified in Test development C
process Q1 FALSE

Functions to bridge
MDone after the requirement
Which statements are CRequirement Allows ease of review Helps in identifying analysis and test
applicable to Test Scenarios? Aelicitation by developers defects development
These are required These are required
to be set for These are required to These are required to be to be set for
Mperforming the be verified by tester verified by developer planning the
Which statement is correct with Cactivity to achieve after the activity is after the activity is activity to achieve
regards to Pre Condition? Qthe goal performed performed the goal

These are required These are required


to be set for These are required to These are required to be to be set for
Mperforming the be verified by tester verified by developer planning the
Which statement is correct with Cactivity to achieve after the activity is after the activity is activity to achieve
regards to Post Condition? Qthe goal performed performed the goal

Identify input
Which of the following is not a M variables, different Combine on split
step involved to arrive at a test CIdentify test options for the input Combine scenarios with test cases for
case? Qconditions variables test conditions different flows

The process of creating M


complete set of test cases is C
called? QTest Scenario Test Case Test Development Test Execution

State whether True or False.


While writing Test scenarios we M
can replace requirement ID C
with use case name. Q1 FALSE
r
M
e
d
i
Choice5 Grade1 Grade2 Grade3 Grade4 Grade5 a

Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
A - 2, B - 1, C - 3 0 0 1 0 0 T)

T
E
X
Reviewer 1 0 0 0 0 T

T
E
Lack of domain X
knowledge 1 1 0 1 1 T
T
E
X
Failures 1 1 0 0 0 T

T
E
None of the X
above 0 0 0 1 0 T

T
E
X
1 0 T

T
E
None of the X
above 0 1 0 0 0 T

T
E
X
1 0 T
Y
a
m
i
n
i
(
1
5
9
T8
E4
None of the X1
above 1 0 0 0 0 T)

T
E
None of the X
above 1 1 1 1 0 T

Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
1 0 T)
Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
1 0 T)

System testing is T
done after E
integration X
testing 0 0 0 1 1 T

Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
1 0 T)

T
E
X
0 1 T
T
E
X
0 1 T

Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
1 0 T)
Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
1 0 T)

Used to create a T
clear and simple E
flow of a complex X
system 0 0 1 1 1 T
T
E
None of the X
above 1 0 0 0 0 T

T
E
None of the X
above 0 1 0 0 0 T

T
E
None of the X
above 0 0 0 1 0 T

T
E
None of the X
above 0 0 1 0 0 T

Y
a
m
i
n
i

(
1
5
9
T8
E4
X1
0 1 T)

You might also like