ITS Boot Camp C2

ITS Boot Camp C2

University

28 Qs

quiz-placeholder

Similar activities

python_quiz

python_quiz

University

25 Qs

CS 211 - Midterm Review

CS 211 - Midterm Review

University

30 Qs

OOPS REVISION

OOPS REVISION

University

28 Qs

C Programing

C Programing

University

25 Qs

Code Twisters Round One Batch -1

Code Twisters Round One Batch -1

University

30 Qs

DSA - Q1

DSA - Q1

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?