Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

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 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;

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M9749885

Have any Question?


Related Questions in Programming Language

Assignment task -q1 a the fibonacci numbers are the numbers

Assignment Task - Q1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Question 1 what is hadoop explaining hadoop 2 what is

Question: 1. What is Hadoop (Explaining Hadoop) ? 2. What is HDFS? 3. What is YARN (Yet Another Resource Negotiator)? The response must be typed, single spaced, must be in times new roman font (size 12) and must follow t ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

Php amp session managment assignment -this assignment looks

PHP & SESSION MANAGMENT ASSIGNMENT - This assignment looks at using PHP for creating cookies and session management. Class Exercise - Web Project: Member Registration/Login This exercise will cover adding data connectivi ...

Assignment - proposal literature review research method1

Assignment - Proposal, Literature Review, Research Method 1. Abstract - Summary of the knowledge gap: problems of the existing research - Aim of the research, summary of what this project is to achieve - Summary of the a ...

Assignmentquestion onegiving the following code snippet

Assignment Question One Giving the following code snippet. What kind of errors you will get and how can you correct it. A. public class HelloJava { public static void main(String args[]) { int x=10; int y=2; System.out.p ...

Overviewthis tasks provides you an opportunity to get

Overview This tasks provides you an opportunity to get feedback on your Learning Summary Report. The Learning Summary Report outlines how the work you have completed demonstrates that you have met all of the unit's learn ...

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As