Search Header Logo

B-DIV

Authored by jaya mulimani

Computers

University

B-DIV
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is known as the father of PHP?

Drek Kolkevi

  1. List Barely

  1. Rasmus Lerdrof

  1. None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to create an array in PHP?

  1. $season = array("summer" , "winter" , "spring" , "autumn");

           $season = array["summer" , "winter" , "spring" , "autumn"];

  1. $season = "summer" , "winter" , "spring" , "autumn";

  1. All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<?php

function Increment()

static $num = 0;

  print "$num";

 $num++;

}

 

Icrement();

Increment();

Increment();

?>

E.    

000 

111

011 

012

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

DOM stands for:

Document object Manipulation

Document object mail

Document object Method

Document object model

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to access an element in HTML DOM ?

document.getElementById

document.write

Response.write

Request.write

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to create a hyperlink in HTML?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of following script

<script>

    var cars1 = ['Honda', 'Hyundai'];

    var cars2 = cars1;

   

    cars1.push('Mahinda');

  

    document.write(cars1 + "---" + cars2);

</script>

  Honda,Hyundai,Mahinda---Honda,Hyundai

Honda,Hyundai,Mahinda---Honda,Hyundai,Mahinda

Honda,Hyundai ---Honda,Hyundai

  [Honda,Hyundai,Mahinda]---[Honda,Hyundai,Mahinda]

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?