A ____________ is a named location on a disk where files are stored
None of the above
What is the full form of CPU?
Central Processing Unit
Control Processing Unit
Control Principle Unit
All of the above
What can be considered as basic building blocks of a digital circuit ?
Breadth First Search graph and description
|Initialize the queue
|We start from visiting S (starting node), and mark it as visited
|We then see an unvisited adjacent node from S. In this example, we have three nodes but alphabetically we choose A, mark it as visited and enqueue it.
|Next, the unvisited adjacent node from S is B. We mark it as visited and enqueue it.
|Next, the unvisited adjacent node from S is C. We mark it as visited and enqueue it.
|Now, S is left with no unvisited adjacent nodes. So, we dequeue and find A.
|From A we have D as unvisited adjacent node. We mark it as visited and enqueue it
At this stage, we are left with no unmarked (unvisited) nodes. But as per the algorithm we keep on dequeuing in order to get all unvisited nodes. When the queue gets emptied, the program is over.
An assertion is any condition that the database must always satisfy. Domain constraints and referential-integrity constraints are special forms of assertions. However, there are many constraints that we cannot express by using only these special forms. For example, “Every department must have at least five courses offered every semester” must be expressed as an assertion. When an assertion is created, the system tests it for validity. If the assertion is valid, then any future modification to the database is allowed only if it does not cause that assertion to be violated.
Differentiate Value types with Reference types ?
These data types store their data Directly as Values in memory. Includes,
Numeric Types(int32, short, single)
Structures (Custom data types based On System.ValyeType)
Enumerations (Custom types that represent a defined set of values)
Can be accessed directly
These data types store reference to another memory location that contains the data. Includes
Can be accessed through the members of the class.
What is a delegate ?
A delegate object encapsulates a reference to a method. In C++ they were referred to as function pointers.
What is simplified view of transactions ?
1.We ignore operations other than read and write instructions.
2.We assume that transactions may perform arbitary computations on data in local buffers in between reads and writes.
3.Our simplified schedules consist of only read and write instructions.