Вы находитесь на странице: 1из 7

A#Q1. jQuery code to set the background color of all span elements to blue?

A. $(�span�).style(�background-color�,�blue�);
B. $(�span�).manipulate(�background-color�,�blue�);
C. $(�span�).css(�background-color�,�blue�);
D. $(�span�).layout(�background-color�,�blue�);
A#Q1ANS=C

A#Q2. $(�span.intro�). What does it select?


A. The first span element with class=�intro�
B. The first span element with id=�intro�
C. All span elements with id=�intro�
D. All span elements with class=�intro�
A#Q2ANS=D

A#Q3. $(�div#id1 .cl1?). What does it select?


A. The first element with id=�cl1? inside any div element with class=�id1?
B. All elements with class=�cl1? inside the first div element with id=�id1?
C. All div elements with id=�id1? or class=�cl1?
A#Q3ANS=B

A#Q4. $(document).ready(function() {
// Some code.
});
The above code is used to..
A. Make sure no code is executed till the entire page is fully loaded
B. Make sure no code is executed till the DOM is fully loaded
C. Both A and B
D. Neither A nor B
A#Q4ANS=B

A#Q5. AJAX and jQuery


a) jQuery provides a rich set of methods (functions) for AJAX web development.
b) With jQuery AJAX, you can request TXT, HTML, XML or JSON data from a remote
server using both HTTP Get and HTTP Post.
c) a and b
d) AJAX and jQuery are cross-platform (you can develop in Windows and serve on a
Unix platform)
A#Q5ANS=C

A#Q6.Consider the following code snippet

<script src="jquery-1.4.2.min.js"></script>

What does the min mean?


A. Minimised version
B. Miniature
C. Minimised parameters
D. Minimum value
A#Q6ANS=A

A#Q7.Which of the following is used for parsing JSON text?


A. jQuery.each()
B. jQuery.parseJSON()
C. jQuery.noConflict()
D. jquery.all()
A#Q7ANS=B

A#Q8. Which of the following selector matches all elements of a type?


A. The Type Selector
B. The Universal Selector
C. The Descendant Selector
D. The Class Selector
A#Q8ANS=A

A#Q9. AJAX stands for


A. asynchronous javascript and xml
B. advanced JSP and xml
C. asynchronous JSP and xml
D. advanced javascript and xm
A#Q9ANS=A

A#Q10. Which of the following is true about package.json?


A. package.json is present in the root directory of any Node application/module.
B. package.json is used to define the properties of a package.
C. package.json can be used to update dependencies of a Node application.
D. All of the above.
A#Q10ANS=D

A#Q11. What makes Ajax unique?


A. It makes data requests asynchronously.
B. It uses C++ as its programming language.
C. It works the same with all Web browsers.
D. It works as a stand-alone Web-development tool.
A#Q11ANS=A

A#Q12.Ajax is a programming language.


A. True
B. False
A#Q12ANS=B

A#Q13.In PHP, which of the following function is used to insert content of one php
file into another php file before server executes
A. include[]
B. #include()
C. include()
D. #include{}
A#Q13ANS=C

A#Q14. What is the best all-purpose way of comparing two strings?


A. Using the strpos function
B. Using the == operator
C. Using strcasecmp()
D. Using strcmp()
A#Q14ANS=D

A#Q15. In phpWhich method is used to getting browser properties?


A. $_SERVER[�HTTP_USER_AGENT�];
B. $_SERVER[�PHP_SELF�]
C. $_SERVER[�SERVER_NAME�]
D. $_SERVER[�HTTP_VARIENT�]
A#Q15ANS=A

A#Q16. $str=�3dollars�; $a=20; $a+=$str; print($a); ?> Output ?


A. 23dollars
B. 203dollars
C. 320dollars
D. 23
A#Q16ANS=D
A#Q17. What will be the output of the following PHP code?
<?php
function calc($price, $tax=��)
{
$total = $price + ($price * $tax);
echo �$total�;
}
calc(42);
?>
A. Error
B. 0
C. 42
D. 84
A#Q17ANS=C

A#Q18. Which directive determines how the session information will be stored?
A. save_data
B. session.save
C. session.save_data
D. session.save_handler
A#Q18ANS=D

A#Q19. Which one of the following methods is responsible for sending the query to
the database?
A. query()
B.send_query()
C.sendquery()
D.query_send()
A#Q19ANS=A

A#Q20. Which function effectively deletes all sessions that have expired?
A. session_delete()
B. session_destroy()
C. session_garbage_collect()
D. session_expired_delete()
A#Q20ANS=C

A#Q21. Which of following commenting is supported by Php


a. //
b. #
c. /* */
d . All of above
A#Q21ANS=D

A#Q22. When defining identifier in PHP you should remember that


A. Identifier are case sensitive. So $result is different than $ result
B. Identifiers can be any length
C. Both of above
D. None of above
A#Q22ANS=C

A#Q23. Identify the invalid identifier


A. my-function
B. size
C. �some word
D. This&that
A#Q23ANS=D
A#Q24. Which one of the following statements is used to create a table?
A. CREATE TABLE table_name (column_namecolumn_type);
B. CREATE table_name (column_typecolumn_name);
C. CREATE table_name (column_namecolumn_type);
D. CREATE TABLE table_name (column_typecolumn_name);
A#Q24Ans=A

A#Q25. The common element which describe the web page, is ?


A. heading
B. paragraph
C. list
D. All of these
A#Q25ANS=D

A#Q26. From which tag descriptive list starts ?


A. <LL>
B. <DD>
C. <DL>
D. <DS>
A#Q26ANS=C

A#Q27. Correct HTML tag for the largest heading is


A. <head>
B. <h6>
C. <heading>
D. <h1>
A#Q27ANS=D

A#Q28. Markup tags tell the web browser


A. How to organise the page
B. How to display the page
C. How to display message box on page
D. None of these
A#Q28ANS=B

A#Q29. www is based on which model?


A. Local-server
B. Client-server
C. 3-tier
D. None of these
A#Q29ANS=B

A#Q30. HTML is a subset of


A. SGMT
B. SGML
C. SGMD
D. None of these
A#Q30ANS=B

A#Q31. Which of the following is a container?


A. <SELECT>
B. <Value>
C. <INPUT>
D. <BODY>
A#Q31ANS=A

A#Q32. What is the correct syntax of the declaration which defines the XML
version?:
A. <xml version="A.0" />
B. <?xml version="A.0"?>
C. <?xml version="A.0" />
D. None of the above
A#Q32ANS=B

A#Q33. DTD includes the specifications about the markup that can be used within the
document, the specifications consists of all EXCEPT
A. the browser name
B. the size of element name
C. entity declarations
D. element declarations
A#Q33ANS=A

A#Q34. To use the external DTD we have the syntax


A. <?xml version=�A.0� standalone=�no�?>
<! DOCTYPE DOCUMENT SYSTEM �order.dtd�?>
B. <?xml version=�A.0� standalone=�yes�?>
<! DOCTYPE DOCUMENT SYSTEM �order.dtd�?>
C. <?xml version=�A.0� standalone=�no�?>
<! DOCTYPE DOCUMENT �order.dtd�?>
D. <?xml version=�A.0� standalone=�yes�?>
<! DOCTYPE DOCUMENT SYSTEM �order.dtd�?>
A#Q34ANS=A

A#Q35. The XML DOM object is


A. Entity
B. Entity Reference
C. Comment Reference
D. Comment Data
A#Q35ANS=B

A#Q36. Which of the following are the background properties in CSS?


i. background-color
ii. background-image
iii. background-repeat
iv. background-position
v. background

A. i, ii, iii and iv only


B. i, ii, iii and v only
C. i, ii, iv and v only
D. All i, ii, iii, iv and v
A#Q36ANS=D

A#Q37. State whether the statement is/are True.


i. font-family property is used to change the face of a font.
ii. font-variant property is used to create small-caps effects.
A. i-True, ii-False
B. i-False, ii-True
C. i-True, ii-True
D. i-False, ii-False
A#Q37ANS=C

A#Q38. The CSS links properties are


A. :link, :visited, :hover, :active
B. :link, :visit, :hover, :active
C. :link, :visited, :over, :active
D. :link, :visited, :hover, :active, :inactive
A#Q38ANS=C
A#Q39. Internet Explorer uses �������.. property to create transparent images.
A. -moz-opacity:x
B. filter: alpha(opacity=x)
C. Both of the above
D. None of the above
A#Q39ANS=B

A#Q40. The different ways to associate styles with a HTML document is/are
A. Embedded CSS with <style> element
B. Inline CSS with style attribute.
C. External CSS with <link> element.
D. All of the above
A#Q40ANS=D

A#Q41. Which of the following is correct CSS syntex for using font property?
A. <p style=�font: italic, bold, 15px;�> �����. </p>
B. <p style=�font-style: italic font-weight: bold font-size: 15px;�> ������. </p>
C. <p style=�font: italic bold 15px;�> �������.. </p>
D. None of the above
A#Q41ANS=C

A#Q42. State True of False for the CSS table properties.


i) The border-spacing specifies the width that should appear between table rows.
ii) The empty-cells specifies whether the border should be shown if a cell is
empty.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
A#Q42ANS=B

A#Q43. In CSS tables, the possible values for the caption-side 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
A#Q43ANS=A

A#Q44. The ������. property indicates whether a cell without any content should
have a border displayed.
A. blank-cells
B. empty-cells
C. nocontent-cells
D. noborder-cells
A#Q44ANS=B

A#Q45. The ������� specifies whether a border should be solid, dashed line, doted
line, double line, groove etc.
A. border-layout
B. border-decoration
C. border-style
D. border-weight
A#Q45ANS=C

A#Q46. What layout is used for providing 100% width in Bootstrap?


A. Fixed layout
B. Fluid layout
C. Both (a)and (b)
D. None of the above
A#Q46ANS=B

A#Q47. Who developed Bootstrap?


A. James gosling.
B. Mark Otto and Jacob Thornton
C. Dennis Ritchie
D. None of these
A#Q47ANS=B

A#Q48. Bootstrap global default font-size and line-height is :


A. 15px, 1.428 respectively
B. 14px, 1.5 respectively
C. 14px, 1.428 respectively
D. None
A#Q48ANS=C

A#Q49. Which of the following contextual class is used for warning purpose?
A. .active
B. .warning
C. danger
D. All of the above.
A#Q49ANS=B

A#Q50. Which of the following is used to create a black navigation bar?


A. .navbar-black
B. .navbar-dark
C. .navbar-default
D. .navbar-inverse
A#Q50ANS=D

Вам также может понравиться