Pass the CIW Master CIW Enterprise Developer 1D0-437 Questions and answers with CertsForce

Viewing page 2 out of 5 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which of the following is a valid subroutine name?

Options:

A.

_funct7


B.

get-pass


C.

#sub1


D.

@passwd


Expert Solution
Questions # 12:

Assuming $a = 2, which of the following evaluates as false?

Options:

A.

"False"


B.

$a


C.

$a < 0


D.

1


Expert Solution
Questions # 13:

Which of the following correctly creates a SQL statement that will insert the values of the $name and $age variables into a database? The statement is assigned to the $sqlStmt variable. Assume a CHAR data type for $name and an INT data type for $age.

Options:

A.

$sqlStmt = q{INSERT INTO aTable (NAME, AGE) VALUES ($name, $age)};


B.

$sqlStmt = q{INSERT INTO aTable (NAME, AGE) VALUES ($name\, $age)};


C.

$sqlStmt = qq{INSERT INTO aTable (NAME, AGE) VALUES ($name, $age)};


D.

$sqlStmt = qq{INSERT INTO aTable (NAME, AGE) VALUES (\$name\, $age)};


Expert Solution
Questions # 14:

Consider the program code in the attached exhibit. What is the result of executing this program code?

Question # 14
Options:

A.

The code will output the following:

3 + 5 + 2 + 3 = 13


B.

The code will output the following:

= 3 + 5 + 2 + 3 13


C.

The code will output the following:

= 13 3 + 5 + 2 + 3


D.

The code will fail at line 3 because add is a reserved word.


Expert Solution
Questions # 15:

Which of the following choices demonstrates the correct syntax to pass a reference to a subroutine?

Options:

A.

\@array4;


B.

@array4($ref);


C.

getpass(\@array4);


D.

getpass{@array4};


Expert Solution
Questions # 16:

Consider the program code in the attached exhibit. What is the result of executing this program code?

Question # 16
Options:

A.

The code will output the following:

20 100 Apple Grapefruit Orange


B.

The code will output the following:

Apple Grapefruit Orange 20 100


C.

The code will output the following:

100 20 Apple Grapefruit Orange


D.

The code will output the following:

Orange Grapefruit Apple 100 20


Expert Solution
Questions # 17:

In the context of Perl user-defined subroutines, which statement is the most accurate?

Options:

A.

Variables declared using the my keyword are global in scope.


B.

Variables declared using the local keyword are only available to the subroutine from which they are declared.


C.

Variables declared using the my keyword are available to the calling subroutine.


D.

Variable declared using the local keyword are available to subsequently called subroutines.


Expert Solution
Questions # 18:

Which one of the following choices lists only valid expression operators?

Options:

A.

+ - ** //


B.

* ** / //


C.

** / ++ %


D.

*/ % -- **


Expert Solution
Questions # 19:

Which one of the following statements opens a file for appending?

Options:

A.

open(PASSWD, ">/etc/passwd");


B.

open(PASSWD ">/etc/passwd");


C.

open(PASSWD, ">>/etc/passwd");


D.

open(PASSWD "+>/etc/passwd");


Expert Solution
Questions # 20:

Consider the following program code:

if ("Apple" gt "Pear")

{

print("True ");

}

else

{

print("False ");

}

if ("Banana" le "Banana")

{

print("True ");

}

else

{

print("False ");

}

What is the result of executing this program code?

Options:

A.

False False


B.

False True


C.

True False


D.

True True


Expert Solution
Viewing page 2 out of 5 pages
Viewing questions 11-20 out of questions