June's First Quiz

June's First Quiz

1st - 5th Grade

13 Qs

quiz-placeholder

Similar activities

Quiz 1. Data Structures (OSTIM 2022)

Quiz 1. Data Structures (OSTIM 2022)

1st - 12th Grade

12 Qs

JavaScript

JavaScript

1st Grade

10 Qs

Personal Hygiene

Personal Hygiene

3rd - 5th Grade

10 Qs

Repeated addition Arrays

Repeated addition Arrays

1st - 12th Grade

10 Qs

Uses and storage of water

Uses and storage of water

5th Grade

8 Qs

Week 6 Review

Week 6 Review

5th - 8th Grade

15 Qs

Untitled Quiz

Untitled Quiz

2nd Grade

10 Qs

Css Quiz

Css Quiz

1st - 5th Grade

14 Qs

June's First Quiz

June's First Quiz

Assessment

Quiz

Other

1st - 5th Grade

Easy

Created by

Vincent Jonathan

Used 1+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following is the correct way to declare a variable called myAge, that contains a number data type?

let myAge = 23;

let myAge = "23";

myAge = 23;

myAge(23);

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code

let name = "June";

console.log(name[1]);

J

u

undefined

1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code

let name = "June";

console.log(name.length);

The code won't run

June

4

3

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct way to declare an array variable?

let arr = (1, 2, 3);

let arr[1, 2, 3];

let arr = [1, 2, 3];

arr = [1, 2, 3];

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does .push() do in JavaScript?

Inserts an element to the end of an array

Inserts an element to the beginning of an array

Removes the first element from an array

Removes the last element from an array

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does .unshift() do in JavaScript?

Inserts an element to the end of an array

Inserts an element to the beginning of an array

Removes the first element from an array

Removes the last element from an array

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does .pop() do in JavaScript?

Inserts an element to the end of an array

Inserts an element to the beginning of an array

Removes the first element from an array

Removes the last element from an array

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?