Search Header Logo

PHP First Internal Practical Viva

Authored by Srijana Shet

Computers

University

Used 6+ times

PHP First Internal Practical Viva
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

OPEN ENDED QUESTION

1 min • Ungraded

Type your full name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

1 min • Ungraded

Type your full Reg No

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

1 min • Ungraded

Type your campus ID

Evaluate responses using AI:

OFF

4.

MULTIPLE CHOICE QUESTION

1 min • Ungraded

Choose your Course (MCA/MSc)

MCA

MSc

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following php statement/statements will store 111 in variable num?

int $num = 111;

int mum = 111;

$num = 111;

111 = $num;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following php code

< ?php

$num = 1;

$num1 = 2;

print $num . "+". $num1 ;

?>

3

1+2

1.+.2

Error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following PHP code?

< ?php

$fruits = array ("mango", "apple", "pear", "peach");

$fruits = array_flip($fruits);

echo ($fruits[0]);

?>

mango

Error

peach

0

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?