0% found this document useful (0 votes)
97 views

SQL MCQ Question and Answers - Ii: Questiontext Questiontype Choice1

Constraints are added to tables to define rules for data within columns. A primary key constraint uniquely identifies each row in a table and cannot contain NULL values, while other constraints like unique and not null can be defined on columns. SQL statements use clauses, operators, and functions to manipulate data within database tables. Common clauses include SELECT, WHERE, GROUP BY, HAVING, ORDER BY, UNION, INTERSECT, EXCEPT and common functions include COUNT, SUM, AVG, MIN, MAX. Data can be inserted, updated, and deleted from tables using SQL statements like INSERT, UPDATE, DELETE.

Uploaded by

Manish Singh
Copyright
© © All Rights Reserved
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views

SQL MCQ Question and Answers - Ii: Questiontext Questiontype Choice1

Constraints are added to tables to define rules for data within columns. A primary key constraint uniquely identifies each row in a table and cannot contain NULL values, while other constraints like unique and not null can be defined on columns. SQL statements use clauses, operators, and functions to manipulate data within database tables. Common clauses include SELECT, WHERE, GROUP BY, HAVING, ORDER BY, UNION, INTERSECT, EXCEPT and common functions include COUNT, SUM, AVG, MIN, MAX. Data can be inserted, updated, and deleted from tables using SQL statements like INSERT, UPDATE, DELETE.

Uploaded by

Manish Singh
Copyright
© © All Rights Reserved
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 76

SQL MCQ Question and Ans

QuestionText QuestionType Choice1


MCQ A PRIMARY
KEY
constraint
does not
Which of the given options are TRUE regarding 'Constraints'? automatically
have a
UNIQUE
constraint
defined on it.

MCQ None of the


listed options
The main reason that constraints are added to a table is:

MCQ None of the


listed options

Which of the given options are TRUE regarding 'Constraints'?

MCQ Only
statement 2
Statement 1: If you want to select rows that satisfy at least one of
the given conditions, you can use the logical operator, AND.

Statement 2: <> Checks if the value of two operands are equal or


not, if values are not equal then condition becomes true.

Which of the above statements are TRUE?

A column defined as NOT NULL can have a DEFAULT value of MCQ true
NULL. True or False?
You can have many UNIQUE constraints per table, but only one MCQ true
PRIMARY KEY constraint per table.
State whether the above statement is TRUE or FALSE.
MCQ The primary
key is a
column or
combination
of columns
What is a primary key? whose values
uniquely
identify each
row in the
table.

A table must have at least one not null constraint and one unique MCQ true
constraint. True or False?
MCQ Both
Statement 1: Operators are used to specify conditions in an SQL statement 1
statement and to serve as conjunctions for multiple conditions in and statement
a statement. 2

Statement 2: Arithmetic operators manipulate numeric operands.

Which of the above statements are TRUE?

Statement 1: 'UNION' returns all distinct rows selected by either MCQ Only
query. statement 2

Statement 2: 'INTERSECT 'returns all distinct rows selected by


both queries.

Which of the above statements is TRUE?


To automatically delete rows in a child table when a parent record MCQ ON DELETE
is deleted use: CASCADE
MCQ Both
Statement 1:Each table can have only ONE primary key per table statement 1
and statement
Statement 2: A primary key column can contain NULL values 2
Which of the above statements are TRUE?

Statement 1: A FOREIGN KEY in one table points to a PRIMARY MCQ Both


KEY in another table. statement 1
and statement
Statement 2: If you define a CHECK constraint on a single column 2
it allows only certain values for this column.

Which of the given options are TRUE?


Which operator returns all distinct rows selected by the first MCQ MINUS
query but not the second?
A table can have more than one UNIQUE key constraint. True or MCQ false
False?
Primary Key does allow the Null Values. where as in MCQ true
Unique key doesn't accept the Null values.
State whether the statement is true or false
Statement 1: 'AND' Returns TRUE if both component conditions MCQ None of the
are TRUE. Returns FALSE if either is FALSE; otherwise returns listed options
UNKNOWN.

Statement 2: 'EXISTS' returns FALSE if a sub-query returns at


least one row.

Which of the above statements are TRUE?


Which clause should you use to exclude group results? MCQ WHERE
MCQ None
ON UPDATE CASCADE ensures which of the following?
MCQ create a new
The SQL DROP TABLE clause is used to... table in the
database
MCQ DISTINCT
Which one will delete the table data as well as table structure?
To remove duplicate rows from the result set of a SELECT use the MCQ NO
following keyword: DUPLICATE
MCQ All listed
options

Which of the given options are TRUE about 'varchar' datatype?

MCQ SELECT
CustomerNam
e,
COUNT(Cust
omerName)
Which of the following SQL statements is correct? FROM Orders
ORDER BY
CustomerNam
e

Which of the following is not a valid aggregate function? MCQ COUNT


MCQ true
Can you use combination of GROUP BY clause,HAVING clause
and WHERE clause SQL clauses in one SQL statement?

MCQ UPDATE
employees
SET
Examine the structure of the EMPLOYEES table:
first_name =
EMPLOYEE_ID NUMBER Primary Key
'John' AND
FIRST_NAME VARCHAR2(25)
last_name
LAST_NAME VARCHAR2(25)
='Smith'
HIRE_DATE DATE
WHERE
Which UPDATE statement is valid?
employee_id
= 180;
MCQ None
The CUSTOMERS table has these columns:
CUSTOMER_ID NUMBER(4) NOT NULL
CUSTOMER_NAME VARCHAR2(100) NOT NULL
STREET_ADDRESS VARCHAR2(150)
CITY_ADDRESS VARCHAR2(50)
STATE_ADDRESS VARCHAR2(50)
PROVINCE_ADDRESS VARCHAR2(50)
COUNTRY_ADDRESS VARCHAR2(50)
POSTAL_CODE VARCHAR2(12)
CUSTOMER_PHONE VARCHAR2(20)
A sale is being advertised to the customers in France. Which
WHERE clause
identifies customers that are located in France?

MCQ HAVING
What SQL clause is used to restrict the rows returned by a query?

MCQ INSERT NEW


Which SQL statement is used to insert a new data in a database?

MCQ The SQL


ALTER
TABLE
deletes data
from database
table.
What does the ALTER TABLE clause do?

What is the standard way to separate each SQL statement in MCQ Comma
database systems that allow more than one SQL statement to be
executed in the same call to the server.
MCQ All listed
options

Which of the given options are TRUE about TCL?

MCQ true
The result of a SELECT statement can contain duplicate rows.

Statement1: Data types specify what the type of data can be for MCQ Only
that particular column statement 1

Statement 2: Varchar is a datatype in SQL

Which of the above statements is TRUE?


MCQ The AS
clause is used
with the JOIN
clause only.

What is the purpose of the SQL AS clause?

MCQ NONE

The SQL WHERE clause:

MCQ LIKE %qpt


In a LIKE clause, you could ask for any value ending in "qpt" by
writing
MCQ Defines
indexes (keys)

DDL part of SQL does which of the following?

MCA You can use


aggregate
functions only
in the column
list of the
SELECT
clause and in
Which two are true about aggregate functions?(Choose two) theWHERE
clause of a
SELECT
statement.

MCQ SELECT is
invalid without
a WHERE
A SELECT command without a WHERE clause returns? clause

MCQ None of the


Statement 1: GRANT, DENY and REVOKE are DCL commands listed options
Statement 2: CREATE, ALTER, DROP, TRUNCATE are DDL
commands
MCQ LIKE ......
(that's six
In a LIKE clause, you can ask for any 6 letter value by writing? dots)

MCQ DATABSE
Which of the following commands should be used to create a
student
database named “student”?
Which of the following can add a row to a table? MCQ Add
Which statement is used to query the database and retrieve MCQ UPDATE
selected data that match the criteria that you specify?
Statement 1: The DELETE statement is used to delete columns in MCQ Only
a table. statement 2

Statement 2: The UPDATE statement is used to update existing


records in a table.

Which of the above statements are TRUE?


ANSI is the official U.S. representative to the International MCQ false
Organization for Standardization (ISO). State whether the above
statement is true or false
Statement 1: DCL contains the commands which protect data MCQ Only
from unauthorized access. statement 1

Statement 2: DCL consists of 2 commands: COMMIT and


ROLLBACK

Which of the above statements are TRUE?


MCA The sort is in
ascending
Which two statements are true regarding the ORDER BY clause? order by
(Choose two) default.

MCQ All the listed


operation can
SQL can be used to: be done by
SQL.
Which of the given options return rows when there is at least one MCQ GROUP BY
match in both tables?
Which type of join combines the results of both left and right MCQ Cross Join
outer joins?
Which syntax would be used to retrieve all rows in both the MCQ Self join
EMPLOYEES and DEPARTMENTS tables, even when there is no
match?
MCQ returns only
the rows from
the first table,
which have
non-matching
values with
The INNER JOIN clause… the second
table in the
field on which
the 2 tables
are joined.

MCQ You can join n


tables (all
having single
column
primary keys)
in a SQL
What is true about joining tables through an equijoin? statement by
specifying a
minimum of n-
1 join
conditions.

Statement 1: In case of Natural Joins, common columns are MCQ Only


columns that have the same number of rows in both tables. statement 1

Statement 2: JOIN ON syntax is much more readable and


maintainable than the natural join syntax.

Which of the above statements are TRUE?


In the relational model, relationships between relations or tables MCQ foreign keys.
are created by using:
Statement 1: CROSS JOIN returns the Cartesian product of the MCQ Only
sets of rows from the joined tables. statement 2

Statement 2: You can have multiple conditions for the ON clause


just like you can in a WHERE clause.

Which of the above statements is TRUE?

Statement 1: The FULL OUTER JOIN will return all rows, as long MCQ Only
as there's matching data in one of the tables. statement 1

Statement 2: FULL OUTER JOIN includes all the rows from both
the participating tables and does not select either the LEFT or
RIGHT table from the JOIN key word.

Which of the above statements are TRUE?


If table A have 10 rows and table B have 5 rows, how many rows MCQ 5
will be returned if you perform a cartesian join on those two
tables?
A table may be joined to itself. MCQ false
Which of the given options return all rows from the left table, MCQ RIGHT JOIN
even if there are no matches in the right table?
A Self Join is a type of sql join which is used to join a table to MCQ false
itself, particularly when the table has a FOREIGN KEY that
references its own PRIMARY KEY.

State whether the above statement is TRUE or FALSE.


The ___________ join is the ANSI-standard syntax used to MCQ ALL
generate a Cartesian product.
Which type of join does not require each record in the two joined MCQ Outer Join
tables to have a matching record?
MCQ we are using
We refer to a join as a self-join when? left and right
join together
MCQ None of the
listed options
SQL joins are used to query data from two or more tables, based
on ___________________.

GROUP BY clause is used in collaboration with the SELECT MCQ true


statement to arrange identical data into groups.

State whether the above statement is TRUE or FALSE.


Statement 1: SQL aggregate functions return a single value, MCQ None of the
calculated from values in a column. listed options

Statement 2: AVG() returns the average value

Which of the above statements is TRUE?


MCQ The percent
sign
represents
zero, one, or
multiple
Which of the given options is TRUE about LIKE clause? characters,
when used
with LIKE
clause.

LIKE clause is used to compare a value to similar values using MCQ false
logical operators. State whether the above statement is TRUE or
FALSE.
The GROUP BY clause follows the WHERE clause in a SELECT MCQ true
statement and precedes the ORDER BY clause.

State whether the above statement is TRUE or FALSE.


The ROUND() function is used to round a numeric field to the MCQ false
nearest hundred.
State whether the above statement is TRUE or FALSE.
The HAVING clause places conditions on the selected columns, MCQ false
whereas the WHERE clause places conditions on groups created
by the GROUP BY clause.

State whether the above statement is TRUE or FALSE.


MCQ SUM function
allows
selecting the
Which of the given options is TRUE? total for a
numeric
column.

Statement 1: Numeric functions accept numeric input and return MCQ Only
string values. statement 1

Statement 2: Single-row functions return a single result row for


every row of a queried table or view.

Which of the above statements are TRUE?


The percent sign and the underscore cannot be used in MCQ false
combinations, when using LIKE clause.

State whether the above statement is TRUE or FALSE.


You cannot add a subquery to a SELECT clause as a column MCQ true
expression in the SELECT list.

State whether the above statement is TRUE or FALSE.


MCQ CREATE
Which of the following is valid SQL for an Index?
INDEX ID;
MCQ Both
Statement 1: A subquery is also called an inner query or inner
statement 1
select, while the statement containing a subquery is also called an
and statement
outer query or outer select.
2
Statement 2: A subquery can be nested inside the WHERE or
HAVING clause of an outer SELECT, INSERT, UPDATE, or DELETE
statement, or inside another subquery.

Which of the above statements are TRUE?

MCQ DELETE
View can be removed using which command?
VIEW
Statement 1: A view can be accessed with the use of SQL MCQ Only
SELECT statement like a table. statement 2

Statement 2: A view can be made up by selecting data from more


than one tables.

Which of the above statements are TRUE?


An index helps speed up SELECT queries and WHERE clauses, MCQ true
but it slows down data input, with UPDATE and INSERT
statements.

State whether the above statement is TRUE or FALSE.


MCQ Both
Statement 1: Clustered index physically rearranges the data that statement 1
users inserts in your tables. and statement
2
Statement 2: There can be 2000 non-clustered index per table.

Which of the above statement are TRUE?

MCQ An inline view


exists only
inside of the
Which of the given options are TRUE? FROM clause
as a run-time
result set.

Statement 1: If a subquery is not dependent on the outer query it MCQ None of the
is called a non-correlated subquery. listed options

Statement 2: Subqueries cannot be used with the comparison


operators.

Which of the above statements are TRUE?


A query is called correlated subquery when both the inner query MCQ false
and the outer query are interdependent.

State whether the above statement is TRUE or FALSE.


Statement 1: The SQL subquery is a SELECT query that is MCQ Both
embedded in the main SELECT statement. statement 1
and statement
Statement 2: A subquery cannot return more than one rows 2

Which of the above statements is TRUE?


MCQ All of the
Carefully read the question and answer accordingly. The following listed options
s/w process model can be represented schematically as a series
of major technical activities and there associated sate

MCQ Both are


literally the
Carefully read the question and answer accordingly. If Quality same
Control and Quality Assurance are compared

Carefully read the question and answer accordingly. To produce a MCQ None
good quality product, process should be
Carefully read the question and answer accordingly. Software MCQ false
processes can be constructed out of pre-existing software
patterns to best meet the needs of a software project. State True
or False
Carefully read the question and answer accordingly. Who is MCQ Development
essentially responsible for the quality of a product Manager
Carefully read the question and answer accordingly. Data MCQ procedural
structure suitable for the application is discussed in ? design
MCQ To decrease
Carefully read the question and answer accordingly. Using
the defect rate
software process improvement model will help a company

MCQ All of the


Carefully read the question and answer accordingly. The object
listed options
relationship pair of data model is represented graphically by using

Carefully read the question and answer accordingly. Which one is MCQ Efficiency
the most important feature of spiral model management
MCQ do not waste
development
Carefully read the question and answer accordingly. Process time on
models are described as agile because they planning
activities
Carefully read the question and answer accordingly. People who MCQ false
perform software quality assurance must look at the software
from the customer's perspective.
MCQ false
Carefully read the question and answer accordingly. In software
quality assurance work there is no difference between software
verification and software validation. State True/False

Carefully read the question and answer accordingly. MCQ true


Software is a product and can be manufactured using the same
technologies used for other engineering artifacts. State True or
False
MCQ have
measurable
Carefully read the question and answer accordingly. A key specifications
concept of quality control is that all work products for process
outputs
Carefully read the question and answer accordingly. What are the MCQ Portability
qualities of a good s/w
MCQ may result
from user
Carefully read the question and answer accordingly. Software input errors
safety is a quality assurance activity that focuses on hazards that

Carefully read the question and answer accordingly. The goal of MCQ false
quality assurance is to provide management with the data needed
to determine which software engineers are producing the most
defects.
Carefully read the question and answer accordingly. Variation MCQ process
control in the context of software engineering involves controlling applied
variation in the
MCQ Process
Carefully read the question and answer accordingly. What is used
metrics
to measure the characteristics of the documentation and code

Carefully read the question and answer accordingly. The purpose MCQ false
of software reviews is to uncover errors in work products so they
can be removed before moving on to the next phase of
development.
MCQ attributes,
Carefully read the question and answer accordingly. In object
name and
oriented design of software , objects have
operations
Carefully read the question and answer accordingly. Which of MCQ modularity
these criteria are useful in assessing the effectiveness of a
particular
design notation
MCQ The primary
Carefully read the question and answer accordingly. Which of the output of the
following is the correct definition for DFD system design
phase
MCQ Classes are
Carefully read the question and answer accordingly. Which of the defined based
following comments about object oriented design of software, is on the
not true attributes of
objects
MCQ Hardware
Carefully read the question and answer accordingly. In system design after
design, we do following software

MCQ flowchart
Carefully read the question and answer accordingly. Which of
these is a graphical notation for depicting procedural detail

Carefully read the question and answer accordingly. The term MCQ Sub programs
module in the design phase refers to
Carefully read the question and answer accordingly. Informational MCQ structured
cohesion is a realization of programming
MCQ size of the
Carefully read the question and answer accordingly. The work
product being
products produced during requirement elicitation will vary
built
Carefully read the question and answer accordingly. Object- MCQ true
oriented analysis techniques can be used to identify and refine
user task
objects and actions without any need to refer to the user voice.
State True/False
MCQ false
Carefully read the question and answer accordingly. Change
cannot be easily accommodated in most software systems, unless
the system was designed with change in mind. State True/False
Carefully read the question and answer accordingly. Software MCQ Bauer
Engineering is the systematic approach to the development,
operation, maintenance and retirement of software. This definition
is given by_________
MCQ Tools
Carefully read the question and answer accordingly. Which of the
items listed below is not one of the software engineering layers

MCQ true
Carefully read the question and answer accordingly. Software
engineering umbrella activities are only applied during the initial
phases of software development projects. State True or False

Carefully read the question and answer accordingly. Which phase MCQ Coding
is not available in s/w life cycle
MCQ Mini model of
Carefully read the question and answer accordingly. The existing
Prototype is a system

MCQ Neither
Carefully read the question and answer accordingly. Which of the intrinsically
following is not Risk characteristic good not bad

Carefully read the question and answer accordingly. Management MCQ People
of software development is dependent upon
MCQ send them to
the design
Carefully read the question and answer accordingly. The best way team and see
to conduct a requirements validation review is to if they have
any concerns

MCQ Reliable
Carefully read the question and answer accordingly. Software
Software
engineering aims at developing

MCQ The potential


loss or impact
associated
with the event

Carefully read the question and answer accordingly. Major


component of Risk Analysis are

MCQ Know the


Carefully read the question and answer accordingly. Milestones
status of the
are used to
project
Carefully read the question and answer accordingly. The review is MCQ Walkthrough
one of the methods of V&V. The other methods are
MCQ Better
Carefully read the question and answer accordingly. Software
performance
Engineering approach is used to achieve
of h/w
MCQ Prepare
resource plan

Carefully read the question and answer accordingly. Which is not


the responsibility of customer/ user of the software

Carefully read the question and answer accordingly. A MCQ false


stakeholder is anyone who will purchase the completed software
system under
development. State True/False
Carefully read the question and answer accordingly. Project risk MCQ Water fall
factor is considered in
MCQ The best
approach to
use for
Carefully read the question and answer accordingly. The projects with
prototyping model of software development is large
development
teams

MCQ required for all


Carefully read the question and answer accordingly. systems.
Control flow diagrams are

MCQ All of the


Carefully read the question and answer accordingly. A data model listed options
consists of the following information

MCQ Activity
Carefully read the question and answer accordingly. Which of diagram
following is not a UML diagram used creating a system analysis
model

MCQ RAD
Carefully read the question and answer accordingly. If
requirements are frequently changing, which model is best suited

MCQ true
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 The best
approach to
use for
Carefully read the question and answer accordingly. The projects with
incremental model of software development is large
development
teams.

MCQ Spiral
Carefully read the question and answer accordingly. Which is not
a software life cycle model

Carefully read the question and answer accordingly. If MCQ Prototype


requirements are understandable, easy, defined, which model is
best suited
MCQ depicts
functions that
Carefully read the question and answer accordingly. The entity transform the
relationship diagram data flow

MCQ A quantitative
measure of
the current
Carefully read the question and answer accordingly. What exactly level of
Baseline means performance

Carefully read the question and answer accordingly. Which of MCQ test data
these are valid software configuration items?
MCQ make sure
that change
information is
Carefully read the question and answer accordingly. The primary communicate
purpose of configuration status reporting is to d to all
affected
parties

Carefully read the question and answer accordingly. When MCQ senior
software configuration management is a formal activity, the managers
software configuration audit is conducted by the
Carefully read the question and answer accordingly. A new MCQ item
__________ is defined when major changes have been made to
one or more configuration objects.
MCQ management
of the
configurable
components
in a system
Carefully read the question and answer accordingly.
What is configuration management in software engineering

Carefully read the question and answer accordingly. MCQ false


In requirements validation the requirements model is reviewed to
ensure its technical feasibility. State True/False
Carefully read the question and answer accordingly. A basic MCQ All of the
configuration object is a __________ created by a software listed options
engineer during some phase of the software development
process.
MCQ true
Carefully read the question and answer accordingly. The ability to
track relationships and changes to configuration objects is one of
the most important features of the SCM repository.

MCQ change
Carefully read the question and answer accordingly. Which of the
control
following tasks is not part of software configuration management?

MCQ 0,1960,1995
An input field takes the birth year of the user ranging from 1960 to
1995. The boundary values for testing this field are?

MCA Business
rules
Test scenarios have to be written with the consideration of ?

State whether True or False. MCQ true


Testers should be involved in reviewing documents as soon as
drafts are available in the development cycle.
MCQ true
Alternate flows can be tested by themselves (State Frue or false)

MCQ All the listed


We derive _________ by using the test design techniques
options
State whether True or False. MCQ true
A use case can result into more than one scenario.
MCQ Test condition
defining
Test data preparation data is done during _________ ? process

For a given set of boundaries, how many boundary values are MCQ 2
possible?
MCQ true
Test Scenarios have case specific data assigned to them (State
True or False)
MCA Test scenario
involves the
expected
Which of the following statements is/are true? results.

Test conditions can be valid or invalid (State True or False) MCQ false
MCQ Test data
Which of the below is not an activity involved in Test execution setup
process?
The conditions that need to be verified by the tester after the MCQ Exceptions
activity is performed are called _________?
State whether True or False. Triage meeting is done before fixing MCQ false
the defect.
MCQ A. Build the
compiled code
into software
B. Add the
release notes
Which is the correct order to be followed for a Build Verification C. Perform
Process? Smoke/ Sanity
Test D. Test
Execution

MCQ Reopen,
A defect is found after retest. What are all the possible stages this Fixed, Closed
defect may undergo?

MCQ Verifying that


the test
environment
has been set
up correctly

Which is not a major task of test implementation and execution?

State whether True or False. Release notes are prepared by MCQ true
developer/ development team.
MCQ Develop and
prioritizing test
cases,
creating test
data, writing
test
procedures
Which is not a major task of test implementation and execution? and optionally,
preparing test
harness and
writing
automated
test scripts

MCA Closed
What are the subsequent states that a new defect can undergo?

State whether True or False. Developer has to ensure that the pre MCQ True
requisite of each test case are met.
MCA Update status
of the defect
What are the action items if an application does not behave as
expected?

MCQ Use of proper


test approach
Software testing ensures which of the below?

Match the following. MCQ A - 3, B - 1, C


A) Self review B) Formal review C) Informal review -2
1. Conducted by one or more peers in the team
2. Conducted by one or more reviewers or SME
3. Conducted by the author himself
Review of Test case Artifact is done with the help of? MCQ Reviewer
MCA Failures
In causal analysis which attributes among below assist in
analyzing the effect?
State whether true or false. Selenium tools helps to develop MCQ true
Automated test scripts
MCA Helps to
provide a
reliable
Which of the statements is applicable to software testing? system

MCQ Test
Test environment check up is part of _________ .
Execution
MCA Developers
tend to
neglect test
What are the possible causes for ending up into 0.1 % defective approach to
application? the developed
product.

MCQ Requirement
Analysis -
Test Planning
Design and
Code - Test
Design
Which of the following map the corresponding phases from SDLC Testing - Unit
with STLC. Testing

State whether true or false. QC is used for logging the outcome of MCQ false
the test execution.
Q Question and Answers - II
Choice2 Choice3 Choice4 Choice5 Grade1 Grade2
The UNIQUE None of the All listed 0 1
constraint listed options options
uniquely
identifies each
record in a
database
table.

Constraints Constraints Constraints 0 0


gives ensure data add a level of
programmers integrity complexity
job security
The NOT All listed Constraints 0 0
NULL options are used to
constraint limit the type
enforces a of data that
column to can go into a
NOT accept table
NULL values.

Both None of the Only 1 0


statement 1 listed options statement 1
and statement
2

false 0 1

false 1 0

The primary The primary 1 0


key column is key is a
a column or column that
combination can have
of columns NULL values.
whose values
can be non-
unique.

false 0 1
None of the Only Only 1 0
listed options statement 1 statement 2

Both None of the Only 0 1


statement 1 listed options statement 1
and statement
2

ON DELETE ON DELETE None of the 1 0


SET NULL ORPHAN listed options
Only Only None of the 0 1
statement 1 statement 2 listed options

None of the Only Only 1 0


listed options statement 1 statement 2

UNION INTERSECT UNION ALL 1 0

true 0 1

false 0 1

Only Both Only 0 1


statement 1 statement 1 statement 2
and statement
2

RESTRICT GROUP BY HAVING 0 0


Materialized Normalization data Integrity 0 0
View
modify an delete a table 0 0
existing table from the
in a database database
TRUNCATE REMOVE DROP 0 0

DISTINCT None of the UNIQUE 0 1


listed options
Holds a None of the Its maximum 1 0
variable listed options size is
length string specified in
(can contain parenthesis.
letters,
numbers, and
special
characters).

SELECT SELECT 0 1
CustomerNam CustomerNam
e, e,
COUNT(Cust COUNT(Cust
omerName) omerName)
FROM Orders FROM Orders
GROUP BY
CustomerNam
e

COMPUTE MAX MIN 0 1


false 1 0

UPDATE UPDATE UPDATE 0 0


employees employees employees
SET SET SET
first_name = first_name = first_name =
'John' SET 'John', SET 'John',
last_name last_name last_name
='Smith' ='Smith' ='Smith'
WHERE WHERE WHERE
employee_id employee_id employee_id
= 180; = 180; = 180;
WHERE WHERE WHERE 0 0
lower(country lower(country lower(country
_address) = _address) IS _address) =
"france" 'france' 'france'

AND FROM WHERE 0 0

ADD UPDATE INSERT INTO 0 0

The SQL The SQL The SQL 0 0


ALTER ALTER ALTER
TABLE clause TABLE clause TABLE clause
is used to modifies a is used to
insert data table definition delete a
into database by altering, database
table. adding, or table
deleting table
columns
and/or
constraints.

Colon All listed Semicolon 0 0


options

TCL consists None of the TCL contains 1 0


of 2 listed options the
commands: commands
COMMIT and which are
ROLLBACK required for
Transaction
Management.

false 1 0

Only Both None of the 0 0


statement 2 statement 1 listed options
and statement
2
The AS SQL The AS 0 1
clause is used clause defines
to change the a search
name of a condition
column in the
result set or to
assign a
name to a
derived
column.

limits the rows limits the limits the row 0 0


& columns column data data that are
returned that are returned.
returned.
LIKE *qpt LIKE ^.*qpt$ LIKE qpt$ 1 0

Specifies links All listed allows 0 0


between options database
tables, and tables to be
imposes created or
constraints deleted
between
tables

You can pass You can mix You can use 0 0.5
column single row aggregate
names, columns with functions in
expressions, aggregate any clause of
constants, or functions in a SELECT
functions as the column list statement.
parameters to of a
anaggregate SELECTstate
function. ment by
grouping on
the single row
columns.

Nothing All the records All the records 0 0


from a table, from a table
or information that match the
about all the previous
records WHERE
clause

Only Both Only 0 0


statement 1 statement 1 statement 2
and statement
2
LIKE ?????? LIKE .{6} LIKE ______ 0 0
Answer 5: (that's six
LIKE ^.{6}$ underscore
characters)
CREATE ?I DATABASE CREATE 0 0
student /student DATABASE
student
Insert Update Alter 0 1
RETRIEVE SELECT INSERT 0 0

Both None of the Only 1 0


statement 1 listed options statement 1
and statement
2

true 0 1

None of the Both Only 1 0


listed options statement 1 statement 2
and statement
2

The ORDER The ORDER The sort is in 0.5 0.5


BY clause BY clause is descending
comes last in executed on order by
the SELECT the client side default
statement.
query create Modify the 1 0
database data database database
only. structures
only.
WHERE JOIN ORDER BY 0 0

Full Outer Inner join All listed 0 1


Join options
Natural join Outer join Inner join 0 0
returns all returns all 0 0
rows from 2 rows that
tables have
matching
value in the
field on which
the 2 tables
are joined.

You can join a All listed You can join a 1 0


maximum of options maximum of
two columns two tables
through an through an
equijoin. equijoin.

Both Only None of the 0 0


statement 1 statement 2 listed options
and statement
2

composite determinants. candidate 1 0


keys. keys
Only None of the Both 0 0
statement 1 listed options statement 1
and statement
2

Both None of the Only 0 1


statement 1 listed options statement 2
and statement
2

15 10 50 0 0

true 0 1
JOIN CROSS JOIN LEFT JOIN 0 0

true 0 1

FULL CROSS NATURAL 0 0

Equi Join Inner join Self join 1 0

we are joining we are joining 0 0


more than 2 table to itself
tables
a relationship a relationship All listed 0 1
between between options
certain certain rows in
columns in tables.
tables
false 1 0

Both Only Only 0 1


statement 1 statement 2 statement 1
and statement
2

Both the The 0 1


statements underscore
given represents a
single number
or character.

true 1 0

false 1 0

true 1 0
true 1 0

None of the COUNT All listed 1 0


listed options function is options
used to count
the number of
columns in a
database
table.

None of the Only All the listed 0 0


listed options statement 2 options

true 1 0

false 0 1

REMOVE CHANGE ADD INDEX 1 0


INDEX ID; INDEX ID; ID;
Only None of the Only 1 0
statement 2 listed options statement 1

REMOVE All listed DROP VIEW 0 0


VIEW options
Both None of the Only 0 1
statement 1 listed options statement 1
and statement
2
false 1 0

None of the Only Only 0 0


listed options statement 2 statement 1

All listed A subquery An inline view 1 0


options exists only exists only
inside of the inside of the
FROM clause WHERE
as a run-time clause as a
run-time result
set.

Only Only Both 0 1


statement 1 statement 2 statement 1
and statement
2

true 0 1

None of the Only Only 0 0


listed options statement 2 statement 1

Incremental Concurrent Component 0 0


model development assembly
model

QA is done by QC is a higher QA is a higher 0 0


the client and activity in the activity in the
QC is done by management management
the software Hierarchy Hierarchy
vendor

Rigorous Complex Efficient 0 0


true 0 1

Customer QA Manager 1 0

architectural interface data design 0 0


design design
All of the To increase To decrease To meet schedule 0 1
listed options profitability development
time
Flow chart Data flow Entity 0 0
diagram relationship
diagram
Performance Risk Quality 0 0
Management Management management
emphasize eliminate the make 0 1
maneuverabili need for extensive use
ty and cumbersome of prototype
adaptability documentatio creation
n
true 0 1

true 1 0

false 0 1

are thoroughly are delivered have 1 0


tested before on time and complete
delivery to the under budget documentatio
customer n

Reusability All of the Inter 0 0


listed options Operability
prevent may cause an affect the 0 0
profitable entire system reliability of a
marketing of to fail software
the final component
product
true 1 0
All of the resources product 0 1
listed options expended quality
attributes
Software Product None of the 0 0
Quality metrics listed options
metrics
true 0 1

None of the operations attributes and 1 0


listed options and names names only
only
size maintainability simplicity maintainability, simp 0 0

The modern Mainly used at All of the 1 0


version of systems listed options
flowchart specification
stages
an object can classes are Objects inherit 0 1
belong to two always the properties
classes different of class

Software Parallel No hardware 0 0


design after hardware and design
hardware software needed
design
ER diagram decision table process 1 0
diagram

Procedures All of the Functions 0 0


listed options
Modularity Concurrency data 0 0
abstraction
size of the stakeholders software 1 0
budget needs process being
used
false 0 1

true 0 1
Boehm Charles IEEE 0 0
Babbage

Manufacturing Methods Process 0 1

false 0 1

Specifications Design Installation & 0 0


Maintenance
Working Mini model of None of the 0 1
model of processed listed options
existing system
system
Something to Probability of Inherent in 0 1
fear but not loss every project
something to
manage
Process All of the Product 0 0
listed options
examine the use a have the 0 0
system model checklist of customer look
for errors questions to over the
examine each requirements
requirement

None of the Cost Effective Reliable and 0 0


listed options Software cost effective
Software
The The potential The 0 1
probability loss is very probability
that the high that the
negative negative
event will event will
occur and The occur
potential loss
or impact
associated
with the event

Know the cost Know the user None of the 1 0


of the project expectations listed options

Inspection Testing All of the 0 0


listed options
Reusable Error free s/w Quality 0 0
software software
product
Plan how and Plan Prepare the 1 0
by whom each resources for acceptance
acceptance providing plan
activity will be information on
performed which to base
acceptance
decisions

true 1 0

Spiral All of the Prototype 0 1


listed options
A risky model A useful A reasonable 0 0
that rarely approach approach
produces a when a when
meaningful customer requirements
product cannot define are well
requirements defined
clearly

used in place useful for needed to useful for modeling 0 0


of data flow modeling real- model event
diagrams. time systems. driven
systems.
The attributes Relationship Data Object 1 0
that describe that connect
data object data object to
one another
Class diagram State diagram Dataflow 1 0
diagram

Prototype Water fall  Spiral 0 1

false 1 0
A good A reasonable A 0 1
approach approach revolutionary
when a when model that is
working core requirements not used for
product is are well commercial
required defined products
quickly

Capability Water fall Prototype 0 1


Maturity
Model 
None Water fall  Spiral 0 0

depicts indicates how indicates 0 1


relationships data are system
between data transformed reactions to
objects by the system external
events
A single A test or None of the 1 0
software analysis listed options
product that conducted
may or may after an
not fully application is
support a moved into
business production
function

software tools executable All of the documentation 0 0


programs listed options
evaluate the None of the allow revision 1 0
performance listed options of project
of software schedules and
developers cost estimates
and by project
organizations managers

development quality testing 0 0


team assurance specialists
group
version entity variant 0 1
in object- the overall 0 0
oriented identification management
programming, of the of the design
the configuration of the system
management of a system at
of objects that discrete points
control the in time to
configuration control
of some other changes to
function(s) in the
the system configuration

true 1 0

program data unit of a software 0 0


structure information component

false 1 0

version statistical reporting 0 0


control quality control

1959, 1960, 1960, 1995, 0, 1959, 1960, 1959, 1960, 1994, 1 0 1


1961, 1994, 1996 1961, 1994,
1995, 1996 1995, 1996

Functional None of the Non functional 0.333 0.333


standards listed options standards

false 1 0

false 0 1

Test Scenario Test case None of the Test condition 0 0


listed options
false 1 0

Test Test Test Scenario 0 1


Development Execution identification
process process process

None of the 4 8 6 0 0
listed options
false 0 1

Test case Test scenario Test cases Test case includes t 0 0.5
includes the define the are developed
steps to setup to from Test
execute. perform the conditions.
tests
true 0 1
Retesting of Build Test case Defect Tracking 1 0
defects verification execution
process
Post condition Pre condition Triggers 0 1

true 0 1

A. Review the 0 0
code B. Build
the compiled
code into
software C.
Perform
Smoke/ Sanity
Test D. Test
Execution

Open, Fixed, Reopen, Defferred, 1 0


Reopen, Fixed Open, Fixed,
Closed Reopen,
Closed
Develop and Verifying that Checking test Logging the outcome o 0 0
prioritizing test the test logs against
cases, environment the exit
creating test has been set criteria
data, writing up correctly specified in
test and Checking test planning
procedures test logs
and optionally, against the
preparing test exit criteria
harness and specified in
writing test planning
automated
test scripts

false 0 1
Logging the Verifying that Verifying that Checking test logs ag 0 0
outcome of the test the test
test execution environment environment
and recording has been set has been set
the identities up correctly up correctly
and versions and Checking
of the test logs
software against the
under test, exit criteria
test tools and specified in
testware test planning

Rejected Deferred Fixed Open 0 0.333

false 0 1

Execute next Log defect Retest 0.5 0


test step of
same test
case
Usage of Proper causal Requirement None of the listed op 0 0
design analysis satisfaction
architecture and usage of
best design
architecture
A - 2, B - 1, C A - 2, B - 3, C A - 3, B - 2, C A - 1, B - 2, C - 3 0 0
-3 -1 -1

Self review Author Peer review Checklist 0 0


Cause Requirement Reason Test Approach 0 0.5
gathering

false 1 0

Helps prevent None of the Helps to Helps in identifying 0.25 0.25


the defects listed options identify
completeness
of the
software
None of the Test Scenario Test Test Design 1 0
listed options Development
Defective Less Lack of Misunderstood requ 0.25 0.25
code knowledge on domain
development knowledge
language

None of the Requirement Requirement Requirement Analysis 0 0


listed options Analysis - Analysis -
Test Planning Test Planning
Design and Design and
Code - Unit Code - Test
Testing Design
Testing - Testing -
Component Component
Integration Integration
testing and testing and
System System
testing testing

true 0 1
Grade3 Grade4 Grade5 AnswerDescripQuestionMedi AnswerMedia Author
0 0 TEXT TEXT

1 0 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

TEXT TEXT

0 TEXT TEXT

TEXT TEXT
0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

0 1 TEXT TEXT
0 1 TEXT TEXT
1 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 TEXT TEXT

0 0 TEXT TEXT
TEXT TEXT

0 1 TEXT TEXT
0 1 TEXT TEXT

0 1 TEXT TEXT

0 1 TEXT TEXT

1 0 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

1 0 TEXT TEXT
0 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0.5 0 TEXT TEXT

1 0 TEXT TEXT

1 0 TEXT TEXT
0 1 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT
1 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT
1 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

0 1 TEXT TEXT

TEXT TEXT
0 1 TEXT TEXT

TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

1 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

0 TEXT TEXT

TEXT TEXT

TEXT TEXT

TEXT TEXT
TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

TEXT TEXT

TEXT TEXT

11111 0 TEXT TEXT

0 0 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT
TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

0 1 TEXT TEXT

1 0 TEXT TEXT

1 0 TEXT TEXT

0 1 TEXT TEXT
TEXT TEXT

0 TEXT TEXT

0 1 TEXT TEXT

0 0 0 TEXT TEXT

0 1 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

1 0 TEXT TEXT

TEXT TEXT
0 0 TEXT TEXT

1 0 TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

0 0 1 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

TEXT TEXT
0 1 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

1 0 TEXT TEXT

0 1 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 1 TEXT TEXT
0 1 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

1 0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT
0 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT

0 0 TEXT TEXT

0 1 0 TEXT TEXT

0 0 TEXT TEXT

1 0 TEXT TEXT

0 0 TEXT TEXT
1 0 TEXT TEXT

TEXT TEXT

0 1 TEXT TEXT

TEXT TEXT

1 0 TEXT TEXT

0 0 0 TEXT TEXT

0 0.333 TEXT TEXT

TEXT TEXT

TEXT TEXT

1 0 0 TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

0 0 1 TEXT TEXT
TEXT TEXT

0 0 0.5 TEXT TEXT

TEXT TEXT
0 0 0 TEXT TEXT

0 0 TEXT TEXT

TEXT TEXT

TEXT TEXT

0 0 TEXT TEXT

0 1 0 TEXT TEXT

TEXT TEXT
0 0 1 TEXT TEXT

0.333 0 0.333 TEXT TEXT

TEXT TEXT

0.5 0 TEXT TEXT

0 1 0 TEXT TEXT

0 1 0 TEXT TEXT

0 0 1 TEXT TEXT
0 0.5 0 TEXT TEXT

TEXT TEXT

0 0.25 0.25 TEXT TEXT

0 0 0 TEXT TEXT
0 0.25 0.25 TEXT TEXT

0 1 0 TEXT TEXT

TEXT TEXT
Reviewer Is Numeric

You might also like