Web Development College Quiz 6

Question 1

What will be printed?

1
2
3
$var=a;
$VAR=b;
echo $var$VAR;

Select one:

  • a. aA
  • b. aa
  • c. bB
  • d. ab

The correct answer is: ab


Question 2

What will this code display?

1
2
3
4
5
6
7
8
<?php
    $a = 1;
    function Test()
    {
        echo "a = $a";
    }
    Test();
?>

Select one:

  • a. 1
  • b. 3
  • c. Warning or no value
  • d. An error

The correct answer is: Warning or no value


Question 3

How do you join strings in PHP?

Select one:

  • a. $m = “aa” + “bb”;
  • b. $m = “aa” join “bb”;
  • c. $m = “aa”.”bb”;
  • d. $m = join(“aa”,”bb”);

The correct answer is: $m = “aa”.”bb”;


Question 4

What will be displayed by this code?

1
2
3
4
5
6
7
<?php      
function TEST()     
 {         
     ECHO "HELLO WORLD!\n";  
 }
     test();
 ?>

Select one:

  • a. Nothing
  • b. test()
  • c. Blinking text
  • d. HELLO WORLD!

The correct answer is: HELLO WORLD!


Question 5

What is an example of an open source shopping cart PHP application?

Select one:

  • a. Amazon
  • b. Facebook
  • c. osCommerce
  • d. ShopNow

The correct answer is: osCommerce


Question 6

What will the value of $x be at the end of this script?

1
2
3
4
5
6
<?PHP
$x=0;
$x=$x+1;
echo $x. value”;
$x++;
?>

Select one:

  • a. 1
  • b. 2
  • c. 3
  • d. There will be an error

The correct answer is: 2


Question 7

The basic Joomla element is:

Select one:

  • a. a node
  • b. a component
  • c. user permissions
  • d. data

The correct answer is: a component


Question 8

Which extensions aren't available in used Joomla?

Select one:

  • a. Features module
  • b. Plugins
  • c. Components
  • d. Modules

The correct answer is: Features module


Question 9

What are plugins in Joomla?

Select one:

  • a. Extensions
  • b. Components
  • c. Features
  • d. Modules

The correct answer is: Extensions


Question 10

Joomla API stands for:

Select one:

  • a. At Program Interface
  • b. Application Programming Interface
  • c. All Programming Initiatives
  • d. Application Primary Incentive

The correct answer is: Application Programming Interface


Question 11

What is a current version of Joomla?

Select one:

  • a. 4.x
  • b. 3.9.16
  • c. 5.1
  • d. 2.3.5

The correct answer is: 3.9.16


Question 12

True or False: Joomla modules cannot be edited after update to 3.6.3

Select one:

  • True
  • False

The correct answer is 'True'.


Question 13

True or False: Joomla modules support collaboration over competition.

Select one:

  • True
  • False

The correct answer is 'True'.


Question 14

True or False: Joomla allows multilingual support.

Select one:

  • True
  • False

The correct answer is 'True'.


Question 15

What license is expected for contributed modules in used Joomla?

Select one:

  • a. Apache
  • b. GPL
  • c. PHP
  • d. Commercial

The correct answer is: GPL

Related Posts

0 Comments

12345

    00