Javascript HTML CSS

Javascript HTML CSS

Professional Development

13 Qs

quiz-placeholder

Similar activities

CSS basics

CSS basics

Professional Development

15 Qs

Basic CSS

Basic CSS

Professional Development

15 Qs

JavaScript

JavaScript

Professional Development

11 Qs

php- basics

php- basics

Professional Development

10 Qs

HTML Quizs

HTML Quizs

Professional Development

16 Qs

HTML Basics

HTML Basics

Professional Development

15 Qs

Module 2

Module 2

University - Professional Development

10 Qs

HTML Basics

HTML Basics

Professional Development

15 Qs

Javascript HTML CSS

Javascript HTML CSS

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Rony De Sousa

Used 75+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The output of the below code is:


<p id="demo"></p>


<script>

var text = "";

var i;

for (i = 0; i < 5; i++) {

text += "The number is " + i + "<br>";

}

document.getElementById("demo").innerHTML = text;

</script>

The number is 0

The number is 1

The number is 2

The number is 3

The number is 4

The number is 5

The number is 0

The number is 1

The number is 2

The number is 3

The number is 4

The number is 1

The number is 2

The number is 3

The number is 4

The number is 5

Why is that person using "var"???

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between == and ===?

The === operator compares two values, without taking into account their types. == compares the values, but also makes their types into account.

Do I really need to reply this?

The == operator compares two values, without taking into account their types. === compares the values, but also makes their types into account.

The == operator is used to assign a value to a variable. === is used to compare the values of two variables.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the DOM?

Is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types

Is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript

Is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable

The Document Object Model is a cross-platform and language-independent interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the Javascript data types?

There are seven data types: Boolean, Null, Undefined, Number, String, Symbol, Object.

There are eighth data types: Boolean, Null, Undefined, Number, String, Symbol, Object, Date.

There are nine data types: Boolean, Null, Undefined, Number, String, Symbol, Object, Date, JSON.

Sorry, what do you mean by data type?

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the pop-up boxes types available in JavaScript?

Alert, Redirect and Prompt

Alert, Confirm and Prompt

Nice try, a pop-up can be done only using jquery or a similar library

Alert, Confirm, Redirect and Prompt

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which image best describes the meaning of null and undefined?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are HTML Tags?

HTML tags are composed of three things: an opening tag, content and ending tag. Some tags are unclosed tags.

HTML tags are composed of three things: an opening tag, content and ending tag. All tags need to be closed.

HTML tags define metadata about an HTML document. Metadata is data (information) about data.

I didn't know that I was supposed to be studying

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?