Skip to content
EndsemMay 20232019 patternBE E&TC

JavaScript SPPU Endsem Question Paper May 2023

All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.

Subject code
404184(C)
Pattern
2019 pattern
Exam
Endsem
Session
May 2023
Max. marks
70
Time
2½ Hours
Semester
VII
Paper code
[6004]-531

Printed for: B.E. ( Electrical /E & TC )

Instructions to the candidates

  1. Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
  2. Neat diagram must be drawn wherever necessary.
  3. Figures to the right side indicate full marks.
  4. Use of Calculator is allowed.
  5. Assume suitable data if necessary.

Questions

  1. Q1

    1. a)

      What is function? Explain with example how to pass and return parameters and arguments from called function to the calling function.

      Also asked:Nov 2023 ·Nov 2022

      [6]
    2. b)

      What are Common properties and methods of object in JavaScript?

      Also asked:Nov 2023 ·Nov 2022

      [6]
    3. c)

      Write a Java Script program to pass the function by reference, perform addition of two objects inside the function and display the result in calling function.

      Also asked:Nov 2023 ·Nov 2022

      [6]
  2. Q2

    1. a)

      What is Anonymous Functions in JavaScript? Explain its use with an example.

      Also asked:Nov 2025 ·Nov 2023 ·Nov 2022

      [6]
    2. b)

      Write a JavaScript program that will append an object to an array and will check if an object is an array datatypse.

      Also asked:Nov 2025 ·Nov 2023 ·Nov 2022

      [6]
    3. c)

      Explain data types in JavaScript? Differentiate between primitive and non primitive.

      Also asked:Nov 2023 ·Sep 2023 ·Nov 2022

      [6]
  3. Q3

    1. a)

      What is Regular Expression in JavaScript and explain the need of regular expressions.

      Also asked:Nov 2023 ·Sep 2023 ·Nov 2022

      [6]
    2. b)

      Explain look ahead and look behind concepts in JavaScript.

      Also asked:Nov 2023 ·Nov 2022

      [6]
    3. c)

      Write a program to study string related built-in methods in JavaScript.

      Also asked:Nov 2023 ·Nov 2022

      [5]
  4. Q4

    1. a)

      Explain string methods for Regular Expression in JavaScript.

      Also asked:Nov 2023 ·Sep 2023 ·Nov 2022

      [6]
    2. b)

      Explain Character Classes in JavaScript.

      Also asked:Nov 2023 ·Nov 2022

      [6]
    3. c)

      What are the limitations of Regular Expression. 2

      Also asked:May 2025 ·May 2024 ·Nov 2023 ·Nov 2022

      [5]
  5. Q5

    1. a)

      Define JavaScript object model and explain four distinct object models used in JavaScript.

      Also asked:Nov 2023 ·Nov 2022

      [6]
    2. b)

      Explain event and event handler with an example.

      [6]
    3. c)

      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).

      Also asked:Nov 2023 ·Nov 2022

      [6]
  6. Q6

    1. a)

      Describe Document properties and methods with their HTML relationship.

      Also asked:Nov 2023 ·Nov 2022

      [6]
    2. b)

      Differentiate between HTML and DHTML.

      [6]
    3. c)

      Explain DOM and CSS Elements with example.

      Also asked:Nov 2023 ·Nov 2022

      [6]
  7. Q7

    1. a)

      Explain Various methods to control windows and list out window features.

      Also asked:Nov 2023 ·Nov 2022

      [6]
    2. b)

      Explain the form handling and the terms form fields, validations, Dynamic forms, Form usability with an example.

      Also asked:Nov 2023 ·Nov 2022

      [5]
    3. c)

      Design and implement a simple calculator using java script for operations like addition, multiplication, subtraction, division, square of a number.

      Also asked:Nov 2025 ·May 2025 ·Nov 2024 ·Nov 2023 ·Nov 2022

      [6]
  8. Q8

    1. a)

      List and explain various popular windows events?

      Also asked:Nov 2023 ·Nov 2022

      [6]
    2. b)

      What is frame and explain the HTML tags to create frames and how to change the properties of the frame.

      Also asked:Nov 2025 ·May 2025 ·Nov 2023 ·Nov 2022

      [5]
    3. c)

      This part has equations that don’t show as text. Open the PDF to read it.

      [6]