← Legal Metrology

Past Questions

Legal Metrology • Computer Science & Engineering Paper-III

What is the common measure for correctness?

A) Pages of documentation per KLOC
B) Errors per KLOC
C) Cost per KLOC
D) Defects per KLOC
Errors (or defects) per KLOC is a common software-correctness/quality metric.
Legal Metrology • Computer Science & Engineering Paper-III

Which multiplexing technique is used for digital signals?

A) FDM
B) TDM
C) WDM
D) PDM
TDM is the standard multiplexing technique for digital time-shared signals among these choices.
Legal Metrology • Computer Science & Engineering Paper-III

This is not a measurable characteristic of an object-oriented design

A) Completeness
B) Volatility
C) Size
D) Efficiency
Volatility describes change susceptibility rather than a standard structural OOD measurement like size or efficiency.
Legal Metrology • Computer Science & Engineering Paper-III

Large collection of files are called

A) Database
B) Records
C) Sectors
D) Fields
A large organized collection of files/data is commonly called a database.
Legal Metrology • Computer Science & Engineering Paper-III

As per equivalence rules for query transformation, selection operation distributes over

A) Union
B) Intersection
C) Set difference
D) Allofthe above
In the context of Computer Science & Engineering, the most appropriate and technically accurate answer is 'Allofthe above' (Option D).
Legal Metrology • Computer Science & Engineering Paper-III

How many layers are there in the OSI model?

A) 5
B) 6
C) 7
D) 8
In the context of Computer Science & Engineering, the most appropriate and technically accurate answer is '8' (Option D).
Legal Metrology • Computer Science & Engineering Paper-III

Which of the following is false regarding ACID properties in DBMS?

A) It can cause performance overhead
B) It decrease complexity of the system
C) It ensure data remains consistent
D) Itcan manage multiple transactions
In the context of Computer Science & Engineering, the most appropriate and technically accurate answer is 'It ensure data remains consistent' (Option C).
Legal Metrology • Computer Science & Engineering Paper-III

Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock?

A) lonly
B) TIonly
C) Both] and II
D) Neither I nor Ill
In the context of Computer Science & Engineering, the most appropriate and technically accurate answer is 'lonly' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

What is the main advantage of multiprogramming with variable partitions over fixed partitions?

A) Simpler memory management
B) Efficient memory utilization
C) Better I/O performance
D) Faster process execution
Based on established principles in Basic Computer Knowledge, the correct and most clinically/technically appropriate choice is 'Better I/O performance' (Option C).
Legal Metrology • Computer Science & Engineering Paper-II

In Deadlock Prevention Scheme, to ensure that the hold-and-wait condition never occurs in the system if:

A) Atleast one resource must be non-sharable
B) Atleast one resource must be sharable
C) Whenever a process requests a resource, it does not hold any other resources
D) Whenever a process requests a resource, it always hold another resource
In the context of Basic Computer Knowledge, the most appropriate and technically accurate answer is 'Atleast one resource must be non-sharable' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

Which of the following is NOT a benefit of using OOP concepts?

A) Code reusability
B) Improved code organization
C) Increased program execution speed
D) Enhanced code maintenance
OOP improves organization, reuse, and maintenance; it does not inherently increase execution speed.
Legal Metrology • Computer Science & Engineering Paper-II

A non-member function cannot access which data of the class?

A) Private data
B) Public data
C) Protected data
D) All of the above
A non-member function cannot directly access private data members without friendship/accessors.
Legal Metrology • Computer Science & Engineering Paper-II

What happens when an object is passed by reference?

A) Destructor is called at end of function
B) Destructor is called when called explicitly
C) Destructor is not called
D) Destructor is called when function is out of scope
Passing by reference does not create a separate copy parameter object, so no destructor is invoked merely for parameter passing.
Legal Metrology • Computer Science & Engineering Paper-II

What does “context switching” refer to in the context of process scheduling?

A) Moving a process to a different CPU
B) Allocating CPU time to different processes
C) Switching the CPU from one process to another
D) Switching the context of a process by changing its data
In the context of Basic Computer Knowledge, the most appropriate and technically accurate answer is 'Moving a process to a different CPU' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

What is the primary purpose of I/O buffering in an operating system?

A) Increase the speed of I/O
B) Storing I/O requests temporarily to synchronize operation
C) Decrease the speed of I/O
D) Managing hardware resources
Based on established principles in Basic Computer Knowledge, the correct and most clinically/technically appropriate choice is 'Increase the speed of I/O' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

What is the primary purpose of a “device driver” in an operating system?

A) Allocating CPU time to device operations
B) Managing external hardware device resources
C) Handling device-specific operations and communication
D) Detecting available devices
In the context of Basic Computer Knowledge, the most appropriate and technically accurate answer is 'Allocating CPU time to device operations' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

The ___ constructor is invoked when an object is passed by value to a function.

A) Parameterized Constructor
B) Default Constructors
C) Copy Constructor
D) Constructor of the function
Passing an object by value invokes the copy constructor to create the parameter object.
Legal Metrology • Computer Science & Engineering Paper-II

What is “page thrashing” in the context of virtual memory management?

A) A condition that frequently causes page faults
B) Frequent page replacement, causing a drop in performance
C) A page that consumes excessive CPU time
D) A process stuck in a deadlock
In the context of Basic Computer Knowledge, the most appropriate and technically accurate answer is 'Frequent page replacement, causing a drop in performance' (Option B).
Legal Metrology • Computer Science & Engineering Paper-II

Which of the following statements about constructors is true?

A) A class can have multiple constructors with the same parameter list
B) A constructor can have a return type
C) A constructor is automatically called when an object is created
D) Constructors cannot have parameters
The constructor is automatically invoked when an object is created.
Legal Metrology • Computer Science & Engineering Paper-II

What is the primary function of protection mechanisms in an OS?

A) Enhancing the security of CPU
B) Ensuring data privacy
C) Managing hardware resources
D) Do not allow processes to communicate
In the context of Basic Computer Knowledge, the most appropriate and technically accurate answer is 'Do not allow processes to communicate' (Option D).
Legal Metrology • Computer Science & Engineering Paper-II

The default visibility mode in inheritance is :

A) Protected
B) Public
C) Private
D) There is no default mode
For a C++ class, private is the default inheritance/member visibility mode when omitted in the relevant class declaration context.
Legal Metrology • Computer Science & Engineering Paper-II

Which type of OS handles multiple tasks one at a time and finishes each task before moving to the next one?

A) Interactive OS
B) Real-time OS
C) Batch OS
D) Time-sharing OS
Based on established principles in Basic Computer Knowledge, the correct and most clinically/technically appropriate choice is 'Time-sharing OS' (Option D).
Legal Metrology • Computer Science & Engineering Paper-II

In virtual memory management, what is “working set”?

A) The portion of memory containing OS code
B) A set of pages that are actively used by a process
C) The total memory space allocated to a process
D) A cache for file data
Based on established principles in Basic Computer Knowledge, the correct and most clinically/technically appropriate choice is 'The portion of memory containing OS code' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

Which of the following is unique to each process operating on the file and therefore must be kept separate from the on-disk file attributes?

A) File pointer
B) File ID and File-open count
C) Disk location of the file
D) Access rights
In the context of Basic Computer Knowledge, the most appropriate and technically accurate answer is 'File pointer' (Option A).
Legal Metrology • Computer Science & Engineering Paper-II

Which type of operators cannot be overloaded in C++?

A) Arithmetic operators (e.g., +, -, *,/)
B) Scope Resolution Operator (::)
C) Comparison operators (e.g.,<<,>>)
D) Logical operators (e.g., &&, ||)
In the context of Computer Science & Engineering, the most appropriate and technically accurate answer is 'Arithmetic operators (e.g., +, -, *,/)' (Option A).
Page 97
← Prev Next →