All mock tests are FREE till 31 December — register to save your progress
Paper 2 CS · UNIT 05 · MOCK TEST

System Software and Operating System — Mock Test 9

25 questions · about 30 minutes. Press End Mock any time to see your score and the correct answers.

0 / 25 answered 00:00
Q1. For the page reference string 4, 3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5, the number of page faults with LRU page replacement and 3 frames is
Q2. Match List I with List II.
Choose the correct answer from the options given below:
List IList II
A. Activation recordI. Linker loader
B. Location counterII. Garbage collection
C. Reference countIII. Subroutine call
D. Address relocationIV. Assembler
Q3. Match List I with List II.
Choose the correct answer from the options given below:
List IList II
A. Least frequently usedI. Memory is distributed among processors
B. Critical sectionII. Page replacement policy in cache memory
C. Loosely coupled multiprocessor systemIII. Program section that once begun must complete execution before another processor accesses the same shared resource
D. Distributed operating system organizationIV. O/S routines are distributed among available processors
Q4. Match List I with List II.
Choose the correct answer from the options given below:
List IList II
A. FirmwareI. Number of logical records into physical blocks
B. Batch fileII. ASCII format
C. PackingIII. Resource allocation
D. Banker's algorithmIV. ROM
Q5. Match List I with List II.
Choose the correct answer from the options given below:
List IList II
A. Stack algorithmI. Deadlock
B. Elevator algorithmII. Disk scheduling
C. Priority schedulingIII. Page replacement algorithm
D. Havender's algorithmIV. CPU scheduling
Q6. Given below are two statements: Assertion (A) and Reason (R).
Assertion (A): A load-and-go assembler avoids the overhead of writing the object program out and reading it back in.
Reason (R): This can be done with either a one-pass or a two-pass assembler.
Choose the correct answer.
Q7. Test suite is consist of:
Q8. Match List I with List II.
List I
(A) Scenario testing
(B) Regression testing
(C) Component testing
(D) Beta testing
List II
(I) To verify the I/O behavior of test object
(II) User acceptance methodology
(III) No new bugs after changes in program
(IV) The documentation of a use case
Q9. ________ is intended to show that a system both conforms to its specifications and meets the expectations of the system customer.
Q10. For a function of two variable, boundary value analysis yields.
Q11. Fault-based testing technique is
Q12. Which of the following is/are behavioral testing technique(s)?
(A) Equivalence Partitioning
(B) Graph-Based Testing Method
(C) Boundary Value Analysis
(D) Data flow Testing
(E) Loop Testing
Choose the correct answer from the options given below:
Q13. Software validation mainly checks for inconsistencies between:
Q14. In the context of software testing, which of the following statements is/are NOT correct?
P: A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.
Q: A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.
R: A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage.
Choose the correct answer from the options given below:
Q15. Consider the following statements:
S1: White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of omission.
S2: Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors.
S3: Alpha testing is conducted at the developer's site by a team of highly skilled testers for software that is developed as a product to be used by many customers.
Which of the following is correct?
Q16. Consider the method mcq():
int mcq(boolean a, boolean b, boolean c, boolean d)
{
  int ans = 1;
  if (a) { ans = 2; }
  else if (b) { ans = 3; }
  else if (c) { if (d) { ans = 4; } }
  return ans;
}

Let M1 = number of tests to exhaustively test mcq(), M2 = minimum number of tests to achieve full statement coverage, and M3 = minimum number of tests to achieve full branch coverage. Then the value of (M1, M2, M3) is:
Q17. What is the normal order of activities in which traditional software testing is organised?
1. Integration Testing
2. System Testing
3. Unit Testing
4. Validation Testing
Q18. Which of the following testing techniques ensures that the software product runs correctly after the changes during maintenance?
Q19. Which of the following statement(s) is/are TRUE with regard to software testing?
I. Regression testing technique ensures that the software product runs correctly after the changes during maintenance.
II. Equivalence partitioning is a white-box testing technique that divides the input domain of a program into classes of data from which test cases can be derived.
Q20. For a program of k variables, boundary value analysis yields ______ test cases.
Q21. The cyclomatic complexity of a flow graph V(G), in terms of predicate nodes, is: [where P is the number of predicate nodes in the flow graph V(G)]
Q22. In software testing, how are error, fault and failure related to each other?
Q23. Verification:
(A) refers to the set of activities that ensure that software correctly implements a specific function
(B) gives answer to the question – Are we building the product right?
(C) requires execution of software
Q24. In which testing strategy are the requirements established during requirements analysis validated against the developed software?
Q25. Arrange the following levels of interrupt protection within the Linux Kernel in order of increasing priority:
(A) user mode programs
(B) bottom half interrupt handlers
(C) kernel system service routines
(D) top half interrupt handlers