Web Exam 2_jan22

Web Exam 2_jan22

University - Professional Development

15 Qs

quiz-placeholder

Similar activities

MaWD 4.01

MaWD 4.01

KG - University

20 Qs

Basic CSS

Basic CSS

Professional Development

15 Qs

Documente Web. Formatul HTML

Documente Web. Formatul HTML

9th Grade - University

20 Qs

HTML,CSS,SCRIPT QUIZZ

HTML,CSS,SCRIPT QUIZZ

University

18 Qs

php- basics

php- basics

Professional Development

10 Qs

HTML and CSS Review

HTML and CSS Review

3rd Grade - Professional Development

17 Qs

Quiz Pemrog Web

Quiz Pemrog Web

University

20 Qs

HTML podstawy

HTML podstawy

8th Grade - University

17 Qs

Web Exam 2_jan22

Web Exam 2_jan22

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Wafaa Shalash

Used 5+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1.  What will be the output of the following code snippet?

<script type="text/javascript">

a = 9 + "9";

document.write(a);

</script>

Error

18

99

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following keywords is used to define a variable in Javascript?

let

var

const

float

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following HTML attribute is used to define inline styles?

style

script

class

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct way to create a list using the lowercase letters

<ol alpha = "a" >

<ol type = "a">

<ol type = a>

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

var grade='Z';  

var result;  

switch(grade)  

{  

case'A':  

        result+="10";  

case'B':  

        result+=" 9";  

case'C':  

        result+=" 8";  

default:  

        result+=" 0";  

}  

document.write(result);  

10

17

0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following variables takes precedence over the others if the names are the same?

The global variable

The local element

none

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the JavaScript, which one of the following is not considered as an error:

Syntax error

Missing of semicolons

Division by zero

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?