MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Server Side And Client Side Scripting
Quiz 4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
Rhino is originated by
Microsoft
Mozilla
Apple
None of the mentioned
Q.2
The new Java arrays can be created into a JavaScript programs using which of the following classes?
java.Array
java.lang.*
java.lang.Array
java.lang.reflect.Array
Q.3
Which of the following are global functions that are not part of core JavaScript?
spawn(f);
trim();
exult();
none of the mentioned
Q.4
Which of the following reads the textual contents of a URL and returns as a string?
spawn(f);
load(filename,…);
readFile(file);
readUrl(url);
Q.5
When do uncaught exceptions generate events?
When handlers are registered
When handlers are deregistered
When handler functions are called
When handlers do not have a matching catch clause
Q.6
Which among the following POSIX signals generate events?
SIGDOWN
SIGFLOAT
SIGINT
SIGSHORT
Q.7
Which Rhino command quits Rhino environment?
terminate()
exit()
quit()
close()
Q.8
Which is a useful way to try out small and simple Rhino programs and one-liners?
Starting an interative shell
Starting a one to one shell
Creating a thread to do simple programs
None of the mentioned
Q.9
What are the events generated by the Node objects called?
generators
emitters
dispatchers
highevents
Q.10
What is the function used to deregister event handler ‘f’?
deleteAllListeners(name)
deleteListener(name,f)
removerListener(name,f)
removeAllListeners(name)
Q.11
What is the method used to pause “data” events?
s.pause();
s.stop();
s.halt();
s.wait();
Q.12
When the “end” event fires on EOF when no more data will arrive, which function is called?
s.on("data",f);
s.on("end",f);
s.on("error",f);
s.on("default",f);
Q.13
What is the function used to remove all handlers for name events?
deleteAllListeners(name)
deleteListener(name,f)
removerListener(name,f)
removeAllListeners(name)
Q.14
Which of the following is an event emitter?
once
process
listeners
on
Q.15
What will be the return value of the write() method when the Node cannot write the data immediately and has to buffer it internally?
0
1
True
False
Q.16
Which of the following are not advanced services?
Data storage
Networking
XMLHttpRequest object
None of the mentioned
Q.17
JavaScript code between a pair of “script” tags are called
Non-inline
External
Referenced
Inline
Q.18
Client-side JavaScript code is embedded within HTML documents in
A URL that uses the special javascript:encoding
A URL that uses the special javascript:stack
A URL that uses the special javascript:protocol
A URL that uses the special javascript:code
Q.19
What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?
Unobtrusive JavaScript
Obtrusive JavaScript
Inherited JavaScript
Modular JavaScript
Q.20
Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?
Static Web Pages
Interactive Web Pages
Conditional Web Pages
None of the mentioned
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page