1 which of the following is not true with regards to

Assignment Help Application Programming
Reference no: EM13380269

1. Which of the following is not true with regards to thefollowing statement?

NAME=John+Doe&Serial=123456&System=M

A. Data was collected via an online form from aMacintosh computer.

B. Data was sent to the server when the user pressedthe Submit button.

C. Data was processed by a CGI script.

D. Data was sent to the server using the GET method.

2. A/An _______ is a unique number that distinguishes one scalarvariable from another in an array.

A. array variable C. key

B. primary key D. index

3. In the following expression, what would be used to separate list values?myarrayname = (list)

A. ; C. :

B. , D. |

4. Which of the following marks the beginning of a hash name?

A. @ C. $

B. % D. #

5. Which of the following is not true of scalar variables?

A. In an array, scalar variables are stored in order in the computer's memory.

B. In a hash, scalar variables are stored in order in the computer's memory.

C. A scalar variable contained in a hash starts with a $.

D. Scalar variables are assigned keys when the hash is created in thecomputer's memory.

6. Which of the following statements is not an example of a repetition structure that instructsthe computer to repeat a block of instructions?

A. foreach C. Nested foreach

B. for D. while

7. Which of the following is used by the for statement to keep track of the number of times

the loop instructions have been processed?

A. Repetition variable C. Counter condition

B. Loop variable D. Counter variables

8. Which of the following is used to allow a script to read data stored in a file?

A. < C. >>

B. > D. > and >>

9. Which of the following places an invisible newline character at the end of a record?

A. |n C. \n

B. \t D. n;

10. Which of the following is the angle operator in Perl?

A. {} C. ^^

B. <> D. !?

11. Which of the following syntax statements would write a record to an open file?

A. print filehandle\n;

B. print filehandle data filename\n;

C. print filename data\n;

D. print filehandle data\n;

12. Which of the following occurs if you're writing to a file named "project" and a file named

"project" already exists on your computer?

A. An error message will appear.

B. The file will be erased before the new data is written to the file named "project."

C. Two files named "project" will be saved to your computer.

D. The computer will prompt you for an alternate name for the data to be saved under

because a file named "project" already exists.

13. What will the following statement do?

open(DATA, ">>", "employees.txt");

A. Open the employees.txt file for output and assign the filehandle DATA to the file

B. Open the employees.txt file for input and assign the filehandle DATA to the file

C. Open the employees.txt file for append and assign the filehandle DATA to the file

D. Open the employees.txt file for append and rename the filename to DATA

14. Which of the following would not be an appropriate field separator for the name field

formatted "Doe, John"?

A. : C. ,

B. \t D. &

15. Which of the following is an appropriate example of the close function?

A. close(studentdata) C. close{studentdata}

B. close<studentdata> D. close[studentdata]

16. The values of a list are sorted

A. permanently.

B. in ascending alphabetical order.

C. in descending alphabetical order.

D. temporarily, according to the designated order.

17. Within which of the following is an array's index placed?

A. {} C. ()

B. [] D. <>

18. Which of the following is used to display a message when an error occurs?

A. exit C. abort

B. quit D. die

19. If numeric and string values are assigned to radio buttons in an HTML form, which of the

following is true?

A. The script contains an array.

B. The script contains a hash.

C. The script contains both an array and a hash.

D. The script contains a dynamic Web page.

20. Which of the following is correct?

A. print filehandle data\n; C. print filename data\n;

B. print filehandle, data\n; D. print filename, data;

Reference no: EM13380269

Questions Cloud

Step 1construct a diagram using rationaleto map the : step 1.construct a diagram using rationaleto map the arguments about a moral claim that you have identified in the
Expand your program in part 1 to allow the operand : expand your program in part 1 to allow the operand use the immediate addressing mode. that is the value of
You are required to write a c program to translate lc-3s : you are required to write a c program to translate lc-3s and and add assembly language instructions into machine code.
Taskyou are to plan and then code the next version of the : taskyou are to plan and then code the next version of the cp1200 catering calculator as described in the following
1 which of the following is not true with regards to : 1. which of the following is not true with regards to thefollowing statement?namejohndoeampserial123456ampsystemma.
1 your senior manager catches up with you after your : 1 your senior manager catches up with you after your project status meeting to tell you that your project has been
Create a program which operates as a generic simple json : create a program which operates as a generic simple json parser. simple json is our version of json that only supports
Question 1the management of your employer wants to find out : question 1the management of your employer wants to find out about desktop virtualisation and how it works. they think
Task 1in a public-key system using rsa you intercept the : task 1in a public-key system using rsa you intercept the ciphertext c 13 sent to a user whose public key is e 23 n

Reviews

Write a Review

Application Programming Questions & Answers

  Write two page paper describing xml and json what are they

write two page paper describing xml and json. what are they? why do we need them? are there certain applications that

  Problem statementgiven two integers x and y compute the

problem statementgiven two integers x and y compute the product xy multiplication the quotient xy integer division and

  Homeworkthere are several components to this homework as

homeworkthere are several components to this homework as listed belowa. assuming a distance of 16 mm between the center

  In this lab we will use the uart0 peripheral to communicate

in this lab we will use the uart0 peripheral to communicate with a pc using the rs232c serial protocol. we will

  1 create a multi-view program for the iphonecreate a

1 create a multi-view program for the iphonecreate a program that involves multi-views. the main view should contain a

  Project 1 requirementsnbspthis project requires you to

project 1 requirementsnbspthis project requires you to program a maze-type game using assembly language. it is not

  Write perl program which will run on my system and will

write perl program which will run on my system and will start another perl program on another linux system. the main

  Problemthe manager of the super supermarket would like to

problemthe manager of the super supermarket would like to be able to compute the unit price for products sold there. to

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  One of the problems of storing data in a matrix a

one of the problems of storing data in a matrix a two-dimensional cartesian structure is that if not all of the

  Statistical calculatortask write a windows application in

statistical calculatortask write a windows application in visual basic to perform functions of standard and statistical

  Assessment taskwrite a java application that calculates

assessment taskwrite a java application that calculates and displays the property tax for n property owners. n

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd