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

Array indexes start with ______.

2 / 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

3 / 30

JavaScript counts positions from?

4 / 30

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

5 / 30

which operator outputs the remainder of an integer division?

6 / 30

The _________ keyword complicates the code and slows down execution speed

7 / 30

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

8 / 30

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

9 / 30

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

10 / 30

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

11 / 30

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

12 / 30

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

13 / 30

 Which of the following is a syntactically correct for loop?

14 / 30

 _________ cannot accept negative indexes.

15 / 30

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

16 / 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);

17 / 30

JavaScript allows you to work with __________ primitive data types.

18 / 30

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

19 / 30

What is true about Arrays?

20 / 30

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

21 / 30

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

22 / 30

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

23 / 30

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

24 / 30

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

25 / 30

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

26 / 30

Which operator will return false if two value are equal?

27 / 30

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

28 / 30

Storing a value in a variable is called ?

29 / 30

What is the full form DOM?

30 / 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));

Your score is

LinkedIn Facebook VKontakte
0%

By Wordpress Quiz plugin

Category

  • AI
  • 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
  • Why

Archives

  • October 2025
  • September 2025
  • 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
Tree in Data Structure – A Complete Guide with Examples October 3, 2025
What is Generative AI? Explained with Simple Examples. September 25, 2025
Double Linked List in Java. July 15, 2025
Simple Calculator Program in Python April 25, 2025
Contact Us

info@codermantra.com

admin@codermantra.com

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