JavaScript Quiz Day-1

JavaScript Quiz Day-1

Professional Development

12 Qs

quiz-placeholder

Similar activities

Programação Orientada a Objetos

Programação Orientada a Objetos

Professional Development

10 Qs

1er Taller evaluativo Info & Tech Undécimo IIIP

1er Taller evaluativo Info & Tech Undécimo IIIP

Professional Development

10 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

Lógica de Programação - dia final

Lógica de Programação - dia final

Professional Development

15 Qs

Javascript basics

Javascript basics

Professional Development

15 Qs

SEM with SmartPLS

SEM with SmartPLS

University - Professional Development

10 Qs

Java Displaying Data & Data Types

Java Displaying Data & Data Types

University - Professional Development

12 Qs

JavaScript Quiz Day-1

JavaScript Quiz Day-1

Assessment

Quiz

Computers

Professional Development

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?