Skip to main content

JAVASCRIPT – MULTIPLE CHOICE QUESTIONS

GOVERNMENT INDUSTRIAL TRAINING INSTITUTE - DHARMAPURI
JAVASCRIPT – MULTIPLE CHOICE QUESTIONS
1. JavaScript Code can be called by using
A) RMI B) Triggering Event C) Preprocessor D) Function/Method
2. The type of a variable that is volatile is
A) Volatile variable B) Mutable variable C) Immutable variable      D) Dynamic variable
3. 3. A hexadecimal literal begins with
A) 00 B) 0x C) 0X D) Both 0x and 0X
4. The generalised syntax for a real number representation is
a) [digits][.digits][(E|e)[(+|-)]digits]. b) [digits][+digits][(E|e)[(+|-)]digits].
c) [digits][(E|e)[(+|-)]digits]. d) [.digits][digits][(E|e)[(+|-)]digits].
5. When there is an indefinite or an infinity value during an arithmetic value computation, javascript
a) Prints an exception error b) Prints an overflow error
c) Displays “Infinity” d) Prints the value as such
6. When there is an indefinite or an infinity value during an arithmetic value computation, javascript
a) Prints an exception error b) Prints an overflow error
c) Displays “Infinity” d) Prints the value as such
7. Consider the following snippet code
var string1 = ”123”; 
var intvalue = 123;
alert  (string1 + intvalue );  The result would be
a) 123246 b) 246 c) 123123 d) Exception
8. A function definition expression can be called
a) Function prototype b) Function literal c) Function definition d) Function declaration
9. The property of a primary expression is
a) stand-alone expressions b) basic expressions containing all necessary functions
c) contains variable references alone d) complex expressions
10. The JavaScript’s syntax calling ( or executing ) a function or method is called
a) Primary expression b) Functional expression
c) Invocation expression d) Property Access Expression
11. Among the following, which one is a ternary operator?
a) + b) : c) – d) ?:
12. JavaScript is a _______________ language
a) Object-Oriented b) High-level c) Assembly-language d) Object-Based
13. A conditional expression is also called a
a) Alternate to if-else b) Immediate if
c) If-then-else statement d) None of the mentioned
14. A statement block is a
a) conditional block b) block that contains a single statement
c) Both conditional block and single statement
d) block that combines multiple statements into a single compound statement

15. When an empty statement is encountered, a JavaScript interpreter
a) Ignores the statement b) Prompts to complete the statement
c) Throws an error d) Throws an exception
16. Which property determines whether a control is displayed to the user?
A) Hide B )  Show C) Visible D) Enable
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 the above
18. When a user views a page containing a JavaScript program, which machine actually executes the script?
A. the User's machine running a Web browser B.   The Web server
C.  A central machine deep within Netscape's corporate offices D.  None of the above
19. ______ JavaScript is also called client-side JavaScript.
A.  Microsoft B.  Navigator C.  LiveWire D.  Native
20. What are variables used for in JavaScript Programs?
A.  Storing numbers, dates, or other values B.   Varying randomly
C.  Causing high-school algebra flashbacks D.  None of the above
21. What should appear at the very end of your JavaScript?
The <script LANGUAGE="JavaScript">tag
A.   The </script> B.    The <script> C.  The END statement D.  None of the above
22. Which of the following are capabilities of functions in JavaScript?
A.  Return a value B. Accept parameters and Return a value
C.  Accept parameters D.  None of the above
23. Which of the following is not a valid JavaScript variable name?
A. 2names B. _first_and_last_names
C. FirstAndLast D. None of the above
24. When a JavaScript object is sent to Java, the runtime engine creates a Java wrapper of type
A.  ScriptObject B.  JSObject C.  JavaObject D.  Jobject
25. The JavaScript exception is available to the Java code as an instance of __________
A.  netscape.javascript.JSObject B.  netscape.javascript.JSException
C.  netscape.plugin.JSException D.  None of the above
26. The syntax of a blur method in a button object is ______________
A.  Blur() B.   Blur(contrast) C.  Blur(value) D.  Blur(depth)
27. Scripting language are
A. High Level Programming language B. Assembly Level programming language
C. Machine level programming language D. None of these
28. What is mean by "this" keyword in JavaScript?
A. It refers current object B. It refers previous object
C. It is variable which contains value D. None of the above
29. Choose the client-side JavaScript object:
A. Database B. Cursor C. Client D. File Upload
30. What is mean by "this" keyword in JavaScript?
A. It refers current object B. It refers previous object

C. It is variable which contains value D. None of the above

keys
A)4,9,15,18,20,21,23,26,27,28,30 
B)2,8,13,17,19,24,25    
C)5,6,7,10,16,22,  
D)1,3,11,12,14,29  

download

Comments

  1. Inspiring story there. What occurred after? Thanks!

    ReplyDelete

Post a Comment

Popular posts from this blog

இந்திய தேசிய உறுதிமொழி

National Pledge இந்தியா என் தாய்நாடு, இந்தியர்கள் அனைவரும் எனது சகோதர சகோதரிகள். நமது நாட்டை நான் மிகவும் நேசிக்கிறேன், நமது நாட்டின் பழம்பெருமைக்காகவும், பண்முக மரபு சிறப்பிற்காகவும் நான் பெருமிதம் கொள்கிறேன். நமது நாட்டின் பெருமைக்கு தகுந்து விளங்கிட பெரிதும் பாடுபடுவேன். நமது பெற்றோர், ஆசிரியர் மற்றும் பெரியோர்களை மதித்து நடந்துகொள்வேன். அனைவரிடமும் அன்பும் மரியாதையும் காட்டுவேன். நமது நாட்டிற்கும் நாட்டு மக்களுக்கும் உழைத்திட பெரிதும் முனைந்து நிற்பேன், நமதுமக்கள் அனைவரும் நலமும் வளமும் பெருவதிலேதான் நான் மகிழ்ச்சி அடைகிறேன்.

மைக்ரோசாப்ட் எக்ஸல்

மைக்ரோசாப்ட் எக்ஸல் என்றால் என்ன ? மைக்ரோசாப்ட்  எக்ஸல் (Excel) என்பது  கணிதம் சார்ந்த தகவல்களை கையாளும் ஒரு மென்பொருள் (Software)  ஆகும். இது  மட்டும் இல்லாமல் இன்னும்  பல வகைகளில்  நமக்கு இந்த  எக்ஸல் மென்பொருள் உதவுகிறது. எக்ஸல் சிறப்பம்சங்கள்   ஃபங்ஷன்கள் பயன்படுத்தி  புரோகிராம்களை எழுதிப்  பயன்படுத்த  முடியும். சார்ட்கள் , வரைந்து  கொள்ள முடியும். மேக்ரோ கையாள முடியும். பதிவு  செய்த தகவல்களை  ஏறு  வரிசையிலோ அல்லது இறங்கு வரிசையிலோ முறைப்படுத்தி  அடுக்க  முடியும் . பில்ட்டர் பயன்படுத்தி தகவல்கள்  பிரித்தெடுக்க முடியும் .  ஒர்க் சீட் என்றால் என்ன ? எம்எஸ் எக்ஸல் நுழைந்தவுடன் கிடைக்கின்ற திரைக்கு ஒர்க் சீட் (Worksheet) என்று பெயர்.ஒர்க் சீட் (Worksheet)-ஐ Spread Sheet என்றும் சொல்லலாம்.. ஒர்க் சீட் (Work Sheet)  நிறைய Row மற்றும் Column களால் பிரிக்கப்பட்டிருக்கும். Row-க்கள் 123.., என்று பெயர் சூட்டப்பட்டிருக்கும். Column -கள் ABC.., என்று பெயர் சூட்டப்பட்டிருக்கும்.எம் எஸ் எக்ஸல் ஃபைலுக்கு Spreadsheet என்று பெயர். எக்ஸல் செல்  என்றால்  என்ன ? Row -ம் ,

MCQ Excel with VBA

GOVERNMENT INDUSTRIAL TRAINING INSTITUTE – DHARMAPURI 1.      What is VBA? a)      A Microsoft programming language used to extend Excel functions b)      A GUI Excel interface for the novice developer c)      A open-source programming environment that works with Excel d)      A Microsoft programming environment that replaces Excel 2.      2.What does VBA stand for? a)     Visual Basic for Applications                                     c) Virtual Basic for Advanced programming b)     Very Basic Applications                                               d) Visual Basic Applied 3.      3.What is a macro used for? a)      To access programs in Excel                                                                   c) To create buttons and forms in Excel b)      To automatically complete a series of Excel steps                              d) To link Excel files together 4.     4. What does a VBA macro consist of? a)      Excel functions