Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Server Side And Client Side Scripting(Computer Science > Javascript ) Questions and Answers
Home
Topic
Computer Science
Javascript
Server Side And Client Side Scripting
Question 1.
What are the events generated by the Node objects called?
generators
emitters
dispatchers
highevents
Explanation:-
Answer: Option B. ->
emitters
Question 2.
What is the function used to remove all handlers for name events?
deleteAllListeners(name)
deleteListener(name,f)
removerListener(name,f)
removeAllListeners(name)
Explanation:-
Answer: Option D. ->
removeAllListeners(name)
Question 3.
What is the function used to deregister event handler ‘f’?
deleteAllListeners(name)
deleteListener(name,f)
removerListener(name,f)
removeAllListeners(name)
Explanation:-
Answer: Option C. ->
removerListener(name,f)
Question 4.
Which of the following is an event emitter?
once
process
listeners
on
Explanation:-
Answer: Option B. ->
process
Question 5.
Which function is a synonym for on()?
addListener()
listeners()
once()
add()
Explanation:-
Answer: Option A. ->
addListener()
Question 6.
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
Explanation:-
Answer: Option A. ->
When handlers are registered
Question 7.
Which among the following POSIX signals generate events?
SIGDOWN
SIGFLOAT
SIGINT
SIGSHORT
Explanation:-
Answer: Option C. ->
SIGINT
Question 8.
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);
Explanation:-
Answer: Option B. ->
s.on("end",f);
Question 9.
What is the method used to pause “data” events?
s.pause();
s.stop();
s.halt();
s.wait();
Explanation:-
Answer: Option A. ->
s.pause();
Question 10.
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
Explanation:-
Answer: Option D. ->
False
1
2
3
4
5
6
7
8
Next →
One click Login
Login With Google
Old way of Login
Login With Email