• الصفحة الرئيسية
  • إتصل بنا
  • سياسة الخصوصية
Logo
  • الرئيسية
  • أفكار
  • صحة
  • معلومات
  • عجائب وغرائب
  • تكنولوجيا
الصفحة الرئيسية JavaScript Multiple Choice Question (MCQ) Solved MCQ on Basic Client Side JavaScript set-3

Solved MCQ on Basic Client Side JavaScript set-3

الكاتب ahmed في 10:31 PM JavaScript Multiple Choice Question (MCQ)

1. JavaScript can help to increase the user experience with which of the following method for a web page.

A. By creating animation and other effects to guide a user and help with page navigation.

B. By sorting the columns of a table to make it easier for searching on table.

C. By hiding certain content and revealing details progressively as the user "drills down" into that content.

D. All of the above.



2. Which of the following are the ways to embed Client side JavaScript code within HTML documents.

i) Inline, between a pair of <script> and </script> tags.

ii) From an external file specified by the src attribute of a <script> tag

iii) In an HTML event handler attribute, such as on-click or mouse over.

iv) In a URL that uses the special JavaScript protocol.

A. i, ii and iii only

B. ii, iii and iv only

C. i, ii and iv only

D. All i, ii, iii and iv



3. State Whether the following Statement about src attribute on JavaScript.

i) It simplifies the HTML files by allowing you to remove large blocks of JavaScript code from them.

ii) If a file of JavaScript code is shared by more than one page, it only needs to be downloaded once, by the first page that uses it.

iii) Linking to JavaScript code on Google servers can decrease the start-up time for the web pages, since the code already existed on all of the user's browser.

A. i-True, ii-False, iii-True

B. i-True, ii-True, iii-False

C. i-False, ii-True, iii-False

D. i-False, ii-False, iii-True



4) JavaScript code can register a/an ............. by assigning a function to a property of an element object that represents an HTML document in the document.

A. event handler

B. function handler

C. document handler

D. HTML handler



5) .......... specifies that the body of the URL is an arbitrary string of JavaScript code to be run by the JavaScript interpreter.

A. Javascript:web

B. JavaScript:code

C. JavaScript:protocol

D. JavaScript:interpreter




6) The ...... attribute causes the browser to defer execution of the script until after the document has been loaded and parsed and is ready to be manipulated.

A. sync

B. async

C. defer

D. All



7) The .......... attribute causes the browser to run the script as soon as possible but not to block document parsing while the script is being downloaded.

A. sync

B. async

C. defer

D. All



8) When the parser encounters a <script> element that has the ...... attribute set, it begins downloading the script text and continues parsing the document.

A. async

B. sync

C. parse

D. load



9) When the document is completely parsed, the document.readystate property changes to ......

A. ready

B. parsed

C. interactive

D. activated



10) Which of the following statements for restricted features of JavaScript is/are True.

A) A JavaScript program can open new browser windows, but must of the browsers restrict this feature.

B. A JavaScript program can close browser windows that it opened itself, but it is not allowed to close other windows without user conformation.

C. A script can read the content of documents loaded from different servers than the document that contains the script.

D. All of the above




11) ........... libraries are "frameworks" in the sense that they build a new higher-level API for client side programming on top of the standard and proprietary APIs offered by web browsers.

A. client-side framework

B. server-side framework

C. higher-level framework

D. web framework



12) The .......... library focuses on DOM and Ajax utilities, like jQuery does, and adds quite a few core-language utilities as well.

A. Dojo

B. Prototype

C. YUI

D. Closure



13) The ...... library is the client side library that Google uses for Gmail, Google Docs and other web applications.

A. Dojo

B. Prototype

C. GWT

D. Closure



14) ........ allow you to register a function to be invoked once or repeatedly after a specified amount of time has elapsed.

A. setTimeout()

B. setInterval()

C. Both A and B

D. None of the above



15) State True or False for the following Statements.

i) The setTimeout() method of the window object schedules a function to run after a specified number of milliseconds elapses.

ii) setTimeout() returns a value that can be passed to clearTimeout() to cancel the execution of the scheduled function.

iii) setTimeout() is like setInterval() except taht the specified function is invoked repeatedly at intervals of the specified number of milliseconds.

A. i-True, ii-False, iii-True

B. i-True, ii-True, iii-False

C. i-False, ii-True, iii-False

D. i-False, ii-False, iii-True




Answers:


1) D. All of the above.
2) D. All i, ii, iii and iv
3) B. i-True, ii-True, iii-False
4) A. event handler
5) C. JavaScript:protocol
6) C. defer
7) B. async
8) A. async
9) C. interactive
10) D. All of the above
11) A. client-side framework
12) B. Prototype
13) D. Closure
14) C. Both A and B
15) B. i-True, ii-True, iii-False


Related Posts:

  • Solved MCQ of JavaScript set-1

  • MCQ of JavaScript with Answer set-2

  • Solved MCQ of CSS set-1

  • MCQ of CSS With Answer set-2

  • Objective Questions of CSS with Answer set-3

  • Solved Objective Questions of CSS set-4

  • Solved MCQ of Java Set-1

  • Solved MCQ of Java Beans set-1

  • Solved MCQ of Internet and HTML set-3

  • Solved MCQ of Database Management System Set - 8

  • Solved MCQ of System Analysis and Design Set-3

  • Solved MCQ of Data Structure Set - 2

  • MCQ of Computer Networking with answer set-4

For more Multiple Choice Questions (MCQs): Click Here

شارك المقال :
Tweet
✚

مقالات ذات صلة

التالي
المشاركةالتالية
السابق
المشاركة السابقة

تحويل كودإخفاء محول الأكواد الإبتساماتإخفاء

شكرا لمشاركتنا رأيك
Subscribe to: Post Comments (Atom)
  • Facebook
  • twitter
  • googleplus
  • youtube
  • linkedin

الأكثر زيارة

  • What is Information ?
    Information  can be defined as data that has been processed into a form that is meaningful to the recipient and is of real or perceived valu...
  • What is Information Technology?
    Definitions of  Information technology  ( IT ) It is a branch of engineering dealing with the use of computers and telecommunications equipm...
  • بالصور الفائزة بمسابقة ملكة جمال مصر 2017
    بالصور الفائزة بمسابقة ملكة جمال مصر 2017
    بالصور الفائزة بمسابقة ملكة جمال مصر 2017 لن تصدق من هي فرح صدقي ↓↓  لمشاهدة الصور والخبر كامل اضغط هنا  ↓↓ رابط المو...
  • Interview Questions on Stack and Queue in Data Structure set-2
    1) The queue in which the insertion takes place in the first position after of last element is a ...... A. priority B. dequeue C. circular D...
  • List of Top 65 Search Engine Submission Add URLs.
    List of Top 65 Search Engine Submission Add URLs.
    To get your site on the top ranking on the search engine results, Your site or URL must be indexed by Search Engines. For that you have to s...
  • List of Best Keyword Research Tools for Better SEO
    List of Best Keyword Research Tools for Better SEO
    Everyone needs to do keyword research work for the site before starting search engine optimization work as the first and most essential tas...
  • What are the different types of scheduling methods?
    Process scheduling is one way for a processor to handle n processes , by scheduling the execution process. Each process is executed one by ...
  • Solved MCQ on Database Backup and Recovery in DBMS set-1
    1) Which of the following is not a recovery technique? A. Deferred update B. Immediate update C. Two-phase commit D. Recovery management 2)C...
  • Solved MCQ on Distributed Database Transaction Management set-4
    1) Commit and rollback are related to .......... A. data integrity B. data consistency C. data sharing D. data security 2) The transaction w...
  • Solved MCQ on Fundamental of DBMS set-10
    1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relatio...

الأقسام

  • Artificial Intelligence(AI)
  • Backlinking
  • Basic IT
  • Best List
  • Blogging Tips
  • C
  • C#
  • C++
  • Computer Architecture
  • Computer Fundamental
  • Computer Security
  • Computer/IT Officer Exam
  • CSS
  • Data Mining and Warehousing
  • Data Recovery Tools
  • Data Structure
  • Database Management System
  • E-commerce
  • E-government
  • Internet & Web Designing
  • IT Law
  • IT Tips and Tricks
  • IT Tutorials
  • Java
  • JavaScript
  • Keyword Research Tools
  • MIS
  • Multiple Choice Question (MCQ)
  • Networking
  • Online Earning
  • Online IT Jobs
  • Operating System
  • Oracle Forms and Reports
  • Programming Guide
  • Programming Language
  • SEO
  • Social Networking Sites
  • Software Download
  • Software Engineering
  • System Analysis and Design
  • Top List
  • VB.Net
  • صحة
  • عجائب وغرائب

الأرشيف

  • ►  2017 (4)
    • ►  November (3)
    • ►  October (1)
  • ►  2016 (5)
    • ►  April (5)
  • ▼  2015 (87)
    • ►  August (1)
    • ►  July (8)
    • ▼  June (13)
      • Top 10 Questions that Computer Beginner may Asked
      • How to Know Your Computer Configuration Easily
      • Top 5 Free Methods to Make Your Computer Faster
      • How to Keep Computer from Sleeping
      • How to Share Printer for Computers on LAN
      • How to Share Drive Folder and File in Computer Net...
      • Solved Objective Questions on jQuery Library set-1
      • Solved MCQ on Handling Events in Client Side JavaS...
      • MCQ on Scripting Documents in Client Side JavaScri...
      • MCQ on Scripting Documents in Client Side JavaScri...
      • Solved MCQ on Scripting Documents in JavaScript set-5
      • Solved MCQ on JavaScript Window Object set-4
      • Solved MCQ on Basic Client Side JavaScript set-3
    • ►  May (2)
    • ►  April (2)
    • ►  March (4)
    • ►  February (20)
    • ►  January (37)
  • ►  2014 (77)
    • ►  December (31)
    • ►  November (4)
    • ►  September (4)
    • ►  August (11)
    • ►  July (8)
    • ►  June (2)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (7)
    • ►  January (4)
  • ►  2013 (132)
    • ►  December (11)
    • ►  November (6)
    • ►  October (4)
    • ►  September (6)
    • ►  August (16)
    • ►  July (9)
    • ►  June (9)
    • ►  May (12)
    • ►  April (13)
    • ►  March (23)
    • ►  February (6)
    • ►  January (17)
  • ►  2012 (59)
    • ►  December (15)
    • ►  November (20)
    • ►  October (21)
    • ►  September (3)

إنضم لنا

© 2017 أفكار جميع الحقوق محفوظة