Search Header Logo

ITS Boot Camp C2

Authored by Thapelo Sibanda

Computers

University

Used 2+ times

ITS Boot Camp C2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the primitive data types in JavaScript?

String, Number, Boolean, Null, Undefined

Array

Object

Function

2.

MULTIPLE SELECT QUESTION

45 sec • 3 pts

Which keywords are used to declare variables in JavaScript?

function
const
let
var

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of x after executing var x = 10;?

10
5
20
15

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which primitive data type is used to represent a single character, in JavaScript?

int
string
boolean
char

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the third element of an array named arr?

arr[3]
arr(2)
arr.third
arr[2]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add new elements to the end of an array?

concat()
insert()
append()
push()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you find the length of an array?

array.length()

array.size()

array.count()

array.LengthOfArray()

Access all questions and much more by creating a free account

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?