Do You Know Jasmine?

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Timmy198
T
Timmy198
Community Contributor
Quizzes Created: 577 | Total Attempts: 323,883
Questions: 10 | Attempts: 200

SettingsSettingsSettings
Do You Know Jasmine? - Quiz

Jasmine is a testing framework for JavaScript. It has an easily read syntax and does not intrude on applications. It is unique in that it does not rely on DOM or browsers.


Questions and Answers
  • 1. 

    Jasmine is influenced by the following except 

    • A.

      Npm

    • B.

      JSSpec

    • C.

      JSpec

    • D.

      RSpec

    Correct Answer
    A. Npm
    Explanation
    Jasmine is influenced by JSSpec, JSpec, and RSpec, but not by npm. Npm is a package manager for JavaScript, used for installing and managing dependencies in a project. It is not directly related to the development or functionality of testing frameworks like Jasmine.

    Rate this question:

  • 2. 

    Jasmine was developed by 

    • A.

      Pivotal Inc

    • B.

      Pivotal Solutions

    • C.

      Pivotal Labs

    • D.

      Pivotal Company

    Correct Answer
    C. Pivotal Labs
    Explanation
    Jasmine was developed by Pivotal Labs.

    Rate this question:

  • 3. 

    Jasmine as a testing framework is 

    • A.

      Open source

    • B.

      Close source

    • C.

      Versatile

    • D.

      Proprietary

    Correct Answer
    A. Open source
    Explanation
    Jasmine is an open-source testing framework, which means that its source code is freely available for users to view, modify, and distribute. Being open source allows developers to contribute to the framework, making it more versatile and adaptable to different testing needs. It also promotes transparency and fosters collaboration within the software development community.

    Rate this question:

  • 4. 

    Prior to development of Jasmine what was developed?

    • A.

      JSunit

    • B.

      Screwunit

    • C.

      RSpec

    • D.

      Jquery

    Correct Answer
    A. JSunit
    Explanation
    Before the development of Jasmine, JSunit was developed.

    Rate this question:

  • 5. 

    Jasmine is written in what programming language?

    • A.

      JavaScript

    • B.

      Scala

    • C.

      Python

    • D.

      Java

    Correct Answer
    A. JavaScript
    Explanation
    Jasmine is a popular testing framework for JavaScript, so it makes sense that it would be written in JavaScript itself. JavaScript is a widely-used programming language for web development, known for its ability to add interactivity to websites. Scala, Python, and Java are also popular programming languages, but they are not specifically associated with Jasmine or its development.

    Rate this question:

  • 6. 

    Jasmine can be described as a 

    • A.

      Dual platform framework ​

    • B.

      Single platform framework

    • C.

      All platform framework

    • D.

      Cross platform framework

    Correct Answer
    D. Cross platform framework
    Explanation
    Jasmine is described as a cross-platform framework because it can be used to write and run tests for both browser-based applications and Node.js applications. It provides a consistent and unified experience for developers, allowing them to write tests that can be executed on multiple platforms without any modifications. This makes it easier to test and ensure the compatibility and functionality of an application across different platforms and environments.

    Rate this question:

  • 7. 

    Jasmine was first released in 

    • A.

      2014

    • B.

      2017

    • C.

      2010

    • D.

      2012

    Correct Answer
    C. 2010
  • 8. 

    All of the following are features of Jasmine except 

    • A.

      Supports asynchronous testing

    • B.

      Make use of spies

    • C.

      Automation

    • D.

      Supports testing front-code

    Correct Answer
    A. Supports asynchronous testing
    Explanation
    Jasmine is a popular testing framework for JavaScript that offers several features. It supports asynchronous testing, meaning it can handle functions that involve callbacks or promises. Jasmine also provides the ability to create and use spies, which are useful for testing function calls and tracking their behavior. Additionally, it offers automation capabilities, allowing for the execution of tests automatically. Finally, Jasmine is designed for testing front-end code, making it a suitable choice for testing JavaScript code in web applications. Therefore, the correct answer is "supports asynchronous testing."

    Rate this question:

  • 9. 

    How does Jasmine differs from Mocha?

    • A.

      Presence of test doubles in Jasmine

    • B.

      Presence of command line utility in Mocha

    • C.

      Absence of command line utility in Mocha 

    • D.

      Readable syntax

    Correct Answer
    A. Presence of test doubles in Jasmine
    Explanation
    Jasmine differs from Mocha because it has the presence of test doubles. Test doubles are objects that are used in testing to replace dependencies of the object being tested. They can simulate the behavior of real objects and allow for isolated testing. Mocha, on the other hand, does not have this feature.

    Rate this question:

  • 10. 

    Jasmine supports the following except 

    • A.

      Test driven development

    • B.

      Behavioral driven development

    • C.

      Asynchronous testing

    • D.

      Compilation

    Correct Answer
    D. Compilation
    Explanation
    Jasmine is a testing framework for JavaScript that supports various testing methodologies such as test driven development (TDD) and behavioral driven development (BDD). It also supports asynchronous testing, which is important for testing code that involves asynchronous operations. However, compilation is not a feature or methodology that Jasmine supports. Compilation is the process of translating source code written in one programming language into another language or machine code. Jasmine is focused on testing JavaScript code and does not involve compilation.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 02, 2018
    Quiz Created by
    Timmy198
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.