ITS Boot Camp C2

ITS Boot Camp C2

University

28 Qs

quiz-placeholder

Similar activities

OOPS REVISION

OOPS REVISION

University

28 Qs

Neo Coding Round 1 Set 4

Neo Coding Round 1 Set 4

University

25 Qs

DSA - Q1

DSA - Q1

University

25 Qs

C Programing

C Programing

University

25 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

Java Method

Java Method

University

25 Qs

Javascript Quiz

Javascript Quiz

University

30 Qs

More on JavaScript 2

More on JavaScript 2

University

25 Qs

ITS Boot Camp C2

ITS Boot Camp C2

Assessment

Passage

Computers

University

Medium

Created by

Thapelo Sibanda

Used 2+ times

FREE Resource

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()

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?