Interviewwipro
Interviewwipro
In this section, we will discuss the technical Wipro interview questions and
answers.
Q4. State the advantages of time slicing in the CPU Scheduling in OS?
Ans. Time slicing is a feature that allows a task to run for a fixed time before
returning to a set of ready tasks. The scheduler determines executable jobs based
on priority and several other factors. The advantages of time slicing include:
The kernel of CPUs does not simply allocate every resource to a single task. It
equally prioritizes all processes. The CPU accomplishes it by running processes
slice by slice. A time slice is the brief period of time allotted to a process that
is executed by the CPU.
It can be very easily integrated into the system.
After a process is run for a fixed time, another process runs for the same amount
of time. To save the state of these preempted processes, the context switching
approach is utilised. This prevents losing the states of preempted processes.
Q5. State the advantages of indexing in DBMS.
Ans. Indexing in DBMS is a technique to improve database performance by reducing
the number of disc access that is required needed when a query is run. It is a data
structure strategy to quickly find and access data in a database. In terms of
advantages, it allows quick retrieval of data.
It is good for sorting. With indexing, the requirement for the post-fetch-sort
procedure can be eliminated. Indexing ensures that each record is uniquely
identified in the database.
With Eucalyptus, users can configure the network, and storage resources through the
Eucalyptus User Console. It can run virtual machine images such as Windows and
Linux. It supports storage area network devices and direct-attached storage.
The maintenance mode of Eucalyptus 3.3 allows cloud managers to do maintenance on
Eucalyptus clouds without any interruption to instances and cloud applications.
Eucalyptus 3.4 offers warm upgrade capabilities, better image management and
migrating tools as well as Identity and Access Management (IAM) roles.
Q8. What is the difference between DDL and DML commands in DBMS?
Ans. DDL is the data definition language that is used for defining data structures.
Through DDL, you can create a database scheme and can define constraints. DML is
the data manipulation language that is used for manipulating data. It is used for
adding, updating and retrieving the data. CREATE, DROP, RENAME and ALTER are some
of the basic commands in DDL. UPDATE, INSERT and MERGE are some of the basic
commands in DML.
Initiation: It is the first stage of the project’s life cycle. In this phase, we
determine the project’s initial scope and allocate resources.
Planning: At this stage, you need to gather details for the project to plan time,
cost, and resources. The amount of work required is also calculated to effectively
manages risk.
Execution: This step will involve processes to complete the project management
plan’s work. It includes monitoring, assessing, and regulating the progress of the
project. At this stage, you will be required to recognize issues in the project and
take necessary action.
Closure: At this stage, the aim will be the completion of all project activities,
disbanding the project team and closing the project with the customer through a
closure report.
Q10. What is Local storage in HTML 5?
Ans. Local storage is the type of HTML 5 offline storage that allows the user
string data to be save synchronously in the browser. It uses localStorage object
for storing data for the entire website on a permanent basis. This means that
stored local data will be available until you remove it.
An automatic duration variables is allocated on the stack. It comes and goes as the
functions are called and returned.
Dynamic memory allocation is where memory is more explicitly and flexibly managed
by allocating it from the heap. It is an area of memory structured for this
purpose.
In C, the library function malloc allocates a block of memory on the heap. This
program accesses the block of memory through a pointer that the malloc returns.
When this memory is no longer needed, pointer is passed to free that deallocates
the memory and be used for other purposes.