Friday, August 12, 2011

10 .Net Interview Questions

Question 1
Inside which HTML element do we put the JavaScript?
Options:
a. <javascript>
b. <is>
c. <scripting>
d. <script>


Solution
The correct answer is
"D = <script>"

Question 2
Which HTML tag is used to define an internal style sheet?
Options:
a. <css>
b. <style>
c. <body>
d. <script>

Solution
The correct answer is
"B = <style>"

Question 3
How do you write "Hello World" in an alert box?
Options:
a. alert("Hello World")
b. alertbox("Hello World")
c. alert="Hello World"
d. alert Box="Hello World"

Solution
The correct answer is
"A = alert("Hello World")"

Question 4
CSS stands for?
Options:
a. Creative Style Sheets
b. Colorful Style Sheets
c. Computer Style Sheets
d. Cascading Style Sheets

Solution
The correct answer is
"D = Cascading Style Sheets"

Question 5
Which SQL statement is used to update the data in database?
Options:
a. UPDATE
b. MODIFY
c. SAVE
d. SAVE AS

Solution
The correct answer is
"A = UPDATE"

Question 6
Which SQL statement is used to extract data from the database?
Options:
a. SELECT
b. EXTRACT
c. OPEN
d. GET

Solution
The correct answer is
"A = SELECT"

Question 7
ASP stands for?
Options:
a. Active Standard Pages
b. A Server Pages
c. All Standard Pages
d. Active Server Pages

Solution
The correct answer is
"D = Active Server Pages"


Question 8
SQL stands for?
Options:
a. Structured Query Language
b. Strong Question Language
c. Structured Question Language
d. Sequence Query Language

Solution
The correct answer is
"A = Structured Query Language"

Question 9
Which SQL statement is used to insert a new row in a table?
Options:
a. ADD
b. ADD RECORD
c. INSERT INTO
d. INSERT NEW

Solution
The correct answer is
"C = INSERT INTO"

Question 10
What is the correct JavaScript syntax to write "Hello World"?
Options:
a. document.write("Hello World")
b. response.write("Hello World")
c. ("Hello World")
d. "Hello World"

Solution
The correct answer is
"A = document.write("Hello World")"

No comments:

Post a Comment