Search Header Logo

Javascript, HTML & CSS revision

Authored by Ross Phillips

Computers

University

Used 7+ times

Javascript, HTML & CSS revision
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a block-scoped local variable in JavaScript?

var
let
const
function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a constant variable in JavaScript?

var
let
const
static

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a global variable in JavaScript?

let
const
global
var

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the data type 'Primitive Types' represent in JavaScript?

Basic data types
Logical values
Numbers
Textual data

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in JavaScript is used to represent a sequence of characters?

Number
Boolean
String
Object

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a block-scoped local variable in JavaScript, optionally initializing it to a value?

var
let
const
function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a block-scoped, read-only named constant in JavaScript?

var
const
function
let

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?