logo

Crowdly

Browser

Add to Chrome

Questions Bank (1385680 total)

In a hydrolysis reaction, __________, and in this process water is __________.

0%
0%
0%
0%
0%
View this question

What is the process by which monomers are linked together to form polymers?

0%
0%
0%
0%
0%
View this question
Where should you aim the nozzle or hose when using a fire extinguisher?
0%
0%
0%
0%
View this question
The first aid kits should be restocked in university laboratories?
0%
0%
0%
0%
View this question
One of the following statements is true about emergency equipment in laboratories:
0%
0%
0%
100%
View this question

The following are possible solutions to answer Question (b). 

(A) Choose ONE of the if-else structure (sample code) below and explain whether it would work without any errors. 

(B) Use the AND operator in the condition and modify the code to display the correct output.

Sample Code 1

if age>=18 and age<=120:

    print('Age should be in the range of 18 to 120.')

else:

     print('You may proceed with the program')

Sample Code 2 

if age <=18 and age >=120:

    print('Age should be in the range of 18 to 120')

else:

    print('You may proceed with the program')

Sample Code 3

if age < 18 and  age > 120:

    print('Age should be in the range of 18 to 120.')

else:

    print('You may proceed with the program')

Sample Code 4 

if age < 18 and  age > 120:

    print('You may proceed with the program')

else:

    print('Age should be in the range of 18 to 120.')

View this question

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

<?php

$s = 0; $i = 10;

do {

$s += $i + $i;

$i++;

} while ($i < 21);

echo($s);

?>

View this question

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

<?php

$s = 0; $i = 20;

do {

$s += $i + $i;

$i++;

} while ($i < 3);

echo($s);

?>

View this question

Dacă formularul din secțiunea de mai jos este trimis, cum puteți, în welcome.php, să scoateți valoarea din câmpul „prenume”?

// If the form in the white section below gets submitted, how can you, in welcome.php, output the value from the "first name" field?

<form action="welcome.php" method="get">

First name: <input type="text" name="fname">

</form>

<html>

<body>

Welcome <?php echo

; ?>

</body>

</html>

View this question

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

<?php

$num = 789101987;

echo $num . " ";

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

?>

0%
0%
View this question