header1.html

Showing posts with label .Net Framework quiz. Show all posts
Showing posts with label .Net Framework quiz. Show all posts

Saturday, 26 April 2014

JavaScript Quiz


JavaScript Quiz
1.Which of the following is not an event in JavaScript?
onunload
onremove
ondblclick
onchange


2.True or False-"All variables are of object type in JavaScript".
True
False


3.What will be o/p of "2"+2+1 JavaScript statement?
5
221
23
Error


4.What Built-in javascript function back() does?
Returns to previous function
Closes the specified window
Returns to the previous URL
No such function


5. A ________ box allows the user to enter input by providing a text box.
confirm
prompt
alert
drop


6.Which of the following looping structure is not available in JavaScript ?
for
while
do-while
foreach


7.The Undefined value Javascript means the variable used in code doesn't exist or is not assigned any value or the property doesn't exist.Ture or False?
Ture
False


8.How to disable an HTML object using JavaScript?
document.getElementById("myObject").visible = false;
document.getElementById("myObject").disabled = true;
document.getElementById("myObject").visibility = false;
document.getElementById("myObject").disable = true;


9.It is easy to manipulate cookies in JavaScript with the document.cookie property.True/False?
True
False



10.What will be o/p of 2+1+"3" JavaScript statement?
213
6
33
Error


Thursday, 4 April 2013

.NET Framework Quiz-1


After successful implementation of My First Quiz on Computer Awareness,we are now moving to some technical stuff let's start from .NET Framework.Click hereto Check Quiz.
.NET Framework Quiz-1
1.Which of the following define the rules for .Net Languages?
GAC
CLS
CTS
CLR


2.___________ namespace is not defined in the .NET class library.
System.CodeDom
System
System.IO
System.Text


3. Dot Net Framework consists of :
Common language runtime
Set of class libraries
Common language runtime and set of class libraries
None of above


4.Which of the following statements are correct about JIT?
JIT compiler compiles instructions into machine code at run time.
The code compiler by the JIT compiler runs under CLR.
The instructions compiled by JIT compilers are written in native code.
The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.
1,2,3
2,4
3,4
1,2


5.Which of the following is the root of the .NET type hierarchy?
System.Type
System.Base
System.Parent
System.Object


6.Code that targets the Common Language Runtime is known as
Unmanaged
Distributed
Managed Code
Native Code


7.Which of the following statements correctly define .NET Framework?
It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services.
It is an environment for developing, building, deploying and executing only Web Applications.
It is an environment for developing, building, deploying and executing Distributed Applications.
It is an environment for developing, building, deploying and executing Web Services.


8.How many types of compilers availbale under CLR?
4
2
1
3


9.Which of the following statements is correct about Managed Code?
Managed code is the code that is compiled by the JIT compilers.
Managed code is the code where resources are Garbage Collected.
Managed code is the code that runs on top of Windows.
Managed code is the code that is written to target the services of the CLR.


10.Which of the following utilities can be used to compile managed assemblies into processor-specific native code?
gacutil
ngen
sn
ildasm