JavaScript SPPU Endsem Question Paper Nov 2023
All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Subject code
- 404184C
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- Nov 2023
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- VII
- Paper code
- [6181]-158
Printed for: B.E. ( Eelectronics/ E&TC)
Instructions to the candidates
- Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right side indicate full marks.
- Use of calculator is allowed.
- Assume suitable data, if necessary.
Questions
Q1
- a)[6]
What is function? Explain with example how to pass and return parameters and arguments from called function to the calling function.
- b)[6]
- c)[6]
Write a JavaScript program to pass the function by reference, perform addition of two objects inside the function and display the result in calling function.
OR- a)
Q2
- a)[6]
What is Anonymous Functions in JavaScript? Explain its use with an example.
- b)[6]
Write a JavaScript program that will append an object to an array and will check if an object is an array data types.
- c)[6]
Explain data types in JavaScript? Differentiate between primitive and non-primitive.
- a)
Q3
ORQ4
- a)[6]
- b)[6]
- c)[5]
Q5
- a)[6]
Define JavaScript object model and explain four distinct object models used in JavaScript.
- b)[6]
Explain event and event handler with an example.
- c)[6]
Write a JavaScript program to create a Home page of any website and change background color using. On mouse over event (mouse over) On focus event (focus)
OR- a)
Q6
- a)[6]
- b)[6]
Differentiate between HTML and DHTML.
- c)[6]
Q7
- a)[6]
Explain Various methods to control windows and list out window features.
- b)[5]
Explain the form handling and the terms form fields, validations, Dynamic forms, Form usability with an example.
- c)[6]
Design and implement a simple calculator using Java script for operations like addition, multiplication, subtraction, division, square of a number .
OR- a)
Q8
- a)[6]
- b)[5]
What is frame and explain the HTML tags to create frames and how to change the properties of the frame.
- c)[6]
This part has equations that don’t show as text. Open the PDF to read it.