RMM | Javascript (20th March 2020)

RMM | Javascript (20th March 2020)

Professional Development

8 Qs

quiz-placeholder

Similar activities

Java Collections

Java Collections

Professional Development

10 Qs

C++ Pointers and Arrays

C++ Pointers and Arrays

University - Professional Development

10 Qs

NumPy

NumPy

Professional Development

10 Qs

CIT JULY 2022

CIT JULY 2022

Professional Development

10 Qs

computer science quiz

computer science quiz

KG - Professional Development

10 Qs

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

Java SE: Programming I

Java SE: Programming I

Professional Development

10 Qs

Mid2 Lab Internal PPS

Mid2 Lab Internal PPS

Professional Development

10 Qs

RMM | Javascript (20th March 2020)

RMM | Javascript (20th March 2020)

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Ambarine Auckloo

Used 21+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does Javascript do?

Specify the layout of the webpages

Define the function of the webpage

Define the content of the workbook

I don’t know :(

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How would you define a variable called steps with a value of 20?

var steps= 20;

steps=20;

Steps=20;

variable steps=20;

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

If we have an array called “numbers” which contain [39,20,40,99,30], what syntax should you write to obtain the value 40?

numbers[2]

Numbers[1]

numbers(2)

numbers[3]

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you obtain the length of an array called “cards” which contain [“hearts”,spades”,”clubs”,”diamonds”] ?

cards.length

Cards.length

Cards,length

cards.Length

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If you have an array : "things" =[“pen”,”shorts”,”sofa”,”bed”,”table”].

How will you create a new array called "specialthings" containing only bed, table and sofa?

specialthings(bed,table,sofa);

specialthings.push(things[3],things[things.length-1],things[2]);

things.push(things[3],things[things.length-1],things[2]);

things.push(things[0],things[1],things[2])

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

This is a for loop that let variable i count from 0 to 200 in increments of 3.Rearrange the code in such a way that it works.

4,6,5,1,3,2,8,7

4,5,6,7,1,2,8,3

5,6,7,8,1,2,3,4

3,5,7,1,2,4,5,8

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

How many mistake are there in this code snippet?

1

2

3

4

8.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What do these symbols mean (>, !=, || ) ?

Lesser than, equal, and

Greater than, not equal, or

Lesser than or equal to, and, or

Null, not equal, and