JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

Similar documents
C# MOCK TEST C# MOCK TEST II

PERL MOCK TEST PERL MOCK TEST II

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

C# MOCK TEST C# MOCK TEST I

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

MAVEN MOCK TEST MAVEN MOCK TEST I

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

NODE.JS MOCK TEST NODE.JS MOCK TEST I

HTML5 MOCK TEST HTML5 MOCK TEST I

DB2 MOCK TEST DB2 MOCK TEST I

JSP MOCK TEST JSP MOCK TEST IV

CGS 3066: Spring 2015 JavaScript Reference

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

MAVEN MOCK TEST MAVEN MOCK TEST IV

JSP MOCK TEST JSP MOCK TEST III

PYTHON MOCK TEST PYTHON MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST III

GO MOCK TEST GO MOCK TEST I

CICS MOCK TEST CICS MOCK TEST I

GWT MOCK TEST GWT MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

MAVEN MOCK TEST MAVEN MOCK TEST III

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST IV

JavaScript CS 4640 Programming Languages for Web Applications

JAVA MOCK TEST JAVA MOCK TEST II

CSS MOCK TEST CSS MOCK TEST III

JDBC MOCK TEST JDBC MOCK TEST IV

COBOL MOCK TEST COBOL MOCK TEST III

JavaScript CS 4640 Programming Languages for Web Applications

VB.NET MOCK TEST VB.NET MOCK TEST III

EJB MOCK TEST EJB MOCK TEST IV

HIVE MOCK TEST HIVE MOCK TEST III

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

HTML5 MOCK TEST HTML5 MOCK TEST IV

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

ANDROID MOCK TEST ANDROID MOCK TEST IV

PHP by Pearson Education, Inc. All Rights Reserved.

JAVASCRIPT - OBJECTS OVERVIEW

HBASE MOCK TEST HBASE MOCK TEST III

SERVLETS MOCK TEST SERVLETS MOCK TEST III

Chapter 2 Working with Data Types and Operators

QTP MOCK TEST QTP MOCK TEST II

QC MOCK TEST QC MOCK TEST

Manju Muralidharan Priya. CS4PM Web Aesthetics and Development WEEK 11

NODE.JS MOCK TEST NODE.JS MOCK TEST II

JavaScript Specialist v2.0 Exam 1D0-735

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

UNIT -II. Language-History and Versions Introduction JavaScript in Perspective-

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Web Site Development with HTML/JavaScrip

Module 5: Javascript, Cookies COM 420

Q1. What is JavaScript?

MATLAB - FUNCTIONS. Functions can accept more than one input arguments and may return more than one output arguments.

SPRING MOCK TEST SPRING MOCK TEST I

IBM LOT-985. Developing IBM Lotus Notes and Domino(R) 8.5 Applications.

JavaScript Functions, Objects and Array

CITS1231 Web Technologies. JavaScript

JCL MOCK TEST JCL MOCK TEST III

COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

JAVASCRIPT. sarojpandey.com.np/iroz. JavaScript

SELENIUM - REMOTE CONTROL

JCL MOCK TEST JCL MOCK TEST IV

A.A. 2008/09. Why introduce JavaScript. G. Cecchetti Internet Software Technologies

CGI Architecture Diagram. Web browser takes response from web server and displays either the received file or error message.

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

JavaScript. History. Adding JavaScript to a page. CS144: Web Applications

JavaScript. The Bad Parts. Patrick Behr

VB.NET MOCK TEST VB.NET MOCK TEST I

Codes and Coding. Objectives: Related Careers

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Lecture 14. Introduction to JavaScript. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Frequently Asked Questions Registrant Site Testing. Q: How do I access the testing and what is my login?

Website Report for test.com

Such JavaScript Very Wow

Programming Languages & Translators. XML Document Manipulation Language (XDML) Language Reference Manual

CSC Web Programming. Introduction to JavaScript

Contents. Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual

Working with JavaScript

JavaScript. History. Adding JavaScript to a page. CS144: Web Applications

COMP284 Scripting Languages Lecture 14: JavaScript (Part 1) Handouts

DOCUMENT SECURITY IN WORD 2010

IT6503 WEB PROGRAMMING. Unit-I

Shankersinh Vaghela Bapu Institue of Technology

Computer Components. Software{ User Programs. Operating System. Hardware

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 11 Introduction to PHP

COMPUTER PROGRAMMING LOOPS

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University

NODE.JS MOCK TEST NODE.JS MOCK TEST III

Website Report for facebook.com

JQUERY MOCK TEST JQUERY MOCK TEST III

CSE Lecture 24 Review and Recap. High-Level Overview of the Course!! L1-7: I. Programming Basics!

CERTIFICATE IN WEB PROGRAMMING

13. Databases on the Web

Joomla 3.X Global Configuration

GWT - UIOBJECT CLASS

<form>. input elements. </form>

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

Transcription:

http://www.tutorialspoint.com JAVASCRIPT MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Javascript Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. JAVASCRIPT MOCK TEST I Q 1 - Which of the following is correct about JavaScript? A - JavaScript is a lightweight, interpreted programming language. B - JavaScript has object-oriented capabilities that allows you to build interactivity into otherwise static HTML pages. C - The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers. Q 2 - Which of the following is correct about features of JavaScript? A - JavaScript is a lightweight, interpreted programming language. B - JavaScript is designed for creating network-centric applications. C - JavaScript is complementary to and integrated with Java. Q 3 - Which of the following is correct about features of JavaScript? A - JavaScript is is complementary to and integrated with HTML. B - JavaScript is open and cross-platform. Q 4 - Which of the following is an advantage of using JavaScript? A - Less server interaction

B - Immediate feedback to the visitors C - Increased interactivity Q 5 - Which of the following is a disadvantage of using JavaScript? A - Client-side JavaScript does not allow the reading or writing of files. B - JavaScript can not be used for Networking applications because there is no such support available. C - JavaScript doesn't have any multithreading or multiprocess capabilities. Q 6 - Is JavaScript a case-sensitive language? A - true Q 7 - Which of the following is true about variable naming conventions in JavaScript? A - You should not use any of the JavaScript reserved keyword as variable name. B - JavaScript variable names should not start with a numeral 0 9. Q 8 - Which of the following is true about variable naming conventions in JavaScript? A - JavaScript variable names must begin with a letter or the underscore character. B - JavaScript variable names are case sensitive. Q 9 - 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. Q 10 - Can you access Cookie using javascript?

A - true Q 11 - Which of the following is true about cookie handling in JavaScript? A - JavaScript can manipulate cookies using the cookie property of the Document object. B - JavaScript can read, create, modify, and delete the cookie or cookies that apply to the current web page. Q 12 - Which of the following is the correct syntax to create a cookie using JavaScript? A - document.cookie = 'key1 = value1; key2 = value2; expires = date'; B - browser.cookie = 'key1 = value1; key2 = value2; expires = date'; C - window.cookie = 'key1 = value1; key2 = value2; expires = date'; D - navigator.cookie = 'key1 = value1; key2 = value2; expires = date'; Q 13 - Which of the following is the correct syntax to redirect a url using JavaScript? A - document.location='http://www.newlocation.com'; B - browser.location='http://www.newlocation.com'; C - navigator.location='http://www.newlocation.com'; D - window.location='http://www.newlocation.com'; Q 14 - Which of the following is the correct syntax to print a page using JavaScript? A - window.print; B - browser.print; C - navigator.print; D - document.print; Q 15 - Which of the following is a valid type of function javascript supports? A - named function B - anonymous function Q 16 - Can you assign a anonymous function to a variable?

A - true Q 17 - Can you pass a anonymous function as an argument to another function? A - true Q 18 - How can you get the type of arguments passed to a function? A - using typeof operator B - using gettype function Q 19 - How can you get the total number of arguments passed to a function? A - Using args.length property B - Using arguments.length property Q 20 - Which of the following type of variable is visible everywhere in your JavaScript code? A - global variable B - local variable Q 21 - Which of the following type of variable is visible only within a function where it is defined? A - global variable B - local variable Q 22 - Which of the following type of variable takes precedence over other if names are same? A - global variable

B - local variable Q 23 - Which of the following is correct about callbacks? A - A callback is a plain JavaScript function passed to some method as an argument or option. B - Some callbacks are just events, called to give the user a chance to react when a certain state is triggered. Q 24 - Which built-in method returns the character at the specified index? A - characterat B - getcharat C - charat Q 25 - Which built-in method combines the text of two strings and returns a new string? A - append B - concat C - attach ANSWER SHEET Question Number Answer Key 1 D 2 D 3 C 4 D 5 D 6 A 7 C 8 C 9 C

10 A 11 C 12 A 13 D 14 A 15 C 16 A 17 A 18 A 19 B 20 A 21 B 22 B 23 C 24 C 25 B Loading [MathJax]/jax/output/HTML-CSS/jax.js