QUIZ BOARD

Instruction for Competency

This Competency has Only one section , All question are required to answer and then submitted ,after your submition you will see your marks to pass you must have at least 9 of fourteen.

1.Denition of javascript

is a programming language commonly used in web development.
is contains all the HTML HEAD and BODY objects in the tags of an HTM page.
is a programming language that produces software for multiple platforms.

2.which is the best way to link your javascript code and HTML code?

BY using CDN Link
By putting them in one file
BY using concactination

3.How do we declare comment in javascript?

// My name
\\ My name
\\ My name //

4.How do we declare variable in javascript?

variable = 5;
var x = 5;
variable x = 5;

5.How do you add after declation of variables?

var z += x , y;
var +x + y=z;
var z = x + y;

6.what is the name of % in javascript?

percentage
zero divided zero
modulus
7.How do write datatype of string?
var a = kelly ;
var a ="kelly";
var a = "kelly"

8.How do we declare function ?

function myFunction(a; b)
myFuction(a,b)
function myFunction(a,b)

9.how do we declare arrays in javascript?

var cars = ("saab""volovo","Toyoya");
var cars = ["Saab", "Volvo", "BMW"];
cars = ["saab""volovo","Toyoya"];

10.how do we write math rondom ?

Math.random();
var =math.random();
math.Random();

11. What are all the types of Pop up boxes available in JavaScript?

Alert
println
console

12. What is an undefined value in JavaScript mean to you ?

it is data types
Variable used in the code doesn't exist
Variable is not assigned to any value

13. What is === operator?

Alert
Equal
console

14. what is the syntax of if statments in javascript?

if(condtion){code}
if { condtion(code)}
if (condtion){code}else{code}