HTML
1. What is the preferred way for adding
a background color in HTML?
A.) <BODY
BACKGROUND="YELLOW">
B.)
<BODY STYLE="BACKGROUND-COLOR: YELLOW">
C.)
<BACKGROUND>YELLOW</BACKGROUND>
2. WHAT IS THE CORRECT HTML FOR CREATING A
HYPERLINK?
A.) <a name="#">A</a>
B.) <a
href="http://www.iVerticals.in">example</a>
C.) <a url="http://www.iVerticals.in
">example</a>
3. .How can you open a link
in a new browser window?
A.) <a
href="url" new>
B.)
<a href="url" target="new">
C.)
<a href="url" target="_blank">
4. What is the correct HTML for making a
checkbox?
A.) <checkbox>
B.) <input type="checkbox" />
C.) <input type="check" />
5. What is the correct HTML for making a
drop-down list?
A.) <input type="dropdown" />
B.)
<input type="list" />
C.)
<select>
6. What
is the correct HTML for inserting an image?
A.) <image
src="image.gif" alt="MyImage" />
B.) <img href="image.gif"
alt="MyImage" />
C.) <img
src="image.gif" alt="MyImage" />
7. What is the correct HTML for inserting
a background image?
A.) <img
src="background.gif" background />
B.) <body
background="background.gif">
C.) <background
img="background.gif">
8. Choose the correct HTML tag for the largest
heading
A )
<h6>
B.) <head>
C.) <h1>
Java Script
9. what is
the correct syntax for referring to an external script called abc.js
A. <script
href=" abc.js">
B. <script name="
abc.js">
C. <script
src=" abc.js">
10. How do you write "Hello World" in
an alert box?
A.)
alertBox("Hello World")
B.)
msgBox("Hello World")
C.)
alertBox="Hello World"
D.)
alert("Hello World")
11. What is
the correct way to write a JavaScript array?
A.) var txt = new
Array="tim","kim","jim"
B.) var txt
= new Array(1:"tim",2:"kim",3:"jim")
C.) var txt = new
Array:1=("tim")2=("kim")3=("jim")
D.) var txt
= new Array("tim","kim","jim")
12. What is the correct JavaScript syntax for
opening a new window called "w2" ?
A.) w2=window.open("http://www.iVerticals.in");
B.) w2=window.new("http://www.iVerticals.in");
ASP.NET
13. What is the base class from which all Web Forms inherit
from?
A.) Master Pages
B.)
Page Class
C.)
Session Class
D.)
None of the Above
14 Which of the following must be done in order to
connect data from some data resource to
Repeater control?
a) Set the DataSource property
b) Call the DataBind method
c) Both A) and B)
d) None of the Above
15. Which of the following
transfer execution directly to another page?
a) Server.Transfer
b)
Response.Redirect
c)
Both A) and B)
d) None of the Above
16. If one has two
different web form controls in a application and if one wanted to know whether the values in the above two different
web form control match what control must be used?
a) DataList
b) GridView
c)
CompareValidator
d)
Listview
17. GIVE ONE WORD: In .NET the operation of
reading metadata and using its contents is known as
a) Reflection
b) Enumeration
c) Binding
d) Serialization
18. The actual work process of ASP.NET is taken care by
a)
inetinfo.exe
b) aspnet_isapi.dll
c) aspnet_wp.exe
d) None of the Above
19. Which of the
following denote the property in every validation control?
a)
ControlToValidate property
b) Text property
c) Both A) and B)
d) None of the Above
20. What tags one need to add within the
asp:datagrid tags to bind columns manually?
a) Set
AutoGenerateColumns Property to false on the datagrid tag
b) Set AutoGenerateColumns Property to true on the datagrid tag
c) It is not possible to do the operation
d) Set AutomaunalColumns Property to true on the datagrid tag
21. Which method do you invoke on the Data
Adapter control to load your generated dataset
a) Fill ( )
b) ExecuteQuery ( )
c) Read ( )
22. In ASP.NET the
sessions can be dumped by using
a) Session.Dump
b) Session.Abandon
c)
Session.Exit
d) None of the Above
MS Sql
Server
23. which
sql statement is used to return only different values
a) SELECT DIFFERENT
b) SELECT UNIQUE
c) SELECT DISTINCT
d) SELECT ALL
b) SELECT UNIQUE
c) SELECT DISTINCT
d) SELECT ALL
24. Which SQL keyword is used to sort the
result-set ?
a) ORDER BY
b) SORT
c) ORDER
d) SORT BY
b) SORT
c) ORDER
d) SORT BY
Stueent
|
|||
Name
|
Roll_No
|
Class
|
Combination
|
A
|
1
|
10
|
Science
|
B
|
2
|
10
|
Arts
|
C
|
3
|
10
|
Science
|
D
|
4
|
9
|
Science
|
E
|
5
|
9
|
Arts
|
A
|
6
|
9
|
Arts
|
Result
|
||
Roll_No
|
Marks
|
Combination
|
1
|
80
|
Physics
|
1
|
70
|
Chemistry
|
6
|
20
|
History
|
6
|
30
|
Geography
|
4
|
50
|
Physics
|
25.Write a
query to find out the name of student having highest marks.
26. Write a
query to find out how many students are in class 10 in science combination.
27. Delete
the record of student having marks 30 in one subject.
28. Write a
query to list the records with name. Roll_No, Subject, and marks.
29. Write a
stored procedure to insert a record in student table.
C#.Net
30. Write a
function to return the largest number among three numbers A,B and C.
31. Write a
function to display the result of following series up to 100 times.
1+1+2+2+3+3+………….
1+1/22+1/32+……………
32. Write a
function to find sum of digits of number 98347
nice One.........
ReplyDelete