JavaScript Quiz Day-1

JavaScript Quiz Day-1

Professional Development

12 Qs

quiz-placeholder

Similar activities

Kodlama ve Bilişim

Kodlama ve Bilişim

Professional Development

15 Qs

DECI - Week 5 - Time Machine

DECI - Week 5 - Time Machine

Professional Development

12 Qs

Python8

Python8

Professional Development

12 Qs

JSKBS - Database Management System

JSKBS - Database Management System

Professional Development

15 Qs

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

AWS Timed Quiz -1

AWS Timed Quiz -1

Professional Development

13 Qs

Minecraft quiz

Minecraft quiz

KG - Professional Development

12 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?