ANSI SQLl-MCQS-1-1
ANSI SQLl-MCQS-1-1
A PRIMARY
KEY constraint The UNIQUE
does not constraint
automatically uniquely
have a identifies each
Please read the question carefully and choose UNIQUE record in a
the most appropriate option. Which of the given constraint database None of the
options are TRUE regarding 'Constraints'? MCQ defined on it. table. listed options
Constraints
Please read the question carefully and choose gives Constraints
the most appropriate option. The main reason None of the programmers ensure data
that constraints are added to a table is: MCQ listed options job security integrity
The NOT
NULL
constraint
enforces a
Please read the question carefully and choose column to
the most appropriate option. Which of the given None of the NOT accept All listed
options are TRUE regarding 'Constraints'? MCQ listed options NULL values. options
Holds a
variable length
string (can
contain letters,
Please read the question carefully and choose numbers, and
the most appropriate option. Which of the given All listed special None of the
options are TRUE about 'varchar' datatype? MCQ options characters). listed options
SELECT SELECT
CustomerNam CustomerNam
e, e,
COUNT(Custo COUNT(Custo SELECT
merName) merName) CustomerNam
FROM Orders FROM Orders e,
Please read the question carefully and choose ORDER BY GROUP BY COUNT(Custo
the most appropriate option. Which of the CustomerNam CustomerNam merName)
following SQL statements is correct? MCQ e e FROM Orders
The SQL
ALTER
TABLE clause
modifies a
The SQL table definition
The SQL ALTER by altering,
ALTER TABLE clause adding, or
TABLE is used to deleting table
Please read the question carefully and choose deletes data insert data into columns
the most appropriate option. What does the from database database and/or
ALTER TABLE clause do? MCQ table. table. constraints.
TCL consists
of 2
Please read the question carefully and choose commands:
the most appropriate option. Which of the given All listed COMMIT and None of the
options are TRUE about TCL? MCQ options ROLLBACK listed options
Please read the question carefully and choose
the most appropriate option. The result of a
SELECT statement can contain duplicate rows. MCQ true false
The AS SQL
clause is used
to change the
name of a
column in the
The AS clause result set or to The AS clause
Please read the question carefully and choose is used with assign a name defines a
the most appropriate option. What is the the JOIN to a derived search
purpose of the SQL AS clause? MCQ clause only. column. condition
limits the
Please read the question carefully and choose limits the rows column data
the most appropriate option. & columns that are
The SQL WHERE clause: MCQ NONE returned returned.
Please read the question carefully and choose
the most appropriate option.
In a LIKE clause, you could ask for any value
ending in "qpt" by writing MCQ LIKE %qpt LIKE *qpt LIKE ^.*qpt$
Specifies links
between
tables, and
imposes
Please read the question carefully and choose constraints
the most appropriate option. DDL part of SQL Defines between All listed
does which of the following? MCQ indexes (keys) tables options
Please read the question carefully and choose LIKE ...... LIKE .{6}
the most appropriate option. In a LIKE clause, (that's six Answer 5:
you can ask for any 6 letter value by writing? MCQ dots) LIKE ?????? LIKE ^.{6}$
Please read the question carefully and choose
the most appropriate option. Which of the
following commands should be used to create a DATABSE CREATE ?I DATABASE
database named “student”? MCQ student student /student
Please read the question carefully and choose
the most appropriate option. Which of the
following can add a row to a table? MCQ Add Insert Update
Please read the question carefully and choose
the most appropriate option. Which statement is
used to query the database and retrieve
selected data that match the criteria that you
specify? MCQ UPDATE RETRIEVE SELECT
returns only
the rows from
the first table,
which have
non-matching returns all
values with the rows that have
second table matching
in the field on value in the
Please read the question carefully and choose which the 2 returns all field on which
the most appropriate option. The INNER JOIN tables are rows from 2 the 2 tables
clause… MCQ joined. tables are joined.
You can join n
tables (all
having single
column
primary keys)
in a SQL
statement by You can join a
specifying a maximum of
Please read the question carefully and choose minimum of n- two columns
the most appropriate option. What is true about 1 join through an All listed
joining tables through an equijoin? MCQ conditions. equijoin. options
The percent
sign
represents
zero, one, or
multiple The
Please read the question carefully and choose characters, underscore
the most appropriate option. when used Both the represents a
Which of the given options is TRUE about LIKE with LIKE statements single number
clause? MCQ clause. given or character.
Please read the question carefully and choose
the most appropriate option. LIKE clause is
used to compare a value to similar values using
logical operators. State whether the above
statement is TRUE or FALSE. MCQ false true
An inline view
exists only A subquery
inside of the exists only
Please read the question carefully and choose FROM clause inside of the
the most appropriate option. Which of the given as a run-time All listed FROM clause
options are TRUE? MCQ result set. options as a run-time
QA is done by
the client and QC is a higher
Carefully read the question and answer Both are QC is done by activity in the
accordingly. If Quality Control and Quality literally the the software management
Assurance are compared MCQ same vendor Hierarchy
Carefully read the question and answer
accordingly. To produce a good quality product,
process should be MCQ None Rigorous Complex
Carefully read the question and answer
accordingly. Software processes can be
constructed out of pre-existing software patterns
to best meet the needs of a software project.
State True or False MCQ false true
Carefully read the question and answer
accordingly. Who is essentially responsible for Development
the quality of a product MCQ Manager Customer QA Manager
Carefully read the question and answer
accordingly. Data structure suitable for the procedural architectural interface
application is discussed in ? MCQ design design design
Carefully read the question and answer
accordingly. Using software process To decrease All of the listed To increase
improvement model will help a company MCQ the defect rate options profitability
send them to
the design use a checklist
Carefully read the question and answer team and see examine the of questions to
accordingly. The best way to conduct a if they have system model examine each
requirements validation review is to MCQ any concerns for errors requirement
Carefully read the question and answer
accordingly. Software engineering aims at Reliable None of the Cost Effective
developing MCQ Software listed options Software
The probability
that the
negative event
will occur and
The potential The potential
Carefully read the question and answer loss or impact loss or impact The potential
accordingly. Major component of Risk Analysis associated associated loss is very
are MCQ with the event with the event high
Know the
Carefully read the question and answer status of the Know the cost Know the user
accordingly. Milestones are used to MCQ project of the project expectations
Carefully read the question and answer
accordingly. The review is one of the methods
of V&V. The other methods are MCQ Walkthrough Inspection Testing
Carefully read the question and answer Better
accordingly. Software Engineering approach is performance Reusable
used to achieve MCQ of h/w software Error free s/w
Plan
resources for
Plan how and providing
by whom each information on
Carefully read the question and answer acceptance which to base
accordingly. Which is not the responsibility of Prepare activity will be acceptance
customer/ user of the software MCQ resource plan performed decisions
Carefully read the question and answer used in place useful for
accordingly. required for all of data flow modeling real-
Control flow diagrams are MCQ systems. diagrams. time systems.
Relationship
Carefully read the question and answer The attributes that connect
accordingly. A data model consists of the All of the listed that describe data object to
following information MCQ options data object one another
Carefully read the question and answer
accordingly. Which of following is not a UML
diagram used creating a system analysis Activity
model MCQ diagram Class diagram State diagram
Carefully read the question and answer
accordingly. If requirements are frequently
changing, which model is best suited MCQ RAD Prototype Water fall
Carefully read the question and answer
accordingly. The data flow diagram must be
augmented by descriptive text in order to
describe the functional requirements for a
software product. State True/False MCQ true false
The best A good
approach to approach A reasonable
use for when a approach
projects with working core when
Carefully read the question and answer large product is requirements
accordingly. The incremental model of software development required are well
development is MCQ teams. quickly defined
Carefully read the question and answer Capability
accordingly. Which is not a software life cycle Maturity
model MCQ Spiral Model Water fall
Carefully read the question and answer
accordingly. If requirements are
understandable, easy, defined, which model is
best suited MCQ Prototype None Water fall
A single
software A test or
product that analysis
A quantitative may or may conducted
measure of not fully after an
the current support a application is
Carefully read the question and answer level of business moved into
accordingly. What exactly Baseline means MCQ performance function production
Carefully read the question and answer
accordingly. Which of these are valid software executable
configuration items? MCQ test data software tools programs
Please read the question carefully and choose Test condition Test
the most appropriate option. Test data defining Development Test Execution
preparation data is done during _________ ? MCQ process process process
Please read the question carefully and choose
the most appropriate option. For a given set of
boundaries, how many boundary values are None of the
possible? MCQ 2 listed options 4
Please read the question carefully and choose
the most appropriate option.
Test Scenarios have case specific data
assigned to them (State True or False) MCQ true false
Test scenario
Test scenario Test case define the
Please read the question carefully and choose involves the includes the setup to
the most appropriate option. expected steps to perform the
Which of the following statements is/are true? MCA results. execute. tests
Develop and
prioritizing test
cases, Verifying that
creating test the test
data, writing environment
test has been set
procedures up correctly
and optionally, and Checking
Verifying that preparing test test logs
Please read the question carefully and choose the test harness and against the
the most appropriate option. Which is not a environment writing exit criteria
major task of test implementation and has been set automated test specified in
execution? MCQ up correctly scripts test planning
Please read the question carefully and choose
the most appropriate option. State whether True
or False. Release notes are prepared by
developer/ development team. MCQ true false
Develop and
prioritizing test
cases,
creating test Logging the
data, writing outcome of
test test execution
procedures and recording
and optionally, the identities
preparing test and versions Verifying that
Please read the question carefully and choose harness and of the software the test
the most appropriate option. Which is not a writing under test, test environment
major task of test implementation and automated test tools and has been set
execution? MCQ scripts testware up correctly
Please read the question carefully and choose
the most appropriate option.
What are the subsequent states that a new
defect can undergo? MCA Closed Rejected Deferred
Please read the question carefully and choose
the most appropriate option. State whether True
or False. Developer has to ensure that the pre
requisite of each test case are met. MCQ True false
Please read the question carefully and choose Execute next
the most appropriate option. test step of
What are the action items if an application does Update status same test
not behave as expected? MCA of the defect case Log defect
Developers
tend to neglect
Please read the question carefully and choose test approach Less
the most appropriate option. to the knowledge on
What are the possible causes for ending up into developed development
0.1 % defective application? MCA product. Defective code language
Requirement
Analysis - Test
Planning
Requirement Design and
Analysis - Test Code - Unit
Planning Testing
Design and Testing -
Please read the question carefully and choose Code - Test Component
the most appropriate option. Which of the Design Integration
following map the corresponding phases from Testing - Unit None of the testing and
SDLC with STLC. MCQ Testing listed options System testing
Please read the question carefully and choose
the most appropriate option. State whether true
or false. QC is used for logging the outcome of
the test execution. MCQ false true
Choice4 Choice5 Grade1 Grade2 Grade3 Grade4 Grade5
All listed
options 0 1 0 0
Constraints
add a level of
complexity 0 0 1 0
Constraints
are used to
limit the type
of data that
can go into a
table 0 0 1 0
Only
statement 1 1 0 0 0
0 1
1 0
1 0 0
0 1
Only
statement 2 1 0 0 0
Only
statement 1 0 1 0 0
None of the
listed options 1 0 0 0
None of the
listed options 0 1 0 0
Only
statement 2 1 0 0 0
UNION ALL 1 0 0 0
0 1
0 1
Only
statement 2 0 1 0 0
HAVING 0 0 0 1
data Integrity 0 0 0 1
0 0 1
DROP 0 0 0 1
UNIQUE 0 1 0 0
Its maximum
size is
specified in
parenthesis. 1 0 0 0
0 1 0
MIN 0 1 0 0
1 0
UPDATE
employees
SET
first_name =
'John',
last_name
='Smith'
WHERE
employee_id =
180; 0 0 0 1
WHERE
lower(country_
address) =
'france' 0 0 0 1
WHERE 0 0 0 1
INSERT INTO 0 0 0 1
The SQL
ALTER
TABLE clause
is used to
delete a
database table 0 0 1 0
Semicolon 0 0 0 1
TCL contains
the commands
which are
required for
Transaction
Management. 1 0 0 0
1 0
None of the
listed options 0 0 1 0
0 1 0
LIKE qpt$ 1 0 0 0
allows
database
tables to be
created or
deleted 0 0 1 0
Only
statement 2 0 0 1 0
LIKE ______
(that's six
underscore
characters) 0 0 0 1
CREATE
DATABASE
student 0 0 0 1
Alter 0 1 0 0
INSERT 0 0 1 0
Only
statement 1 1 0 0 0
0 1
Only
statement 2 1 0 0 0
The sort is in
descending
order by
default 0.5 0.5 0 0
Modify the
database 1 0 0 0
ORDER BY 0 0 1 0
All listed
options 0 1 0 0
Inner join 0 0 1 0
0 0 1
You can join a
maximum of
two tables
through an
equijoin. 1 0 0 0
None of the
listed options 0 0 1 0
candidate
keys 1 0 0 0
Both
statement 1
and statement
2 0 0 0 1
Only
statement 2 0 1 0 0
50 0 0 0 1
0 1
LEFT JOIN 0 0 0 1
0 1
NATURAL 0 0 1 0
Self join 1 0 0 0
0 0 1
All listed
options 0 1 0 0
1 0
Only
statement 1 0 1 0 0
0 1 0
1 0
1 0
1 0
1 0
All listed
options 1 0 0 0
1 0
0 1
ADD INDEX
ID; 1 0 0 0
Only
statement 1 1 0 0 0
DROP VIEW 0 0 0 1
Only
statement 1 0 1 0 0
1 0
Only
statement 1 0 0 0 1
An inline view
exists only
inside of the
WHERE
clause as a
run-time result
set. 1 0 0 0
Both
statement 1
and statement
2 0 1 0 0
0 1
Only
statement 1 0 0 0 1
Component
assembly 0 0 1 0
QA is a higher
activity in the
management
Hierarchy 0 0 1 0
Efficient 0 0 0 1
0 1
1 0 0
data design 0 0 0 1
To decrease
development
time To meet schedu 0 1 0 0 0
Entity
relationship
diagram 0 0 0 1
Quality
management 0 0 1 0
make
extensive use
of prototype
creation 0 1 0 0
0 1
1 0
0 1
have complete
documentation 1 0 0 0
Inter
Operability 0 0 1 0
affect the
reliability of a
software
component 0 0 1 0
1 0
product quality
attributes 0 1 0 0
None of the
listed options 0 0 1 0
0 1
attributes and
names only 1 0 0 0
simplicity maintainability, 0 0 0 0 1
Objects inherit
the properties
of class 0 1 0 0
No hardware
design needed 0 0 1 0
process
diagram 1 0 0 0
Functions 0 0 1 0
data
abstraction 0 0 0 1
software
process being
used 1 0 0 0
0 1
0 1
IEEE 0 0 0 1
Process 0 1 0 0
0 1
Installation &
Maintenance 0 0 0 1
None of the
listed options 0 1 0 0
Inherent in
every project 0 1 0 0
Product 0 0 1 0
have the
customer look
over the
requirements 0 0 1 0
Reliable and
cost effective
Software 0 0 0 1
The probability
that the
negative event
will occur 0 1 0 0
None of the
listed options 1 0 0 0
All of the listed
options 0 0 0 1
Quality
software
product 0 0 0 1
Prepare the
acceptance
plan 1 0 0 0
1 0
Prototype 0 1 0 0
A reasonable
approach
when
requirements
are well
defined 0 0 1 0
needed to
model event
driven
systems. useful for mode 0 0 1 0 0
Data Object 1 0 0 0
Dataflow
diagram 1 0 0 0
Spiral 0 1 0 0
1 0
A
revolutionary
model that is
not used for
commercial
products 0 1 0 0
Prototype 0 1 0 0
Spiral 0 0 1 0
indicates
system
reactions to
external
events 0 1 0 0
None of the
listed options 1 0 0 0
allow revision
of project
schedules and
cost estimates
by project
managers 1 0 0 0
testing
specialists 0 0 1 0
variant 0 1 0 0
overall
management
of the design
of the system 0 0 1 0
1 0
a software
component 0 0 0 1
1 0
reporting 0 0 1 0
0, 1959, 1960,
1961, 1994,
1995, 1996 1959, 1960, 19 0 1 0 0 0
Non functional
standards 0.333 0.333 0 0.333
1 0
0 1
None of the
listed options Test condition 0 0 1 0 0
1 0
Test Scenario
identification
process 0 1 0 0
8 6 0 0 0 0 1
0 1
0 1
Test case
execution Defect Tracking 1 0 0 0 0
Triggers 0 1 0 0
0 1
0 0
Defferred,
Open, Fixed,
Reopen,
Closed 1 0 0 0
Checking test
logs against
the exit criteria
specified in
test planning Logging the outc 0 0 0 1 0
0 1
Verifying that
the test
environment
has been set
up correctly
and Checking
test logs
against the
exit criteria
specified in
test planning Checking test lo 0 0 0 0 1
A - 3, B - 2, C
-1 A - 1, B - 2, C - 0 0 0 1 0
1 0
Helps to
identify
completeness
of the software Helps in identif 0.25 0.25 0 0.25 0.25
Test
Development Test Design 1 0 0 0 0
Lack of
domain
knowledge Misunderstood 0.25 0.25 0 0.25 0.25
Requirement
Analysis - Test
Planning
Design and
Code - Test
Design
Testing -
Component
Integration
testing and
System testing Requirement Ana 0 0 0 1 0
0 1
AnswerDescriptQuestionMedia AnswerMedia Author Reviewer Is Numeric
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT
TEXT TEXT