Professional Documents
Culture Documents
a) Minb)Maxc)Lengthd) Sum
5. Answer the Below ScenarioTabie 1 w>Manager Table 1
Employee
a) True
b) False
application
A) @NUM
B) eOROWNUM
C)e@ROWCOUNT
D) eacoUNT
where Nmbr is 1.
whe re Nmbr is O and add 3
Write a query to add 2
I1- Algorithm
**
b)
****
***
c) 12345
1234
123
12
ll-0OPS
2. A) Interface
contains no definition
B) Interface for method but
cannot contain
any Event
only declaration
a
Statement declaration
Ais True and
Both Stater Statement BIs
Falseb) Statement A is false and Statement P is True
ent A and B are
Give the Out Put Trued) Both Statement A and B are False
of the
class Test Following programme
static void
Main(string[l) args)
Test t= new Test();
t.SimpleMethod();
Console.ReadLine();
public void SimpleMethod()
inti = 100;
int b = 10;
string a = "10";
stringsum=i+b+a;
Console.WriteLine(sum);
a) Display Hello World !Ib] Compile Time Errorc)Run Time Errord)None of the above
5. Give the Out Put of the Following programme
Class Program
int a, b
static void Main(string [l args)
a= a;
b b
Dublic void GetVariables()
a)
1,2b]Errore)0,0d)
A) Method
None of the above
B) Method
overloading is executed at runtime
overiding executed at
is
compile timea) Statement A is true and
talse.b]Statement Ais false and Statement B
Statement 5 i5
Statement Aand B are fhlse is true.cjBoth
Statement A and Bare trued)Both
7. Which statement is true
about Static
a) Lazy Bind ing?
Bindingb]Early Bindingc)|Late Bindingd) None of the above
8.Which statement is
not true about
Collection of Methods and Class?a]Class provides Abstraction and Encapsulations.b)ClassIsa
Collection of Namespace Function.clClass concrete representation of an entity.djClass is a
is
staticinti=1;
Ifn>=5) return n;
n=n+i,
++
return f{n);
a) 7b]5c)8d)6
IV-Scripts and CSS
1. How to refer an externalava Script file Called "Demo.js" ?a) <script href="Demo.js"/>b)<script
b) int[] i;
i new int (5,
3, 4,);
) int] i (12, 13,
20);
d) int[3] i= {12, 13,
20)
4. Which of the
following is the right way to implement interface
Interface ITestinterface given below?
intTestFunc(int b);
Class TestClass
b) Class TestClass: Interface. ITestinterface
string_name = string.Empty;
this._name =_name;
a) Code will run and display the Jon b)It will throw a compile time Error
-) k wll) ehrow=runtime Error
d) Code will run and display nothing
6. What will be the Output of the following Code?
class Program
Sery
S a v e 1iansmmar
Program ()
a) 1,3b)1,2c)4d)2,3
10. Why is Global.asax used?
a)Declare Global variablesb}Used to implement Web.configc)Implement applicatior and session
level events d)No of the above
11. Given the basic ER and relational models, which of the following is INCORRECT?
a) In a row of relational table, an attribute can have more than one value
b) An attribute of an entity can have more than one value
cAn attribute of an entity can be composite
d) Ina row ofa relational table, an attribute can have exactly one value or a NULL value.
12. Which of the following modifer is used when a virtual method is redefined by a derived class?
a) Overrideb]overloadc)overrideabled)dooverride
13. Which of the following statement is not true about Session in Asp.Net?
a) It stores user states and data to all over the application.
b) Stores every user data separately.
cSession is secure and transparent from user because session object is stored on the local
machine.
d) Easy mechanism to implement and we can store any kind of object.
14. Which of the
following navigation methods is not a server side method ?
a)
Response.Redirect(|b]Server.Transfer(lclWindow.Open(jd)Server.Execute()
15. What Does MSIL stands for?
a)Microsoft Information Languageb] Microsoft Intermediate Languagec) Microsoft Intellectual
Language.d)None of the above