JavaScript Quiz Day-1

JavaScript Quiz Day-1

Professional Development

12 Qs

quiz-placeholder

Similar activities

Think it through

Think it through

University - Professional Development

16 Qs

Big Data Unit One Skit IT final

Big Data Unit One Skit IT final

Professional Development

10 Qs

Fondamentaux 01 - Introduction

Fondamentaux 01 - Introduction

Professional Development

15 Qs

3P-INFO

3P-INFO

Professional Development

10 Qs

C# Basics

C# Basics

12th Grade - Professional Development

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Microservices Quiz for New Hires

Microservices Quiz for New Hires

Professional Development

13 Qs

HTML - Introdução

HTML - Introdução

Professional Development

10 Qs

JavaScript Quiz Day-1

JavaScript Quiz Day-1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

CHANDHRU J

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What is JavaScript primarily used for in web development?

Server-side scripting

Database management

Front-end development

Operating system development

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which of the following is the correct way to declare a variable in JavaScript?

var myVar = 10;

variable myVar = 10;

declare myVar = 10;

None of the above

3.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which of the following is not a data type in JavaScript?

String

Number

Boolean

Character

4.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which of the following is the correct way to declare a function in JavaScript?

function myFunction() {}

func myFunction() {}

declare function myFunction() {}

define function myFunction() {}

5.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

How do you create an object in JavaScript?

var obj = {};

var obj = [];

var obj = ();

var obj = <>;

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

What will be the output of the following code? var a = "Hello"; var b = "World"; var c = a + " " + b; console.log(c);

HelloWorld

Hello World

Hello

World

7.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Which of the following correctly creates an array in JavaScript?

var arr = "apple", "banana", "cherry";

var arr = ["apple", "banana", "cherry"];

var arr = ("apple", "banana", "cherry");

None of the above

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?