Acp Topic Test - 06
Acp Topic Test - 06
(C) All the transactions that are already Step 1. T acquires exclusive locks to
undone and redone will not be O1,...,Ok in increasing order of their
recovered again addresses.
(D) The database will become Step 2. The required operations are
inconsistent performed.
Step 3. All locks are released.
Q7. Consider the following two This protocol will_________ .
statements about database transaction
schedules: (A) guarantee serializability and
deadlock- freedom
I. Strict two-phase locking protocol (B) guarantee neither serializability nor
generates conflict serializable schedules deadlock-freedom
that are also recoverable. (C) guarantee serializability but not
deadlock-freedom
II. Timestamp-ordering concurrency (D) guarantee deadlock-freedom but not
control protocol with Thomas' Write serializability
Rule can generate view serializable
schedules that are not conflict Q10. Which one of the following is NOT a
serializable. part of the ACID properties of database
Which of the above statements is/are transactions?
TRUE?
(A) Atomicity (B) Consistency
(A) I only (B) II only (C) Isolation (D) Deadlock-freedom
(C) Both I and II (D) Neither I nor II
Q11. Which one of the following state
Q8. Which of the following concurrency transition is made when the transaction
control protocols ensure both conflict has been rolled back and the database is
and free from deadlock? restored to the state prior to the start of
the transition?
(A) Timestamp ordering
(B) 2 Phase locking (A) Active →Partially Committed
(C) Both (A) and (B) (B) Active →Committed
(D) None of the above (C) Active →Aborted
(D) None of these
Q9. Consider the following two phase
locking protocol. Suppose a transaction
T accesses (for read or write operations)
a certain set of objects (O1,...,Ok). This is
done in the following manner:
Analyst cum programmer tOPIC TEST -06
Read (Y)
Read (Y)
Write (Y)
Write (X)
Write (X)
Read (X)
Write (X)
Q16. Which of the following is correct Given a transaction in active state during
with respect to Two phase commit its execution, ûnd its next transitioned
protocol? state from the options given below:
Q21. The Transport Layer is responsible Q26. A client program normally uses
for: ________ port number. A server program
normally uses__________ port number.
(A) Physical addressing of data.
(B) Establishing connections between (A) a well-known; an ephemeral
devices. (B) an ephemeral; a well-known
(C) Formatting and converting data for (C) a private; a well-known
presentation. (D) None of the choices are correct
(D) Reliable data delivery between end
systems. Q27. In TCP, a FIN + ACK segment
consumes ________ sequence number(s) if
Q22. Which of the following is not a it does not carry data.
function of the Transport Layer?
(A) two (B) three
(A) Segmenting and reassembling data. (C) one (D) no
(B) Establishing and terminating
connections. Q28. A socket address is a combination
(C) Encrypting and decrypting data. of…………?
(D) Multiplexing and demultiplexing data
(A) A MAC address and a logical address
Q23. At the transport layer, to define the (B) A MAC address and a port number
processes, we need two identifiers (C) a user-specific address and a logical
called…………? address
(D) None of the choices are correct
(A) logical addresses
(B) physical addresses Q29. Clark's solution can solve the silly
(C) port addresses window syndrome created by the…………?
(D) None of the choices are correct
(A) sender
Q24. UDP packets have a fixed-size (B) receiver
header of………bytes. (C) both sender and receiver
(D) None of the choices are correct
(A) 16 (B) 8
(C) 40 (D) 32 Q30. We need to multiply the header length
field by _____ to find the total number of
Q25. The connection establishment bytes in the TCP header.
procedure in TCP is susceptible to a
serious security problem called (A) 2 (B) 4
the......... attack. (C) 6 (D) None of the choices are correct
(A) listen, accept, bind recv Q43. What does the term 'regression
(B) bind, listen, accept, recv testing' refer to?
(C) bind, accept, listen, recv
(D) accept, listen, bind, recv (A) Testing the software for the first time
(B) Testing after changes to ensure existing
Q39. Which of the following statements are functionality works
TRUE? (C) Testing that is done manually
(S1) TCP handles both congestion and flow (D) Testing that is done by end-users
control
(S2) UDP handles congestion but not flow Q44. In which testing phase is the software
control product verified against the requirements?
(S3) Fast retransmit deals with congestion
but not flow control (A) Unit Testing
(S4) Slow start mechanism deals with both (B) System Testing
congestion and flow control (C) Acceptance Testing
(D) Integration Testing
(A) S1, S2 and S3 only
(B) S1 and S3 only Q45. What is the difference between
(C) S3 and S4 only white-box testing and black-box testing?
(D) S1, S3 and S4 only
(A) White-box testing is done by end-users,
Q40. Packets of the same session may be black box testing is done by
routed through different paths in: developers.
(B) White-box testing examines internal
(A) TCP, but not UDP code structure, black-box testing
(B) TCP and UDP focuses on functionality.
(C) UDP, but not TCP (C) White-box testing is faster than
(D) Neither TCP nor UDP black-box testing.
(D) There is no difference.
Q41. What is the primary purpose of
software testing? Q46. Which of the following tools is
primarily used for automated testing?
(A) To ensure the software is developed on
time (A) Selenium (B) JIRA
(B) To find and fix defects in the software (C) Git (D) Visual Studio
(C) To improve the user interface
(D) To reduce the development cost Q47. What does a test case typically
include?
Q42. Which of the following is a type of
non-functional testing? (A) Test ID, description, preconditions, and
(A) Unit Testing expected results
(B) Integration Testing (B) Only expected results
(C) Performance Testing (C) Only a description
(D) System Testing (D) Test ID and a checklist
Analyst cum programmer tOPIC TEST -06
(A) The stages a bug goes through from (A) The number of defects per test case
discovery to resolution (B) The number of defects per lines of
(B) The testing phases of a software code
application (C) The severity of defects found
(C) The development cycle of a software (D) The total number of defects reported
project
(D) The various types of bugs Q54. Which of the following is NOT a
encountered testing method?
Q58. Which of the following best Q62. Which of the following components
describes 'smoke testing" ? is not typically included in an SQA plan?
(A) Increased manual testing effort (A) ISO 27001 (B) ISO 9001
(B) Faster execution of repetitive tests (C) ISO 12207 (D) ISO 14001
(C) Eliminating the need for testing
(D) More bugs in the software Q65. In the Context of Software quality
assurance, Which is not a main category
Q61. Which of the following best of quality factor.
represents the primary goal of
incorporating Software Quality (A) Project Operation Factor
Assurance (SQA) in software project (B) Project Transition Factor
planning? (C) Project Testing Factor
(D) Project Revision Factor
(A) To reduce the number of developers
required for a project Q66. How does SQA contribute during
(B) To ensure software adheres to software project planning?
customer budget and deadlines
(C) To define standards and procedures (A) By defining algorithms to optimize
to ensure quality objectives are met code performance
(D) To increase the number of features in (B) By reviewing software architecture
the software product only after coding begins
Analyst cum programmer tOPIC TEST -06
(C) By identifying quality objectives and Q71. What is the key difference between
integrating them into the project plan validation and verification as SQA
(D) By delegating quality activities to techniques?
external vendors only
(A) Validation checks for errors in
Q67. What is the relationship between documentation; verification checks
SQA and risk management in project only source code
planning? (B) Validation ensures requirements are
met; verification checks if the
(A) SQA eliminates all project risks product is built correctly
(B) SQA reduces risk by ensuring proper (C) Validation occurs before
validation, verification, and implementation; verification happens
compliance after deployment
(C) Risk management replaces the need (D) Verification includes testing;
for SQA validation excludes testing
(D) SQA is only applied after risk events
occur Q72. In terms of quality assurance,
Pareto analysis is used to:
Q68. Which of the following is a direct
benefit of implementing SQA early in (A) Rank team members by productivity
project planning? (B) Prioritize defect fixing based on
frequency and impact
(A) Reduced need for documentation (C) Predict project completion time
(B) Elimination of code-level bugs (D) Conduct security audits
(C) Early identification of process
inefficiencies Q73. What is the primary objective of a
(D) Faster release cycles by skipping software quality audit during project
testing planning?
Q69. Which one is not a part of Project (A) To test performance metrics
Operation Factor. (B) To measure customer satisfaction
(C) To ensure SQA processes and
(A) Efficiency (B) Flexibility policies are correctly followed
(C) Usability (D) Integrity (D) To gather user feedback for design
improvements
Q70. Which of the following SQA
techniques is most suitable for Q74. Which one is not a part of Project
preventing defects before they occur? Transition Factor.
Q75. Which of the following is not Q79. One major challenge in implement
considered a core element of an -ing SQA in Agile environments is:
effective SQA system?
(A) Lack of team members
(A) Software engineering standards (B) SQA contradicts iterative
(B) Formal technical reviews development and adaptive planning
(C) Debugging tools (C) SQA tools are not compatible with
(D) Measurement and reporting Agile
mechanisms (D) Agile eliminates the need for quality
control
Q76. Which of the following is the most
strategic benefit of incorporating SQA in Q80. Excessive focus on formal SQA
software project planning? documentation during project planning
can result in:
(A) It guarantees zero bugs in final
delivery (A) Enhanced code modularity
(B) It helps deliver projects faster (B) Team demotivation and reduced
regardless of scope agility
(C) It ensures systematic prevention and (C) Improved software portability
early detection of defects (D) Higher runtime performance
(D) It eliminates the need for formal
documentation Q81. How many triangles are there in the
given figure?
Q77. Which of the following is a
long-term benefit of integrating SQA in
multiple software projects?
(A) 1
(B) 3
(C) 4 या 3 या 5 में से कोई एक
(A) 10 (B) 11
(D) 1 या 4 या 3 में से कोई एक
(C) 15 (D) 14
Q87. Two positions of a dice are given
Q84. Find the number of squares in the
below. If @ is on the upper surface, what
given figure?
will happen on the lower surface ?
(A) # (B) ©
(C) + (D) *
(A) (B) +
(C) - (D) $
(A) 20 (B) 18
(C) 25 (D) 40
Analyst cum programmer tOPIC TEST -06
Q89. Two positions of a dice are given. (A) हाथ की कढ़ाई (B) पॉटरी का निर्माण
What will happen on the face opposite to (C) टाई एवं डाई (D) पेन्टिंग
4?
Q95. राजस्थान के किस रजवाड़े ने ब्ल-ू पॉटरी को
आश्रय दिया है ?