Data Types and Variables

Data Types and Variables

Professional Development

10 Qs

quiz-placeholder

Similar activities

PreTrainingJavaScript

PreTrainingJavaScript

Professional Development

9 Qs

Continuous Professional Development(CPD)

Continuous Professional Development(CPD)

Professional Development

6 Qs

Javascript basics

Javascript basics

Professional Development

15 Qs

Python if statement

Python if statement

Professional Development

10 Qs

[FSW] PRE-Test Chapter 7

[FSW] PRE-Test Chapter 7

12th Grade - Professional Development

15 Qs

Konstrukteur 20210224

Konstrukteur 20210224

Professional Development

10 Qs

DBMS Lab Internal Viva - Jan 2021

DBMS Lab Internal Viva - Jan 2021

Professional Development

15 Qs

Collections, JDBC/RDBMS

Collections, JDBC/RDBMS

Professional Development

10 Qs

Data Types and Variables

Data Types and Variables

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Daniel Adesoji

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following can we use to declare a variable in JS?

const

let

var

all of the options

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following is a primitive data type in JS

object

array

string

function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of a variable in JavaScript if it's not assigned any value?

null

undefined

0

NaN

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all the valid data types in JS

string

boolean

int

char

number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Simi wants to record her age using JS which of the following statement is correct?

let simiAge : 10;

let simiAge = 10;

let simiAge :=10;

let simiAge - 10;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword can we use to check if data type of a value in JS

dataTypeof

typeof

data

type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abraham Morenike wants to separate her name to first name and last name, what string method can she use?

separate()

section()

split()

divide()

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?