Skip to main content

WEB APPLICATION DEVELOPMENT (WAD) UNIT - III

1)      Which is the correct syntax of JQuery

a.       $selector.action()

b.      $(selector).action()

c.       E of attribute$(selector).(action)()

d.      None of above

2)      The JQuery element selector select elements based on

a.       Attribute name

b.      Attribute type

c.       Element name

d.      Value of attribute

3)      The JQuery #id selector use which attribute of an HTML tag to find the specific element

a.       Br

b.      Id

c.       I

d.      Priority

4)      What is the description of this JQuery syntax of selector.$(“*”)

a.      Select all elements

b.      Select all classes

c.       Select all attributes

d.      None of above

5)      Commonly used jQuery events methods are

a.       Ready(), hide()

b.      React(), click()

c.       Ready(), click()

d.      Click(), hide()

 

6)      What are 3 jQuery methods for DOM

a.       Text(), ready(), click()

b.      Text(), html(), val()

c.       Text(), click(),select()

d.      Head(), html(), body()

7)      The jQueryattr() method is used for what

a.      To get attribute values

b.      To count the attributes

c.       Call the attribute

d.      None of above

8)      Which method is one of the jQuery sliding methods

a.       Down slide()

b.      Sdown()

c.       Sldown()

d.      Slide down()

9)      The jQuery method used for animation is

a.       Graphic()

b.      Animate()

c.       Draw()

d.      Edit()

10)  jQuery is light weight with less code

a.      True

b.      False

11)  Which of the following is true about typeof operator in JavaScript?

a.       The typeof is a unary operator that is placed before its single operand, which can be of any type.

b.       Its value is a string indicating the data type of the operand.

c.        Both

d.      None of these

12)  Can you assign a anonymous function to a variable?

a.      True

b.      False

13)  Which built-in method sorts the elements of an array?

a.       changeOrder(order)

b.      order()

c.       sort()

d.      None of these.

14)  Which of the following function of Array object extracts a section of an array and returns a new array?

a.       reverse()

b.      shift()

c.       slice()

d.      some()

15)  Which of the following is not JavaScript Data Types?

a.       Undefined

b.      Number

c.       Boolean

d.      Float

16)  Inside which HTML element do we put the JavaScript?

a.       <script>

b.      <head>

c.       <meta>

d.      <style>

17)  Why so JavaScript and Java have similar name?

a.       JavaScript is a stripped-down version of Java

b.      JavaScript's syntax is loosely based on Java's

c.       They both originated on the island of Java

d.       None of these

18)  What is the original name of JavaScript?

a.       LiveScript

b.      EScript

c.       Mocha

d.      JavaScript

19)  JSON name/value pair is written as

a.       name’ : ‘value’

b.      name = ‘value’

c.       name = “value”

d.      “name” : “value”

20)   In the below notation, Employee is of type { “Employee”: [ “Amy”, “Bob”, “John” ] }

a.       Not a valid JSON string

b.      Array

c.       Class

d.      Object

21)  What is the file extension of JSON?

a.       .jn

b.      .js

c.       .jsn

d.      .json

22)   In modern websites what is the common usage for JSON?

a.       To store information remotely.

b.      To send and receive bits of data.

c.       To store information locally.

d.      None of these

23)  Which of these is a benefit JSON has over XML?

a.       JSON is more forgiving of poor formatting

b.      JSON has less markup requirements and therefore is lighter than XML

c.       JSON can be written poorly and still be parsed

d.      JSON does not need to be stored in a file to be sent remotely.

24)   In this example, what is the TYPE of employee?
{ “employee” : { “type” : “Director”, “functions” : [‘sales’, ‘marketing’] } }

a.       String

b.      Director

c.       Type

d.      Object

25)  JSON elements are separated by

a.       semi-colon

b.      line break

c.       comma

d.      white space

26)  What kind of format is JSON, and what does the acronym mean?

a.       A lightweight data-encoding framework. Java Omnipresent Notation.

b.      A lightweight data-interchange format. JavaScript Object Notation.

c.       A lightweight data-interchange format. Java Objective Notion.

d.      A lightweight database framework.JavaScript Object Notation.


Comments

Popular posts from this blog

DESIGN AND ANALYSIS OF ALGORITHMS – QUESTION BANK (CSE)

  ISL ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING DESIGN AND ANALYSIS OF ALGORITHMS QUESTION BANK                                         BE III Year II Semester (A & B Sections) –PC 603 CS     Academic Year: 2020-21 SHORT ANSWER QUESTIONS   UNIT-I 1.       Why is an algorithm analysis required? 2.       State about UNION & FIND operations. 3.       List out the UNION algorithm using weighting rule. 4.       Given f(n)=10n 2 +4n+3, then prove that f(n)=O(n 2 ). 5.       List and define operations performed on sets? 6.       What do you mean by performance analysis of an algorithm? Explain. 7.       Explain the significance of input size of a problem. 8.       State the weighting, collapsing rules in sets. 9.       Explain set representation and write algorithm for FIND. 10.   Solve T(n)=3T(n/3)+√n. 11.   Define the terms direct recursive and indirect rec

Web Application Development (WAD)

Web Application Development (WAD) WEB APPLICATION AND DEVELOPMENT ( WAD) Notes Unit Wise Unit I INTRODUCTION   HTML   CSS   WEB APPLICATION FUNDAMENTALS   Unit II XML   Unit III JQuery   JSON Java Script Unit IV AngularJS   Unit V MEAN Stack   SMACK Stack LAB PROGRAMS:  Click Here Important Question for MID I :  Click here WAD Previous Question : Click Here TEXT BOOK:  Click Hear Course Code Course Title Core/Elective PC 601 IT WEB APPLICATION DEVELOPMENT Core Prerequisite Contact hours per week CIE SEE Credits L T D P - 3 1 - - 30 70 3 Course Objective:     Ø    To develop dynamic web applications using the concepts of HTML 5.0 and   CSS     Ø    To understand the document structure and schemas and represent data in  that format     Ø    To develop applications using Query and represent objects in JSON   notation    

DESIGN AND ANALYSIS OF ALGORITHMS – QUESTION BANK (IT)

  ISL ENGINEERING COLLEGE DEPARTMENT OF INFORMATION TECHNOLOGY DESIGN AND ANALYSIS OF ALGORITHMS QUESTION BANK BE III Year II Semester – PC 602 IT Academic Year: 2020-21 SHORT ANSWER QUESTIONS   UNIT-I 1.       Explain linear probing in Hashing with an example. 2.       Define Heap. 3.       List out the collision resolution techniques in hashing. 4.       Why is an algorithm analysis required? 5.       State about UNION & FIND operations. 6.       List out the UNION algorithm using weighting rule. 7.       Given f(n)=10n 2 +4n+3, then prove that f(n)=O(n 2 ). 8.       List and define operations performed on sets? 9.       What do you mean by performance analysis of an algorithm? Explain. 10.   Explain the significance of input size of a problem. 11.   State the weighting, collapsing rules in sets. 12.   Explain set representation and write algorithm for FIND. 17