CoderMantra

Menu
  • Home
  • Quiz
  • How-To
  • Q/A
  • Blog

JQJ

0%
6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

jqj

1 / 30

What will be the output if we compare "ten" and 10 with less then comparison operator("ten"<10)?

2 / 30

_______ extracts a part of a string and returns the extracted part in a new string.

3 / 30

The _________ keyword complicates the code and slows down execution speed

4 / 30

What is the full form DOM?

5 / 30

Array indexes start with ______.

6 / 30

What is true about Arrays?

7 / 30

which operator outputs the remainder of an integer division?

8 / 30

The easiest way to add a new element to an array is using the _________ method

9 / 30

What will be the output of the below code ?
console.log( typeof( '5' + 5))

10 / 30

The statement is an example of:
while (3==3) {}

11 / 30

The ________ operator in JavaScript returns "object" for arrays.

12 / 30

If var A={B:3, C:5}, how to use the delete operator to delete one of the properties of an objec

13 / 30

JavaScript allows you to work with __________ primitive data types.

14 / 30

Which operator will return false if two value are equal?

15 / 30

Logical AND : If both the operands are non-zero, then the condition becomes true.

16 / 30

 Which of the following is a syntactically correct for loop?

17 / 30

JavaScript counts positions from?

18 / 30

 _________ cannot accept negative indexes.

19 / 30

The ________ operator is used to create an instance of an object.

20 / 30

If the operator value is null, then the unary operator returns the typeof _________.

21 / 30

A ___________ has global scope which means it can be defined anywhere in your JavaScript code.

22 / 30

Storing a value in a variable is called ?

23 / 30

 What will be the output of the following JavaScript code?
function myfun()
{
var a = "";
document.getElementById ("demo").innerHTML = Boolean(a);
}

24 / 30

What will be printed in the console on execution of the below code?
var materials = [
'Hydrogen',
'Helium',
'Lithium',
'Beryllium'
];
console.log(materials.map (material => material.length));

25 / 30

What will be the output of the below code?
let chaval= (p)=>p+2;
console.log(chaval(2));

26 / 30

 What will be printed in the console on execution of the following JS code:
var array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
var myArr= array.filter(v => v % 3 === 0);
console.log(myArr);

27 / 30

When you invoke the........ method on a function f and pass an object o, the method returns a new function.

28 / 30

The regular expression to match any one character not between the brackets is __________

29 / 30

The HTML DOM is a standard object model and programming interface for HTML.

30 / 30

Consider the JavaScript code:
Identify the value that will be displayed in alert box at line 5?function lfc(myname){
console.log(10+"lfc" +12);
}
res=lfc(10);
console.log(res); //line 5

Your score is

LinkedIn Facebook VKontakte
0%

By Wordpress Quiz plugin

Category

  • Assignments
    • C Language Assignments
    • C++ Assignments
    • Java Assignments
    • Python Assignments
  • C Programming
  • c-plus-plus-Assignments
  • C++
  • Core Java
  • Data Structure
  • Data Structure In C++
  • How To
  • Java-Assignments
  • node js questions
  • nodejs assignments
  • nodejs Projects
  • Practice Questions
  • Python Tutorial
  • Python-Assignments
  • Questions
  • Quiz
  • sql-functions
  • SQL-Tutorial
  • Tkinter Tutorial
  • Uncategorized
  • What Is

Archives

  • July 2025
  • April 2025
  • October 2024
  • September 2024
  • June 2024
  • April 2024
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • May 2022
  • November 2021
  • May 2021
  • March 2021
  • November 2020
  • October 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • May 2019
  • March 2019
  • February 2019
  • January 2019
About CoderMantra

Coder Mantra is a unique e-learning website, offers a tutorial of different popular programming languages with examples. The code on this popular tutorial website is tested and executed.

Latest Posts
Double Linked List in Java. July 15, 2025
Simple Calculator Program in Python April 25, 2025
Number Guessing Game in Python April 25, 2025
Python Program to Swap Two Variables April 14, 2025
Contact Us

info@codermantra.com

admin@codermantra.com

© 2020 Coder Mantra . All Rights Reserved
About | Privacy Policy | Terms | Contact