Escolar Documentos
Profissional Documentos
Cultura Documentos
3.
4.
5.
6.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
8.
In CSS tables, the possible values for the captionside property can have the following values.
A) top, bottom, left or right
B) top, bottom, center, left or right
C) top or bottom
D) left or right
9.
A) i, ii and iv only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv
HTML
1.
2.
A) //...................//
B) <!..................>
C) /*..................*/
D) None of the above
17. State whether True or False.
i) Any inline style sheet takes highest priority.
ii) Any rule defined in <style>
...........................</style> tag will override rules
defined in any external style sheet file.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
18. ...................... is used to import an external style
sheet in a manner similar to the <link> element.
A) @insert
B) @import
C) #import
D) #insert
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
b. < u >
c. <i>
d. <img>
The _____ character tells browsers to stop
tagging the text
a. ?
b. /
c. >
d. %
Marquee is a tag in HTML to
a. mark the list of items to maintain inqueue
b. Mark the text so that it is hidden in browser
c. Display text with scrolling effect
d. None of above
When should you use path along with file
name of picture in IMG tag?
a. path is optional and not necessary
b. when the location of image file and html file
are different
c. when image file and html file both are on same
location
d. path is always necessary when inserting image
Which attribute youll use with TD tag to
merge two cells horizontally?
a. merge=colspan2
b. rowspan=2
c. colspan=2
d. merge=row2
<TITLE> </TITLE> tag must be within
________
a. Title
b. Form
c. Header
d. Body
Text within <EM> </EM> tag is displayed
as ________
a. bold
b. italic
c. list
d. indented
Text within <STRONG> </STRONG> tag
is displayed as ________
a. bold
b. italic
c. list
d. indented
<UL> </UL> tag is used to ________
a. display the numbered list
b. underline the text
c. display the bulleted list
d. bold the text
Which tag is used to display the numbered
list?
a. <OL></OL>
b. <DL></DL>
16.
17.
18.
19.
20.
c. <UL></UL>
d. <LI></LI>
Which tag is used to display the large font
size?
a. <LARGE></LARGE>
b. <BIG></BIG>
c. < SIZE ></SIZE>
d. <FONT></FONT>
<SCRIPT> </SCRIPT> tag can be placed
within ________
a. Header
b. Body
c. both A and B
d. none of the above
using <P> tag will
a. start a new paragraph
b. break the line
c. end the current paragraph
d. none of the above
<TD> </TD> tag is used for ________
a. Table heading
b. Table Records
c. Table row
d. none of the above
Which of the following is an attribute of
<Table> tag?
a. SRC
b. LINK
c. CELLPADDING
d. BOLD
JAVASCRIPT
1.
2.
3.
4.
A. <js>
B. <scripting>
C. <script>
D. <javascript>
5. Which types of image maps can be used with
JavaScript?
A. Server-side image maps
B. Client-side image maps
C. Server-side image maps and Client-side
image maps
D. None of the above
6. What does the <noscript> tag do?
A. Enclose text to be displayed by nonJavaScript browsers.
B. Prevents scripts on the page from executing.
C. Describes certain low-budget movies.
D. None of the above
7. If para1 is the DOM object for a paragraph, what
is the correct syntax to change the text within the
paragraph?
A. "New Text"?
B. para1.value="New Text";
C. para1.firstChild.nodeValue= "New Text";
D. para1.nodeValue="New Text";
8. Which of the following is not considered a
JavaScript operator?
A. new
B. this
C. delete
D. typeof
9. Which of the following event fires when the form
element loses the focus: <button>, <input>,
<label>, <select>, <textarea>?
A. onfocus
B. onblur
C. onclick
D. ondblclick
10. JavaScript is interpreted by _________
A. Client
B. Server
C. Object
D. None of the above
11. Which of the following is the structure of an if
statement?
A. if (conditional expression is true) thenexecute
this codeend if
B. if (conditional expression is true)execute this
codeend if
C. if (conditional expression is true) {then
execute this code>->}
D. if (conditional expression is true) then
{execute this code}
12. How to create a Date object in JavaScript?
A. dateObjectName = new Date([parameters])
B. dateObjectName.new Date([parameters])
13.
14.
15.
16.
17.
18.
19.
DBMS
values(1006,Ted,Finance, );
d) Error in insert into Employee
values(1008,Ross,Sales,20000);
7. Select name
relation.
from instructor
the relations
order by name;
b) Any
c) Same
d) Ascending
A) Weak entity
B) Strong entity
D) Dependent entity
9. Which of the following statements contains an error?
GELLER;
MINUS
(SELECT DISTINCT r.sid
13.
Find the names of these cities with temperature and
JAVA
[B] final
[C] static
[C]. constructors
[D]. The JVM checks the output of any Java program and
deletes anything that doesn't make sense.
[B] Java provides two operators to do left shift <<< and <<
Q4. The order of the three top level elements of the java
source file are
[A] TRANSACTION_READ_UNCOMMITTED
[A] friendly
[B] TRANSACTION_READ_COMMITTED
[C] TRANSACTION_SERIALIZABLE
[D] Java.util.Collection
[D] TRANSACTION_REPEATABLE_READ
[A] try
[A] PreparedStatement
[B] ctach
[B] ParameterizedStatement
[C] throw
[D] throwing
[B] NullPointerException
[C] NumberFormatException
[D] None of these
[A] Objectcopy()
[B] Exception
[B] copy()
[C] Compilation fails.
[C] Object clone()
[D] Arithmetic Exception
[D] clone()
Q14. Which of these keywords can be used to prevent
inheritance of a class?
[A] super
[B] constant
[C] Class
[D] final
Q15. Which interface provides the capability to store
objects using a key-value pair?
[A] Java.util.Map
[B] Java.util.Set
[C] Java.util.List
[B] printExceptionMessage()
[C] printStackMessage()
[D] printExceptionTrace()
.Net Questions
A - The Object Type is the ultimate base class for all data
types in C# Common Type System (CTS).
B - Object is an alias for System.Object class.
C - The object types can be assigned values of any other
types, value types, reference types, predefined or userdefined types.
D - All of the above.
Q2. Which of the following statements is correct about
encapsulation?
A - Encapsulation is defined as the process of enclosing
one or more items within a physical or logical package.
B - Encapsulation, in object oriented programming
methodology, prevents access to implementation details.
C - Abstraction allows making relevant information visible
and encapsulation enables a programmer to implement the
desired level of abstraction.
D - All of the above.
Q3. Which of the following is correct about C#?
A - C# is a modern, general-purpose, object-oriented
programming language developed by Microsoft.
B - C# was developed by Anders Hejlsberg and his team
during the development of .Net Framework.
C - C# is designed for Common Language Infrastructure
(CLI).
D - All of the above.
Q4. Which of the following operator represents a
conditional operation in C#?
A - ?:
B - is
C - as
D-*
A - true
B false
Q8. Which of the following is the default access specifier
of a class member variable in C#?
A - Private
B - Public
C - Protected
D Internal
Q9. You can define one namespace inside another
namespace.
A - true
B false
Q10. Which class is used for MS Access connectivity with
C# (.net).
A - AccessDbConnection
B - MsDbConnection
C - OleDbConnection
D - DbConnection
Q11. Which class decides in C# .net project to set the start
form in windows application.
A start.cs
B program.cs
C home.cs
D new.cs
Q12. Which of the following statements are correct about
Inheritance in C#.NET?
1.
2.
3.
4.
5.
A 1,2,4
B 2,4,5
C 1,3,5
D 2,4
Q13. Which of the following should be used to implement
a 'Has a' relationship between two entities?
A. Polymorphism
B. Templates
C. Containership
D. ncapsulation
E. Inheritance
Q14. In an inheritance chain which of the following
members of base class are accessible to the derived class
members?
1. static
2. protected
3. private
4. shared
5. public
A.
1, 3
B.
2, 5
C.
3, 4
D.
4, 5
Q15. Which of the following statements is correct about the
C#.NET code snippet given below?
class Student s1, s2; // Here 'Student' is a userdefined class.
s1 = new Student();
s2 = new Student();
A.
Contents of s1 and s2 will be exactly
same.
B.
The two objects will get created on the
stack.
C.
Contents of the two objects created will
be exactly same.
D.
The two objects will always be created
in adjacent memory locations.
E.
We should use delete() to delete the two
objects from memory.
Q16. Which of the following statements is correct about
classes and objects in C#.NET?
A.
Class is a value type.
B.
Since objects are typically big in size,
they are created on the stack.
C.
Objects of smaller size are created on
the heap.
D.
Smaller objects that get created on the
stack can be given names.
E.
Objects are always nameless.
Q17. Which of the following security features can .NET
applications avail?
1.
2.
3.
4.
5.
PIN Security
Code Access Security
Role Based Security
Authentication Security
Biorhythm Security
A.
1, 4, 5
B.
2, 5
C.
2, 3
D.
3, 4
Q18. Which of the following are parts of the .NET
Framework?
1.
2.
3.
4.
5.