Search Header Logo

TCS693 FSWD PHP Test 2023

Authored by Dr. Manish Sharma

Computers

University

Used 1+ times

TCS693 FSWD PHP Test 2023
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

54 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which tag is used for php

<?php

?>

<style>

<php ?>

<php

/php>

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are the two types of array in php

Indexed, sequence

Associative, sequence

Indexed, associative

None

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

$a=array("Timmy","Jimmy");

Is an example of

Indexed array

Associative array

Sequence array

None

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In php the keyword to be used before function name is

Function

Static

function

FUNCTION

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

<?php

function add()

{

global $a=10;

echo $a;

}

add();

$a+=10;

?>

Output is

10

15

20

30

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

$a="deepan";

$b="Deepan";

if(strcmp($a,$b))

{

echo "equal";

}

else{

echo " not equal";}

Output is

Equal

Not equal

Error

None

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What type of language is PHP

Client Side

Server Side

Browser Side

Web Side

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?