Questions


100
 Find out which part of a sentence has an error

A.  Either of the roads
B.  lead

C.  to the park
D.  No error

Answer: A
Created on: 21-Jan-2021


100
 

A ____________ is a named location on a disk where files are stored


A.  

Folder

B.  

Pod


C.  

Version

D.  

None of the above


Answer: A
Created on: 21-Jan-2021


100
 

What is the full form of CPU?


A.  

Central Processing Unit

B.  

Control Processing Unit


C.  

Control Principle Unit

D.  

All of the above


Answer: A
Created on: 21-Jan-2021


100
 

What can be considered as basic building blocks of a digital circuit ?


A.  

Logic Gate

B.  

Diode


C.  

Semi Conductor

D.  

CMOS


Answer: A
Created on: 21-Jan-2021


100
 

Breadth First Search graph and description


A.  
Step   Traversal   Description
1 Initialize the queue
2 We start from visiting S (starting node), and mark it as visited
3 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.
4 Next, the unvisited adjacent node from S is B. We mark it as visited and enqueue it.
5 Next, the unvisited adjacent node from S is C. We mark it as visited and enqueue it.
6 Now, S is left with no unvisited adjacent nodes. So, we dequeue and find A.
7 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.

 

B.  

C.  
D.  

Answer: A
Created on: 21-Jan-2021


100
 

Assertions


A.  

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.

 

B.  

C.  
D.  

Answer: A
Created on: 21-Jan-2021


100
 

Differentiate Value types with Reference types ?


A.  

Value 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)

                 Boolean char.

                Can be accessed directly      

 

Reference Types:

These data types store reference to another memory location that contains the data. Includes

Object

String

Arrays

Can be accessed through the members of the class.

B.  

C.  
D.  

Answer: A
Created on: 21-Jan-2021


100
 

What is a delegate ?


A.  

A delegate object encapsulates a reference to a method. In C++ they were referred to as function pointers.

B.  

C.  
D.  

Answer: A
Created on: 21-Jan-2021


100
 

Entity model


A.  

 

B.  

C.  
D.  

Answer: A
Created on: 21-Jan-2021


100
 

What is simplified view of transactions ?


A.  

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.

B.  

C.  
D.  

Answer: A
Created on: 21-Jan-2021