logo

Crowdly

Programare Web: Back-end (sem. 6)

Looking for Programare Web: Back-end (sem. 6) test answers and solutions? Browse our comprehensive collection of verified answers for Programare Web: Back-end (sem. 6) at moodle.usm.md.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Analizați codul și scrieți în spațiul liber valoarea expresiei

<?php

function aria_t($b, $h) {

return $b * $h/2;

}

$x = 2;

$y = 6;

echo(aria_t($x, $y));

?>

View this question

Analizați codul și scrieți în spațiul liber valoarea expresiei

<?php

$s = 0; $i = 7;

do {

$s += $i + $i;

$i++;

} while ($i < 21);

echo($s);

?>

View this question

PHP este un limbaj de scripting de uz general, cu cod-sursă deschis.

View this question

Creați o sesiune numită favcolor".

// Create a session variable named "favcolor".

session_start();

["favcolor"] = "green";
View this question

Analizați codul, aflați valoarea expresiei și selectați răspunsul corect

<?php

$num = 789101110187;

echo $num . " ";

echo $num == strrev($num) ? " este palindrom" : " nu este palindrom";

?>

View this question

Care este valoarea lui $b ?

  • $a = 'carte';

    $b = strlen($a)%3;
View this question

Este dată o matrice asociativă. Afișează "age" lui Ben.

Here you see an associative array. Output "age" of Ben.

$age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43");

echo "Ben is " .

. " years old.";
View this question

Metoda POST face ca datele trimise prin formular să fie vizibile în URL

View this question

Tag-ul de închidere al unui bloc de cod PHP implică automat punct și virgulă.

View this question

Un instrument software este utilizat pentru generarea dinamica a conţinutului și pentru interacţiunea cu sursele de date.

View this question

Want instant access to all verified answers on moodle.usm.md?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!